Debian Codegraph @

kapidox/data/templates/frontpage.html

raw
1 {% extends "base.html" %}
2
3 {% block page_title %}{{title}}{% endblock %}
4
5 {% block head %}
6 <script type="text/javascript" src="{{resources}}/notetip.js"></script>
7 <script type="text/javascript" src="{{resources}}/frameworks.js"></script>
8 <link rel="stylesheet" type="text/css" href="{{resources}}/frameworks.css" />
9 <script>
10 $(document).ready(main);
11 </script>
12 {% endblock %}
13
14 {% block title %}
15 KDE Products
16 {% endblock %}
17
18 {% block content %}
19 <div class="textblock">
20 {% for para in intro %}
21 <p>{{ para }}</p>
22 {% endfor %}
23 </div>
24
25 <section class="products px-0">
26 {% for product in product_list %}
27 <div class="product my-3 ae-card p-4">
28 <h2 class="h2 mt-0 mb-3 d-flex">
29 <a name="prod-{{ product.name }}" href="{{ product.href }}">{{ product.fancyname }}</a>
30 {% if qch or man %}
31 <p class="prod-download ml-auto h6">
32 {% if qch %} [<a href="qch/{{product.name}}.qch">QCH file</a>]{% endif %}
33 {% if man %} <a href="qch/{{product.name}}.man">MAN</a>{% endif %}
34 </p>
35 {% endif %}
36 </h2>
37 <div class="d-flex">
38 <img src="{% if product.logo_url %} {{ product.logo_url }} {% else %}{{resources}}/default_product.png{% endif %}"
39 style="min-width:80px; width: 80px;" class="align-self-start my-0 mr-4" />
40 <div>
41 <p>{{ product.description }}</p>
42 <div>
43 <b>Maintainer{% if product.maintainers | length > 1 %}s{% endif %}:</b>
44 {% for maintainer in product.maintainers %}
45 <a href="mailto:{{ maintainer.email }}">{{ maintainer.name }}</a>
46 {% if not loop.last %},{% endif %}
47 {% else %}
48 <a href="mailto:[email protected]">The KDE Community</a>
49 {% endfor %}
50 </div>
51 {% if product.platforms %}
52 <p>
53 <b>Platform{% if product.platforms | length > 1 %}s{% endif %}:</b> {{ product.platforms | sort | join(' | ') }}
54 </p>
55 {% endif %}
56 </div>
57 </div>
58 </div>
59 {% endfor %}
60 </section>
61 {% endblock content %}
62
63 {% block sidebar %}
64 {% include "frontpage-sidebar.html" %}
65 {% endblock %}