summaryrefslogtreecommitdiff
path: root/sbhs/urls.py
diff options
context:
space:
mode:
authorCruiseDevice2018-10-08 13:28:06 +0530
committerCruiseDevice2018-10-08 13:28:06 +0530
commit6e19b577bf001532f93887093f347b7fbec775cb (patch)
tree1b9ef63b845f0f53e852a983ffac9b4c08f11697 /sbhs/urls.py
parent36eccb84bab7d5701e3a356df2dc7cbbfdc25201 (diff)
downloadsbhs_server-6e19b577bf001532f93887093f347b7fbec775cb.tar.gz
sbhs_server-6e19b577bf001532f93887093f347b7fbec775cb.tar.bz2
sbhs_server-6e19b577bf001532f93887093f347b7fbec775cb.zip
Fix UI issues in moderator dashboard and slot templates
- change dashboard_index to moderator_dashboard in home.html - change nav to sidebar nav in moderator dashboard - fix sidebar nav padding in slot/new.html - experiment initiation and maping of sbhs to rpis - update sbhs_raspi/requirements.txt
Diffstat (limited to 'sbhs/urls.py')
-rw-r--r--sbhs/urls.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbhs/urls.py b/sbhs/urls.py
index 81b63c8..07ad629 100644
--- a/sbhs/urls.py
+++ b/sbhs/urls.py
@@ -1,7 +1,7 @@
from django.conf.urls import url
from django.contrib.auth.views import (
password_reset, password_change, password_change_done, password_reset_done,
- password_reset_confirm, password_reset_complete
+ password_reset_confirm, password_reset_complete,
)
from . import views
@@ -54,12 +54,14 @@ urlpatterns = [
################## Slot Urls #######################
url(r'^slot/new/$',views.slot_new,name='slot_new'),
- ################## Dashboard Urls ######################
- url(r'^dashboard/$',views.dashboard_index, name='dashboard_index'),
-
################## Experiment urls #####################
url(r'^experiment/check_connection/$',views.check_connection,
name='experiment_check_connection'),
- url(r'^experiment/initiate/$',views.initiation,name='experiment_initiate')
+ url(r'^experiment/initiate/$',views.initiation,name='experiment_initiate'),
+ url(r'^experiment/map_machines/$',views.map_sbhs_to_rpi,name='experiment_initiate'),
+
+ ################## Moderator urls #####################
+ url(r'^moderator/$',views.moderator_dashboard,
+ name='moderator_dashboard'),
]