summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--htdocs/css/style.css9
-rw-r--r--templates/base.html38
2 files changed, 31 insertions, 16 deletions
diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index 943e39d..81950ab 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -49,6 +49,8 @@ body {
}
#nav {
+ float: left
+ width: 100%;
background: #e8e8e8;
border-bottom: 0.2em solid #786fb4;
font-size: 90%;
@@ -59,6 +61,13 @@ body {
text-decoration: underline;
}
+#navleft {
+ float: left;
+}
+
+#navright {
+ float: right;
+}
#content {
padding: 1em;
diff --git a/templates/base.html b/templates/base.html
index 896b939..048d052 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -38,23 +38,29 @@
<div style="clear: both;"></div>
</div>
<div id="nav">
- {% if project %}
- <strong>Project</strong>: {{ project.linkname }}
- :
- <a href="{% url patchwork.views.patch.list project_id=project.linkname %}"
- >patches</a>
- :
- <a href="{% url patchwork.views.project project_id=project.linkname %}"
- >project info</a>
- {% if other_projects %}
- :
- <a href="{% url patchwork.views.projects %}"
- >other projects</a>
+ <div id="navleft">
+ {% if project %}
+ <strong>Project</strong>: {{ project.linkname }}
+ :
+ <a href="{% url patchwork.views.patch.list project_id=project.linkname %}"
+ >patches</a>
+ :
+ <a href="{% url patchwork.views.project project_id=project.linkname %}"
+ >project info</a>
+ {% if other_projects %}
+ :
+ <a href="{% url patchwork.views.projects %}"
+ >other projects</a>
+ {% endif %}
+ {% else %}
+ <a href="{% url patchwork.views.projects %}"
+ >project list</a>
{% endif %}
- {% else %}
- <a href="{% url patchwork.views.projects %}"
- >project list</a>
- {% endif %}
+ </div>
+ <div id="navright">
+ <a href="{% url patchwork.views.help path="about/" %}">about</a>
+ </div>
+ <div style="clear: both"></div>
</div>
{% if messages %}
<div id="messages">