summaryrefslogtreecommitdiff
path: root/templates/admin
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/index.html6
-rw-r--r--templates/admin/sub_nav.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html
index e954960..95956f5 100644
--- a/templates/admin/index.html
+++ b/templates/admin/index.html
@@ -7,7 +7,7 @@
{% include "account/sub_nav.html" %}
<div class="span12">
{% include "admin/sub_nav.html" %}
- <h4>MID allotment mode is {{ allotment_mode }}. <small>Change to <a href="{% url 'sbhs_server.admin.views.toggle_allotment_mode' %}">{% if allotment_mode == 'Random' %}Workshop mode{% else %}Random mode{% endif %}</a></small></h4>
+ <h4>MID allotment mode is {{ allotment_mode }}. <small>Change to <a href="{% url 'admin_toggle_allotment_mode' %}">{% if allotment_mode == 'Random' %}Workshop mode{% else %}Random mode{% endif %}</a></small></h4>
<h1>Board status</h1>
<table class="table table-bordered">
<thead>
@@ -22,8 +22,8 @@
<tr>
<td>{{ b.mid }}</td>
<td><span class="label label-{% if b.online %}success{% else %}important{% endif %}">{% if b.online %}Online{% else %}Offline{% endif %}</span></td>
- <td><a href="{% url 'sbhs_server.webcam.views.show_video_to_admin' b.mid %}" target="_blank">View image</a></td>
- <td><a href="{% url 'sbhs_server.admin.views.profile' b.mid %}">View temperature profile</a></td>
+ <td><a href="{% url 'webcam_show_video_to_admin' b.mid %}" target="_blank">View image</a></td>
+ <td><a href="{% url 'admin_profile' b.mid %}">View temperature profile</a></td>
</tr>
{% endfor %}
</tbody>
diff --git a/templates/admin/sub_nav.html b/templates/admin/sub_nav.html
index abbcce0..29d8840 100644
--- a/templates/admin/sub_nav.html
+++ b/templates/admin/sub_nav.html
@@ -1,4 +1,4 @@
-<a href="{% url 'sbhs_server.admin.views.index' %}" class="btn">Show all boards</a>
-<a href="{% url 'sbhs_server.admin.views.booking_index' %}" class="btn">Show all bookings</a>
-<a href="{% url 'sbhs_server.admin.views.webcam_index' %}" class="btn">Show all images</a>
+<a href="{% url 'admin_index' %}" class="btn">Show all boards</a>
+<a href="{% url 'admin_bookings' %}" class="btn">Show all bookings</a>
+<a href="{% url 'admin_webcam' %}" class="btn">Show all images</a>
<br><br> \ No newline at end of file