Blame view

src/core/pyros_django/dashboard/urls.py 4.39 KB
2c61f856   theopuhl   Url change to pat...
1
from django.urls import path
62229d51   haribo   began dashboard (...
2
3
4
from . import views

urlpatterns = [
2c61f856   theopuhl   Url change to pat...
5
6
7
8
    path('index', views.index, name='index'),
    path('users', views.users, name="users"),
    path('configuration', views.configUpdate, name='configuration'),
    path('status', views.change_globalMode, name='change_globalMode'),
2c61f856   theopuhl   Url change to pat...
9
    path('bypass', views.change_bypass, name='change_bypass'),
f5d4a0c9   theopuhl   Change to users r...
10
    path('lock', views.change_lock, name='change_lock'),
2c61f856   theopuhl   Url change to pat...
11
12
13
    path('routines', views.routines, name="routines"),
    path('weather', views.weather, name="weather"),
    path('weather/current', views.weather_current, name="weather_current"),
2c61f856   theopuhl   Url change to pat...
14
15
16
17
18
    path('site', views.site, name="site"),
    path('site/current', views.site_current, name="site_current"),
    path('proposal', views.proposal, name='proposal'),
    path('devices', views.devices, name="devices"),
    path('system', views.system, name="system"),
a58163bb   theopuhl   New page Simulator
19
    path('system/logs', views.system_retrieve_logs, name="system_retrieve_logs"),
2c61f856   theopuhl   Url change to pat...
20
21
22
23
24
25
26
    path('schedule', views.schedule, name="schedule"),
    path('quotas', views.quotas, name="quotas"),
    path('observation_status/retrieve_env', views.retrieve_env, name='retrieve_env'),
    path('retrieve_env_navbar', views.retrieve_env_navbar, name='retrieve_env_navbar'),
    path('observation_status/send_command_to_telescope/submit_expert', views.submit_command_to_telescope_expert, name='submit_command_to_telescope_expert'),
    path('observation_status/send_command_to_telescope/submit', views.submit_command_to_telescope, name='submit_command_to_telescope'),
    path('observation_status/send_command_to_telescope', views.send_command_to_telescope, name='send_command_to_telescope'),
bd83eb17   Quentin Durand   Control command C...
27
28
29
    path('observation_status/send_command_to_cameraNIR/submit_expert', views.submit_command_to_cameraNIR_expert, name='submit_command_to_cameraNIR_expert'),
    path('observation_status/send_command_to_cameraNIR/submit', views.submit_command_to_cameraNIR, name='submit_command_to_cameraNIR'),
    path('observation_status/send_command_to_cameraNIR', views.send_command_to_cameraNIR, name='send_command_to_cameraNIR'),
d3faf327   Quentin Durand   Command control D...
30
31
32
33
34
35
    path('observation_status/send_command_to_cameraVIS_1/submit_expert', views.submit_command_to_cameraVIS_1_expert, name='submit_command_to_cameraVIS_1_expert'),
    path('observation_status/send_command_to_cameraVIS_1/submit', views.submit_command_to_cameraVIS_1, name='submit_command_to_cameraVIS_1'),
    path('observation_status/send_command_to_cameraVIS_1', views.send_command_to_cameraVIS_1, name='send_command_to_cameraVIS_1'),
    path('observation_status/send_command_to_cameraVIS_2/submit_expert', views.submit_command_to_cameraVIS_2_expert, name='submit_command_to_cameraVIS_2_expert'),
    path('observation_status/send_command_to_cameraVIS_2/submit', views.submit_command_to_cameraVIS_2, name='submit_command_to_cameraVIS_2'),
    path('observation_status/send_command_to_cameraVIS_2', views.send_command_to_cameraVIS_2, name='send_command_to_cameraVIS_2'),
2c61f856   theopuhl   Url change to pat...
36
37
38
    path('users/<int:pk>', views.user_detail_view, name='user-detail'),
    path('users/<int:pk>/edit', views.user_detail_edit, name='user-edit'),
    path('user-status/<int:pk>', views.change_activate, name='change_activate'),
1b9ba1f6   Quentin Durand   Little update on ...
39
40
    path('states/send_command_to_plc/submit', views.submit_command_to_plc, name="submit_command_to_plc"),
    path('states/send_command_to_plc', views.send_command_to_plc, name="send_command_to_plc"),
2c61f856   theopuhl   Url change to pat...
41
    path('states', views.operator_state, name='states'),
a58163bb   theopuhl   New page Simulator
42
    path('retrieve_main_icon', views.retrieve_main_icon, name='retrieve_main_icon'),
6aec6155   theopuhl   Majordome algorit...
43
44
45
46
47
48
49
50
51
52
53
    path('simulator', views.simulator, name='simulator'),
    path('simulator_ack', views.simulator_switch_ack, name="simulator_switch_ack"),
    path('simulator_safe', views.simulator_switch_safe, name="simulator_switch_safe"),
    path('simulator_auto', views.simulator_give_auto, name="simulator_give_auto"),
    path('simulator_manu', views.simulator_give_manu, name="simulator_give_manu"),
    path('simulator_ko', views.simulator_give_ko, name="simulator_give_ko"),
    path('simulator_bypass', views.simulator_switch_bypass, name="simulator_switch_bypass"),
    path('simulator_lock', views.simulator_switch_lock, name="simulator_switch_lock"),
    path('simulator_majordome_restart', views.simulator_majordome_restart, name="simulator_majordome_restart"),
    path('simulator_majordome_shutdown', views.simulator_majordome_shutdown, name="simulator_majordome_shutdown"),
    path('simulator_switch_globalmode', views.simulator_switch_globalMode, name="simulator_switch_globalMode")
77816f10   haribo   Workflow implemen...
54
]