summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-01-10 00:23:31 -0800
committereliott <eliott@cactuswax.net>2008-01-10 00:23:31 -0800
commit604e9d828a459cd28e7736fc45675e4297f759ac (patch)
treea9d62e141d87a6a7bf18dd6ed5ebb9583df3fa7d /templates
parenteefb79682b7c326a6feec927749f8b11f1854828 (diff)
Cherry pick of Thayer's archweb_pub retheme work
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html147
1 files changed, 66 insertions, 81 deletions
diff --git a/templates/base.html b/templates/base.html
index 266d73b1..59cbf462 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,84 +1,69 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>{% block title %}Arch Linux{% endblock %}</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="/media/arch.css" />
- <link rel="icon" href="/media/favicon.ico" type="image/x-icon" />
- <link rel="shortcut icon" href="/media/favicon.ico" type="image/x-icon" />
- {% block head %}
- {% endblock %}
- </head>
- <body>
- <div id="head_container">
- <div id="title">
- <div id="logo"><a href="/"><img src="/media/logo.png" alt="Arch Logo" /></a></div>
- <div id="titleimg"><a href="/"><img src="/media/title.png" alt="Arch Linux" /></a></div>
- </div>
- <div style="float: right; color: #eeeeee; font-size: small">
- {% if not user.is_anonymous %}
- Logged in as <strong>{{ user.username }}</strong>.
- <a href="/accounts/logout/">Logout</a>
- {% endif %}
- </div>
- <div id="main_nav">
- {% block topmenu %}
- <ul>
- <li{% ifequal path '/download/' %} class="selected"{% endifequal %}><a href="/download/">Get Arch</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{% ifequal path '/' %} class="selected"{% endifequal %}><a href="/">Home</a></li>
- </ul>
- {% endblock %}
- </div>
- {% block ads %}
- {% if not user.is_anonymous %}
- <div id="dev_nav">
- <ul>
- <li><a href="/devel/profile/">Profile</a></li>
- <li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li>
- <li><a href="/wiki/">Dev Wiki</a></li>
- <li><a href="/todo/">Todos</a></li>
- <li><a href="/news/">News</a></li>
- <li><a href="/devel/">Dashboard</a></li>
- </ul>
- </div>
- {% else %}
- <div id="ads">
- <script type="text/javascript"><!--
- google_ad_client = "pub-0403484505451360";
- google_ad_width = 468;
- google_ad_height = 60;
- google_ad_format = "468x60_as";
- google_color_border = "2D5893";
- google_color_border = "fbf8f1";
- google_color_bg = "fbf8f1";
- google_color_link = "6C83B0";
- google_color_url = "99AACC";
- google_color_text = "000000";
- //--></script>
- <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- {% endif %}
- </div>
- {% endblock %}
- </div>
- <div id="content">
- {% block content %}
- <div class="right">
- {% block content_right %}
- {% endblock %}
- </div>
- <div class="left">
- {% block content_left %}
- {% endblock %}
- </div>
- {% endblock %}
- </div>
- <div class="foot">
- Copyright © 2002-2007, Judd Vinet &lt;<a href="mailto:jvinet@zeroflux.org">jvinet@zeroflux.org</a>&gt;<br /><br />
- <img src="/media/button.png" alt="Arch Linux" />
- </div>
- </body>
+ <head>
+ <title>{% block title %}Arch Linux{% endblock %}</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="/media/arch.css" />
+ <link rel="icon" href="/media/favicon.ico" type="image/x-icon" />
+ <link rel="shortcut icon" href="/media/favicon.ico" type="image/x-icon" />
+ {% block head %}
+ {% endblock %}
+ </head>
+ <body>
+ <div id="head_container">
+ <div id="title">
+ <div id="logo"><h1 id="archtitle"><a href="/" title="Arch Linux (Home)">Arch Linux</a></h1></div>
+ </div>
+ <div style="float: right; color: #eeeeee; font-size: small">
+ {% if not user.is_anonymous %}
+ Logged in as <strong>{{ user.username }}</strong>.
+ <a href="/accounts/logout/">Logout</a>
+ {% endif %}
+ </div>
+ <div id="main_nav">
+ {% block topmenu %}
+ <ul>
+ <li{% ifequal path '/download/' %} class="selected"{% endifequal %}><a href="/download/">Get Arch</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{% ifequal path '/' %} class="selected"{% endifequal %}><a href="/">Home</a></li>
+ </ul>
+ {% endblock %}
+ </div>
+ {% block ads %}
+ <div id="ads">
+ <script type="text/javascript"><!--
+ google_ad_client = "pub-0403484505451360";
+ google_ad_width = 468;
+ google_ad_height = 60;
+ google_ad_format = "468x60_as";
+ google_color_border = "ffffff";
+ google_color_bg = "ffffff";
+ google_color_link = "0771A6";
+ google_color_url = "99AACC";
+ google_color_text = "000000";
+ //--></script>
+ <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
+ </div>
+ {% endblock %}
+ </div>
+ <div id="content">
+ {% block content %}
+ <div class="right">
+ {% block content_right %}
+ {% endblock %}
+ </div>
+ <div class="left">
+ {% block content_left %}
+ {% endblock %}
+ </div>
+ {% endblock %}
+ </div>
+ <div class="foot">
+ Copyright &copy; 2002-2008 <a href="mailto:jvinet@zeroflux.org" title="contact Judd Vinet">Judd Vinet</a> and <a href="mailto:aaron@archlinux.org" title="contact Aaron Griffin">Aaron Griffin</a>.<br />
+ The Arch Linux name and logo are recognized trademarks. Some rights reserved.
+ </div>
+ </body>
</html>