diff options
author | Derek Jones <derek.jones@ellislab.com> | 2011-10-10 23:26:27 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2011-10-10 23:26:27 +0200 |
commit | 619b122cc8c213df558838ce9cc1c157a85a65b6 (patch) | |
tree | 346c13c7ec5989787bef1fccdc19ce71736fe50d /user_guide_src/source/_themes | |
parent | f769ec13d483347d1ad99d406384549055ca09d5 (diff) |
incremental improvement to user guide ToC
Diffstat (limited to 'user_guide_src/source/_themes')
-rw-r--r-- | user_guide_src/source/_themes/eldocs/layout.html | 11 | ||||
-rw-r--r-- | user_guide_src/source/_themes/eldocs/static/asset/css/common.css | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/user_guide_src/source/_themes/eldocs/layout.html b/user_guide_src/source/_themes/eldocs/layout.html index 4e083a1d3..ce54fa7ae 100644 --- a/user_guide_src/source/_themes/eldocs/layout.html +++ b/user_guide_src/source/_themes/eldocs/layout.html @@ -124,7 +124,16 @@ {%- block footer %} <div id="footer"> - <p class="top"><a href="#header" title="Return to top">Return to top</a></p> + + <p class="top"> + {% if prev %} + <span class="prev">Previous Topic: <a href="{{ prev.link }}">{{ prev.title }}</a></span> + {% endif %} + {% if next %} + <span class="next">Next Topic: <a href="{{ next.link }}">{{ next.title }}</a></span> + {% endif %} + <a href="#header" title="Return to top">Return to top</a> + </p> <p><a href="{{ project_url }}">{{ project }}</a> – Copyright © {{ copyright }}</a></p> </div><!-- /#footer --> {%- endblock %} diff --git a/user_guide_src/source/_themes/eldocs/static/asset/css/common.css b/user_guide_src/source/_themes/eldocs/static/asset/css/common.css index c216c3666..28182a162 100644 --- a/user_guide_src/source/_themes/eldocs/static/asset/css/common.css +++ b/user_guide_src/source/_themes/eldocs/static/asset/css/common.css @@ -119,6 +119,8 @@ img{ display: block; max-width: 100%; } fieldset{ border: 0; } .top{ float: right; } +.next{ padding: 0 20px 0 10px; } +.prev{ padding-right: 10px; } .highlight-ci, .highlight-ee, |