Commits

Stefan Scherfke committed e876d5e

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

Comments (0)

Files changed (2)

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 %}
 

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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.