~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/sphinxdoc/documentation.html

  • Committer: Holger Rapp
  • Date: 2010-01-01 21:35:23 UTC
  • mto: (173.3.2 widelands)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: rapp@mrt.uka.de-20100101213523-53rcapbemm69ep6u
Made the site compatible to django 1.1 and all the various packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends 'sphinxdoc/base.html' %}
2
 
 
3
 
{% block content %}
4
 
<div class="pagination-top">
5
 
    » <a href="{{ app.get_absolute_url }}">{{ app.name }}</a>
6
 
    {% for p in doc.parents %}
7
 
    » <a href="{{ p.link }}">{{ p.title|safe }}</a>
8
 
    {% endfor %}
9
 
    » {{ doc.title|safe }}
10
 
    {% if doc.prev or doc.next %}
11
 
    <br /><br />
12
 
    <span class="left">
13
 
        {% if doc.prev %}
14
 
          Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
15
 
        {% endif %}</span><span class="right">
16
 
        {% if doc.next %}
17
 
          Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
18
 
        {% endif %}</span>
19
 
    {% endif %}
20
 
</div>
21
 
 
22
 
<div class="sphinx">
23
 
    {% block doc_body %}
24
 
    {{ doc.body|safe }}    
25
 
    {% endblock %}
26
 
</div>
27
 
 
28
 
<div class="pagination-bottom">
29
 
    {% if doc.prev or doc.next %}
30
 
    <span class="left">
31
 
        {% if doc.prev %}
32
 
          Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
33
 
        {% endif %}</span><span class="right">
34
 
        {% if doc.next %}
35
 
          Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
36
 
        {% endif %}</span>
37
 
    <br /><br />
38
 
    {% endif %}
39
 
    » <a href="{{ app.get_absolute_url }}">{{ app.name }} documentation</a>
40
 
    {% for p in doc.parents %}
41
 
    » <a href="{{ p.link }}">{{ p.title|safe }}</a>
42
 
    {% endfor %}
43
 
    » {{ doc.title|safe }}
44
 
    <br /><br />
45
 
    Last update: {{ update_date|date:"Y-m-d H:i" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=37">CET</a>)
46
 
</div>
47
 
{% endblock content %}
48
 
 
49
 
{% block sidebar %}
50
 
    {% block doc_toc %}
51
 
<div class="box">
52
 
    <h2>Contents</h2>
53
 
    {{ doc.toc|safe }}
54
 
</div>
55
 
    {% endblock %}
56
 
<div class="box">
57
 
    <h2>Search</h2>
58
 
    <em>Not yet implemented</em>
59
 
    {# {% load docs %} #}
60
 
    {# {% search_form %} #}
61
 
</div>
62
 
    {{ block.super }}
63
 
{% endblock sidebar %}