Commits

Anonymous committed b014eec

rename

  • Participants
  • Parent commits 27a67f7

Comments (0)

Files changed (6)

web/results/views.py

 def tag_view(request, tagname):
     tag = get_object_or_404(models.Tag, tag=tagname)
     jobs = tag.job_set.all()
-    return render_to_response('tags.html', {'jobs': jobs, 'tag': tagname},
+    return render_to_response('tag.html', {'jobs': jobs, 'tag': tagname},
                                context_instance=RequestContext(request))
 
 def run_details(request, guid):

web/static_media/css/site.css

     -moz-border-radius: 4px;
     -webkit-border-radius: 4px;
     margin: 4px 4px 4px 4px;
+}
+
+.nav {
+    text-align: center;
+    line-height: 10px;
+}
+
+.nav a {
+    color: #000;
+    text-decoration: none;
+}
+
+.nav span {
+    font-size: 1.0em;
+    color: #000;
+    margin: 0 5px 0 0;
+}
+
+.nav a:hover {
+    text-decoration: underline;
 }

web/templates/base.html

         </div>
 
         <div class="clear span-24 last" id="nav-container">
-            <div class="span-22 prepend-1 append-1 last" id="nav">
+            <div class="span-22 prepend-1 append-1 last nav" id="nav">
                 {% block nav %}
                     nav
                 {% endblock %}

web/templates/display.html

 {% endblock %}
 
 {% block nav %}
-    &nbsp;
+    <span><a href="{% url main %}">main</a></span><span>&#149;</span>
 {% endblock %}
 
 {% block content %}

web/templates/tag.html

+{% extends "display.html" %}
+
+{% block header %}
+    <h3>Bender :: results for tag: {{ tag }}</h3>
+{% endblock %}

web/templates/tags.html

-{% extends "display.html" %}
-
-{% block header %}
-    <h3>Bender :: results for tag: {{ tag }}</h3>
-{% endblock %}