Mercurial > trustbridge
annotate manuals/theme/better/relbar.html @ 1016:b4094dc55217
Yet another release without a dedicated test server.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 02 Sep 2014 15:30:28 +0200 |
parents | 519b14c5260d |
children |
rev | line source |
---|---|
934
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
1 {%- macro rellink_markup() %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
2 <nav id="rellinks"> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
3 <ul> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
4 {%- if prev %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
5 <li> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
6 ← |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
7 <a href="{{ prev.link|e }}" title="Previous document">{{ prev.title }}</a> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
8 </li> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
9 {%- endif %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
10 {%- if next %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
11 <li> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
12 <a href="{{ next.link|e }}" title="Next document">{{ next.title }}</a> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
13 → |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
14 </li> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
15 {%- endif %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
16 </ul> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
17 </nav> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
18 {%- endmacro %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
19 |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
20 {%- macro breadcrumbs_markup() %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
21 <nav id="breadcrumbs"> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
22 <ul> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
23 {%- block rootrellink %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
24 <li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></li> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
25 {%- endblock %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
26 {%- for parent in parents %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
27 <li> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
28 <a href="{{ parent.link|e }}">{{ parent.title }}</a> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
29 </li> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
30 {%- endfor %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
31 {%- block relbaritems %} {% endblock %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
32 </ul> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
33 </nav> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
34 {%- endmacro %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
35 |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
36 {%- macro relbar_top() %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
37 {%- if theme_showrelbartop|tobool %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
38 <div class="related top"> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
39 {{- rellink_markup () }} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
40 {{- breadcrumbs_markup() }} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
41 </div> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
42 {%- endif %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
43 {%- endmacro %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
44 |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
45 {%- macro relbar_bottom() %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
46 {%- if theme_showrelbarbottom|tobool %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
47 <div class="related bottom"> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
48 {{- rellink_markup () }} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
49 {{- breadcrumbs_markup() }} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
50 </div> |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
51 {%- endif %} |
519b14c5260d
(issue89) Add sphinx better theme
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
52 {%- endmacro %} |