Commits

Stefan Scherfke committed e876d5e

Some template changes. Please check your styles sheets for the pagination.

  • Participants
  • Parent commits 1f89973

Comments (0)

Files changed (2)

File sphinxdoc/templates/sphinxdoc/documentation.html

 
 {% block content %}
 <div class="pagination-top">
-    » <a href="{{ project.get_absolute_url }}">{{ project.name }} documentation</a>
+    <div class="breadcrumbs">
+		» <a href="{{ project.get_absolute_url }}">
+			{{ project.name }} documentation</a>
     {% for p in doc.parents %}
-    » <a href="{{ p.link }}">{{ p.title|safe }}</a>
+    	» <a href="{{ p.link }}">{{ p.title|safe }}</a>
     {% endfor %}
-    » {{ doc.title|safe }}
+    	» {{ doc.title|safe }}
+	</div>
     {% if doc.prev or doc.next %}
-    <br /><br />
-    <span class="left">
+    <span class="alignleft">
         {% if doc.prev %}
           Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
-        {% endif %}</span><span class="right">
+        {% endif %}</span>
+	<span class="alignright">
         {% if doc.next %}
           Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
-        {% endif %}</span>
+        {% endif %}</span><div class="clearboth">.</div>
     {% endif %}
 </div>
 
 
 <div class="pagination-bottom">
     {% if doc.prev or doc.next %}
-    <span class="left">
+    <span class="alignleft">
         {% if doc.prev %}
           Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a>
-        {% endif %}</span><span class="right">
+        {% endif %}</span>
+	<span class="alignright">
         {% if doc.next %}
           Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a>
-        {% endif %}</span>
-    <br /><br />
+        {% endif %}</span><div class="clearboth">.</div>
     {% endif %}
-    » <a href="{{ project.get_absolute_url }}">{{ project.name }} documentation</a>
+	<div class="breadcrumbs">
+    	» <a href="{{ project.get_absolute_url }}">{{ project.name }} documentation</a>
     {% for p in doc.parents %}
-    » <a href="{{ p.link }}">{{ p.title|safe }}</a>
+    	» <a href="{{ p.link }}">{{ p.title|safe }}</a>
     {% endfor %}
-    » {{ doc.title|safe }}
-    <br /><br />
-    Last update: {{ update_date|date:"Y-m-d H:i" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=37">CET</a>)
+    	» {{ doc.title|safe }}
+	</div>
+	<div class="meta">
+    	Last update: {{ update_date|date:"Y-m-d H:i" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=37">CET</a>)
+	</div>
 </div>
 {% endblock content %}
 

File sphinxdoc/templates/sphinxdoc/search.html

 {% extends 'sphinxdoc/documentation.html' %}
 
 {% block doc_body %}
-<h2 class="pagetitle">Search results: {{ page.object_list|length }}</h2>
+<h2>Search results: {{ page.object_list|length }}</h2>
 <div class="section">
     {% if query %}
     <ul>