summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html13
-rw-r--r--templates/packages/details.html1
-rw-r--r--templates/packages/files.html1
-rw-r--r--templates/packages/flag.html1
-rw-r--r--templates/packages/flagged.html1
-rw-r--r--templates/packages/search.html1
-rw-r--r--templates/packages/signoffs.html1
-rw-r--r--templates/public/download.html1
8 files changed, 12 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html
index 3227fbbf..a17ac54d 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -11,22 +11,19 @@
<link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch-packages %}" title="Arch Linux Packages" />
{% block head %}{% endblock %}
</head>
-<body class="{% if user.is_authenticated %}devmode{% endif %} {% block bodyclass %}{% endblock %}">
+<body class="{% if user.is_authenticated %}devmode {% endif %}{% block bodyclass %}{% endblock %}">
- <div id="archnavbar">
+ <div id="archnavbar" class="{% block navbarclass %}anb-home{% endblock %}">
<div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux</a></h1></div>
<div id="archnavbarmenu">
<ul id="archnavbarlist">
- <li id="anb-home" {% ifnotequal path '/download/' %}class="selected"{% endifnotequal %}>
- <a href="/" title="Arch news, packages, projects and more">Home</a></li>
- <li id="anb-packages" {% ifequal path '/packages/' %} class="selected"{% endifequal %}>
- <a href="/packages/" title="Arch Package Database">Packages</a></li>
+ <li id="anb-home"><a href="/" title="Arch news, packages, projects and more">Home</a></li>
+ <li id="anb-packages"><a href="/packages/" title="Arch Package Database">Packages</a></li>
<li id="anb-forums"><a href="http://bbs.archlinux.org/" title="Community forums">Forums</a></li>
<li id="anb-wiki"><a href="http://wiki.archlinux.org/" title="Community documentation">Wiki</a></li>
<li id="anb-bugs"><a href="http://bugs.archlinux.org/" title="Report and track bugs">Bugs</a></li>
<li id="anb-aur"><a href="http://aur.archlinux.org/" title="Arch Linux User Repository">AUR</a></li>
- <li id="anb-download" {% ifequal path '/download/' %} class="selected"{% endifequal %}>
- <a href="{% url page-download %}" title="Get Arch Linux">Download</a></li>
+ <li id="anb-download"><a href="{% url page-download %}" title="Get Arch Linux">Download</a></li>
</ul>
</div>
</div><!-- #archnavbar -->
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 88ee4539..c7945b25 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package Details{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkgdetails" class="box">
diff --git a/templates/packages/files.html b/templates/packages/files.html
index 7dc111b4..ebdfb9cf 100644
--- a/templates/packages/files.html
+++ b/templates/packages/files.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package File List{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkgdetails" class="box">
diff --git a/templates/packages/flag.html b/templates/packages/flag.html
index 1e85be89..71d84982 100644
--- a/templates/packages/flag.html
+++ b/templates/packages/flag.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkg-flag" class="box">
diff --git a/templates/packages/flagged.html b/templates/packages/flagged.html
index 7d5e1c60..3a39d178 100644
--- a/templates/packages/flagged.html
+++ b/templates/packages/flagged.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkg-flagged-error" class="box">
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 2c85f0bc..eaaa07be 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% load package_extras %}
{% block title %}Arch Linux - Package Database{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block head %}
<link rel="stylesheet" type="text/css" href="/media/admin_media/css/widgets.css" />
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index 930b606e..3040f453 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - Package Signoffs{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
{% if packages %}
diff --git a/templates/public/download.html b/templates/public/download.html
index 06224096..77131a62 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - Downloads{% endblock %}
+{% block navbarclass %}anb-download{% endblock %}
{% block content %}
<div id="arch-downloads" class="box">