diff options
author | CruiseDevice | 2018-10-29 18:59:04 +0530 |
---|---|---|
committer | CruiseDevice | 2018-10-29 18:59:04 +0530 |
commit | dc1b49fc5ef5803160f0b0df5f8076e77e37926d (patch) | |
tree | 5ab83b7086fff95b51aa63ed4c94c8691c78d684 /sbhs/templates/dashboard/profile.html | |
parent | 152b4a9c34398cc1a6530ee5c3830f57436b0a27 (diff) | |
download | sbhs_server-dc1b49fc5ef5803160f0b0df5f8076e77e37926d.tar.gz sbhs_server-dc1b49fc5ef5803160f0b0df5f8076e77e37926d.tar.bz2 sbhs_server-dc1b49fc5ef5803160f0b0df5f8076e77e37926d.zip |
Add moderator features
- Add form to update userboard.
- Management command for adding online boards.
- Add conditions for booking slots.
- Add features to test, update and reset boards.
Diffstat (limited to 'sbhs/templates/dashboard/profile.html')
-rw-r--r-- | sbhs/templates/dashboard/profile.html | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/sbhs/templates/dashboard/profile.html b/sbhs/templates/dashboard/profile.html index 8a055df..fe999f6 100644 --- a/sbhs/templates/dashboard/profile.html +++ b/sbhs/templates/dashboard/profile.html @@ -9,8 +9,7 @@ <script type="{% static 'js/jquery-ui.js' %}"></script> <link rel="stylesheet" type="text/css" href="{% static 'css/jquery.datetimepicker.css' %}"/> <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}"/> - <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/dygraph/2.1.0/dygraph.min.css" /> - <script src="//cdnjs.cloudflare.com/ajax/libs/dygraph/2.1.0/dygraph.min.js"></script> + <script type="text/javascript" src = "{% static 'js/dygraph-combined.js' %}"></script> {% endblock %} {% block main %} <div class = "row"> @@ -25,25 +24,25 @@ </div> </div> <script> - (function(){ - var h = new Dygraph( - document.getElementById("heat"), - "{{ heat }}", - { - valueRange: [0,100] - } - ); - var f = new Dygraph( - document.getElementById("fan"), - "{{ fan }}", - { - valueRange: [0,100] - } - ); - var t = new Dygraph( - document.getElementById("temp"), - "{{ temp }}" - ); - })(); -</script> +(function(){ + var h = new Dygraph( + document.getElementById("heat"), + "{{ heat }}", + { + valueRange: [0,100] + } + ); + var f = new Dygraph( + document.getElementById("fan"), + "{{ fan }}", + { + valueRange: [0,100] + } + ); + var t = new Dygraph( + document.getElementById("temp"), + "{{ temp }}" + ); +})(); + </script> {% endblock %}
\ No newline at end of file |