File tree 3 files changed +26
-13
lines changed
bootstrap3-jinja/templates
3 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 14
14
</ul>
15
15
{% endif %}
16
16
{% if code %}
17
+ <h1>{{ title }}
18
+ {% if source_link %}
19
+ <small><a href="{{ source_link }}">({{ messages("Source") }})</a></small>
20
+ {% endif %}
21
+ </h1>
17
22
{{ code }}
18
23
{% endif %}
19
- {% if source_link %}
20
- <p class="sourceline"><a href="{{ source_link }}" id="sourcelink">{{ messages("Source") }}</a></p>
21
- {% endif %}
22
24
{% endblock %}
23
25
26
+
Original file line number Diff line number Diff line change 2
2
{% extends 'index.tmpl' %}
3
3
4
4
{% block content_header %}
5
- {% if subcategories %}
6
- {{ messages('Subcategories:') }}
7
- <ul>
8
- {% for name, link in subcategories %}
9
- <li><a href="{{ link }}">{{ name|e }}</a></li>
10
- {% endfor %}
11
- </ul>
12
- {% endif %}
5
+ <header>
6
+ <h1>{{ title|e }}</h1>
7
+ {% if description %}
8
+ <p>{{ description }}</p>
9
+ {% endif %}
10
+ {% if subcategories %}
11
+ {{ messages('Subcategories:') }}
12
+ <ul>
13
+ {% for name, link in subcategories %}
14
+ <li><a href="{{ link }}">{{ name|e }}</a></li>
15
+ {% endfor %}
16
+ </ul>
17
+ {% endif %}
18
+ </header>
13
19
{% endblock %}
14
20
15
21
{% block extra_head %}
Original file line number Diff line number Diff line change 1
1
{# -*- coding: utf-8 -*- #}
2
2
{% extends 'base.tmpl' %}
3
3
{% import 'crumbs.tmpl' as ui with context %}
4
-
5
4
{% block content %}
6
5
{{ ui.bar(crumbs) }}
7
6
{% if folders or files %}
8
- <ul class="list-unstyled" >
7
+ <ul>
9
8
{% for name in folders %}
10
9
<li><a href="{{ name|urlencode }}"><i class="glyphicon glyphicon-folder-open"></i> {{ name|e }}</a>
11
10
{% endfor %}
15
14
</ul>
16
15
{% endif %}
17
16
{% if code %}
17
+ <h1>{{ title }}
18
+ {% if source_link %}
19
+ <small><a href="{{ source_link }}">({{ messages("Source") }})</a></small>
20
+ {% endif %}
21
+ </h1>
18
22
{{ code }}
19
23
{% endif %}
20
24
{% endblock %}
You can’t perform that action at this time.
0 commit comments