make offering more clear
This commit is contained in:
parent
896f37d97f
commit
a5fde42132
2 changed files with 21 additions and 6 deletions
BIN
hub/services/static/img/vshn-logo-wide.png
Normal file
BIN
hub/services/static/img/vshn-logo-wide.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 108 KiB |
|
@ -1,4 +1,5 @@
|
|||
{% extends 'services/base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{{ offering.service.name }} on {{ offering.cloud_provider.name }}{% endblock %}
|
||||
|
||||
|
@ -30,6 +31,20 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="mb-40">
|
||||
<h3 class="fw-semibold mb-12">Managed by</h3>
|
||||
<a href="https://www.vshn.ch/" target="_blank">
|
||||
<img class="img-fluid" src="{% static "img/vshn-logo-wide.png" %}" alt="VSHN logo" style="max-height: 40px;">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="mb-40">
|
||||
<h3 class="fw-semibold mb-12">Runs on</h3>
|
||||
<a href="{{ offering.cloud_provider.get_absolute_url }}">
|
||||
<img class="img-fluid" src="{{ offering.cloud_provider.logo.url }}" alt="{{ offering.cloud_provider.name }} logo" style="max-height: 40px;">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- External Links for Offering -->
|
||||
{% if offering.external_links.exists %}
|
||||
<div class="mb-40">
|
||||
|
@ -56,6 +71,7 @@
|
|||
{% if offering.service.consulting_partners.exists %}
|
||||
<div class="mb-40">
|
||||
<h3 class="fw-semibold mb-12">Consulting Partners</h3>
|
||||
<p>Our trusted consulting partners can help you using this service</p>
|
||||
<ul class="list-unstyled space-y-12 fs-19 ps-0">
|
||||
{% for partner in offering.service.consulting_partners.all %}
|
||||
<li>
|
||||
|
@ -81,22 +97,21 @@
|
|||
<!-- Header -->
|
||||
<div class="pt-60 pb-lg-60 w-lg-70">
|
||||
<header>
|
||||
{% if offering.cloud_provider.logo %}
|
||||
<p class="mb-6"><a href="{{ offering.cloud_provider.get_absolute_url }}">
|
||||
<img class="img-fluid" src="{{ offering.cloud_provider.logo.url }}"
|
||||
alt="{{ offering.cloud_provider.name }} logo" style="max-height: 40px;"></a>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h2 class="fs-50 fw-semibold lh-1 mb-12"><a href="{{ offering.service.get_absolute_url }}" class="text-decoration-none">{{ offering.service.name }}</a></h2>
|
||||
</header>
|
||||
<div class="fs-19 text-gray-500">
|
||||
{% for category in offering.service.categories.all %}
|
||||
<button class="btn btn-tertiary btn-sm mr-12">{{ category.full_path }}</button>
|
||||
{% endfor %}
|
||||
<button class="btn btn-tertiary btn-sm mr-12">Managed by VSHN</button>
|
||||
<button class="btn btn-tertiary btn-sm mr-12">Running on {{ offering.cloud_provider.name }}</button>
|
||||
</div>
|
||||
|
||||
{% if offering.short_description %}
|
||||
<div class="fs-19 text-gray-500">
|
||||
{{ offering.short_description|safe }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Service Description -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue