summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorGuilherme Salgado <guilherme.salgado@linaro.org>2011-06-09 16:15:15 -0300
committerGuilherme Salgado <guilherme.salgado@linaro.org>2011-06-09 16:15:15 -0300
commit121f607adaf8abd1f2d62e8fcffd44a2182515e4 (patch)
tree3523890d7adb4b52bb257ca43db61ddcae4d19db /templates/base.html
parentc0777db745eee3a2d2401e541d8a07100f9e94c2 (diff)
Get rid of patchmetric's base.html and instead change the original base.html to suit our needs. Now there's no longer a distinction between patchwork and patchmetrics pages and their headings all link to patchmetrics' frontpage.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html30
1 files changed, 3 insertions, 27 deletions
diff --git a/templates/base.html b/templates/base.html
index cc6c19f..9892018 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -3,8 +3,8 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title>{% block title %}Patchwork{% endblock %} - Patchwork</title>
- <link rel="stylesheet" type="text/css" href="/css/style.css"/>
+ <title>{% block title %}Patchwork{% endblock %}</title>
+ <link rel="stylesheet" type="text/css" href="/css/patchmetrics.css"/>
<script language="JavaScript" type="text/javascript" src="/js/common.js">
</script>
{% block headers %}{% endblock %}
@@ -13,7 +13,7 @@
<div id="title">
<h1 style="float: left;">
<a
- href="{% url patchwork.views.projects %}">Patchwork</a>
+ href="{% url patchmetrics.views.frontpage %}">Linaro patches</a>
{% block heading %}{% endblock %}</h1>
<div id="auth">
{% if user.is_authenticated %}
@@ -35,30 +35,6 @@
</div>
<div style="clear: both;"></div>
</div>
- <div id="nav">
- <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 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 %}
- </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">