From f594b69dd6db5a693c648041264978f2aaeefd23 Mon Sep 17 00:00:00 2001 From: dk-15 Date: Sat, 20 May 2017 11:03:07 +0530 Subject: Add link to admin panel in account/home page --- .gitignore | 1 + templates/account/sub_nav.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 0421a68..d77f763 100644 --- a/.gitignore +++ b/.gitignore @@ -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 @@
  • View/Delete slot
  • Download log files
  • Show video
  • + {% if user.is_admin %} +
  • Admin Panel
  • + {% endif %} -- cgit