summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorIsmael Carnales <icarnales@gmail.com>2009-11-13 01:11:50 +0100
committerDan McGee <dan@archlinux.org>2010-01-30 21:42:38 +0100
commit5faf656630afc13794b283a27a6a57dcf2b8ab0a (patch)
tree66535edfe1da24eed22d4a87d6b583da878aee97 /templates
parent8ffc8fc63d32162ad9d0f2dd1cf3cf8d9a37f0d0 (diff)
downloadarchweb-5faf656630afc13794b283a27a6a57dcf2b8ab0a.tar.gz
archweb-5faf656630afc13794b283a27a6a57dcf2b8ab0a.tar.xz
Modify menu items order to be from top to bottom
The menu was rendered bottom to top in the html because the elements were floated to the right. This caused text browsers visitors (no CSS rendering) to see the menu backwards. I've modified the menu order and made the items float to the left so the menu is correctly rendered in text browsers. Signed-off-by: Ismael Carnales <icarnales@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html
index b9cdb6d..968f717 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -17,12 +17,12 @@
<div id="main_nav">
{% block topmenu %}
<ul>
- <li{% ifequal path '/download/' %} class="selected"{% endifequal %}><a href="/download/">Download</a></li>
- <li><a href="http://aur.archlinux.org/">AUR</a></li>
- <li><a href="http://bugs.archlinux.org/">Bugs</a></li>
- <li><a href="http://wiki.archlinux.org/">Wiki</a></li>
- <li><a href="http://bbs.archlinux.org/">Forums</a></li>
<li{% ifnotequal path '/download/' %} class="selected"{% endifnotequal %}><a href="/">Home</a></li>
+ <li><a href="http://bbs.archlinux.org/">Forums</a></li>
+ <li><a href="http://wiki.archlinux.org/">Wiki</a></li>
+ <li><a href="http://bugs.archlinux.org/">Bugs</a></li>
+ <li><a href="http://aur.archlinux.org/">AUR</a></li>
+ <li{% ifequal path '/download/' %} class="selected"{% endifequal %}><a href="/download/">Download</a></li>
</ul>
{% endblock %}
</div>