diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | templates/account/sub_nav.html | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -2,3 +2,4 @@ sbhs_server/*/*.pyc sbhs_server/credentials.py log/ +static/img/webcam/ diff --git a/templates/account/sub_nav.html b/templates/account/sub_nav.html index 17ac8a5..62c617e 100644 --- a/templates/account/sub_nav.html +++ b/templates/account/sub_nav.html @@ -5,5 +5,8 @@ <li id="view-slot-nav"><a href="{% url 'slot_index' %}">View/Delete slot</a></li> <li id="download-log-nav"><a href="{% url 'experiment_logs' %}">Download log files</a></li> <li id="video-nav"><a href="{% url 'webcam_show_video' %}">Show video</a></li> + {% if user.is_admin %} + <li id="admin-nav"><a href="{% url 'admin_index' %}">Admin Panel</a></li> + {% endif %} </ul> </div> |