~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/sphinxdoc/documentation.html

  • Committer: Holger Rapp
  • Date: 2012-09-01 16:11:57 UTC
  • mfrom: (325.1.23 development)
  • Revision ID: sirver@gmx.de-20120901161157-nm7xupfhd2jlpypg
Merged Shevonars amazing work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends 'sphinxdoc/base.html' %}
2
2
 
 
3
{% block title %}
 
4
{{ app.name }} - {{ block.super }}
 
5
{% endblock %}
 
6
 
3
7
{% 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>)
 
8
<h1>Documentation: {{ app.name }}</h1>
 
9
<div class="blogEntry">
 
10
        <a href="/docs/">Documentation</a> 
 
11
        » <a href="{{ app.get_absolute_url }}">{{ app.name }}</a>
 
12
        {% for p in doc.parents %}
 
13
        » <a href="{{ p.link }}">{{ p.title|safe }}</a>
 
14
        {% endfor %}
 
15
        » {{ doc.title|safe }}
 
16
        {% if doc.prev or doc.next %}
 
17
        <br /><br />
 
18
        <div class="posLeft">
 
19
                {% if doc.prev %}
 
20
                Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
 
21
                {% endif %}
 
22
        </div>
 
23
        <div class="posRight">
 
24
                {% if doc.next %}
 
25
                Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
 
26
                {% endif %}
 
27
        </div>
 
28
        {% endif %}
 
29
 
 
30
        <br /><br />
 
31
 
 
32
        <div class="sphinx">
 
33
                {% block doc_body %}
 
34
                {{ doc.body|safe }}    
 
35
                {% endblock %}
 
36
        </div>
 
37
 
 
38
        <br />
 
39
 
 
40
        <div class="pagination-bottom">
 
41
                {% if doc.prev or doc.next %}
 
42
                <div class="posLeft">
 
43
                        {% if doc.prev %}
 
44
                        Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
 
45
                        {% endif %}
 
46
                </div>
 
47
                <div class="posRight">
 
48
                        {% if doc.next %}
 
49
                        Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
 
50
                        {% endif %}
 
51
                </div>
 
52
                <br />
 
53
                {% endif %}
 
54
                <hr />
 
55
                <span class="small">Last update: {{ update_date|date:"Y-m-d H:i" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=37">CET</a>)</span>
 
56
        </div>
46
57
</div>
47
58
{% 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 %}