Permalink
Browse files

Fixed tab highlighting

  • Loading branch information...
1 parent 79fd167 commit 031077f51afa35dd8d8738ec6419c2bb3b0f9916 @jsayles jsayles committed Mar 29, 2012
@@ -2,6 +2,10 @@
{% block sub-title %}Logs | {% endblock %}
+{% block style %}
+nav #logs-tab { background: #FBD850; color: black; }
+{% endblock %}
+
{% block content %}
{% include "arpwatch/logs_menu.frag" %}
@@ -2,6 +2,10 @@
{% block sub-title %}Logs | {% endblock %}
+{% block style %}
+nav #logs-tab { background: #FBD850; color: black; }
+{% endblock %}
+
{% block content %}
{% include "arpwatch/logs_menu.frag" %}
@@ -2,6 +2,10 @@
{% block sub-title %}Logs | {% endblock %}
+{% block style %}
+nav #logs-tab { background: #FBD850; color: black; }
+{% endblock %}
+
{% block content %}
{% include "arpwatch/logs_menu.frag" %}
@@ -26,7 +30,7 @@ <h4 align="center">
{% for l in logs %}
<tr>
<td>{{ l.logintime|date:"h:i a" }}</td>
- <td>{{ l.user }}</td>
+ <td>{{ l.user.get_profile }}</td>
<td>{{ l.ip_address }}</td>
<td></td>
</tr>
View
@@ -45,7 +45,7 @@
<a id="activity-tab" href="{% url staff.views.activity %}">Activity</a>
<a id="billing-tab" href="{% url staff.views.bills %}">Billing ({{ billing_count }})</a>
<a id="stats-tab" href="{% url staff.views.stats %}">Stats</a>
- <a id="stats-tab" href="{% url arpwatch.views.device_logs_today %}">Logs</a>
+ <a id="logs-tab" href="{% url arpwatch.views.device_logs_today %}">Logs</a>
{% if request.user.is_authenticated %}
<a id="log-tab" href="{% url django.contrib.auth.views.logout_then_login %}">Logout</a>
{% else %}

0 comments on commit 031077f

Please sign in to comment.