diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-09-23 21:55:39 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-09-23 21:55:39 +1000 |
commit | ab38ae0d653da2b27f6060347c40ade2ae65616f (patch) | |
tree | 3aab4fb82821898d7a5c62487973cddfbbc1879e | |
parent | 8b561c3a68dfc44a369e6e5cb4f1c3c4cd4e67a3 (diff) | |
download | patchwork-ab38ae0d653da2b27f6060347c40ade2ae65616f.tar patchwork-ab38ae0d653da2b27f6060347c40ade2ae65616f.tar.gz |
[html] Reinstate 'about' link
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | htdocs/css/style.css | 9 | ||||
-rw-r--r-- | templates/base.html | 38 |
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"> |