Blame view

src/core/pyros_django/dashboard/urls.py 4.8 KB
eefbbbd2   Etienne Pallier   Model splitting g...
1
# Djago imports
da13e230   Alexis Koralewski   update UI of webs...
2
from django.urls import path
eefbbbd2   Etienne Pallier   Model splitting g...
3
4

# Project imports
da13e230   Alexis Koralewski   update UI of webs...
5
6
7
8
9
10
11
12
13
14
15
16
17
from . import views

urlpatterns = [
    path('index', views.index, name='index'),
    path('configuration', views.configUpdate, name='configuration'),
    path('status', views.change_globalMode, name='change_globalMode'),
    path('bypass', views.change_bypass, name='change_bypass'),
    path('lock', views.change_lock, name='change_lock'),
    path('routines', views.routines, name="routines"),
    path('weather', views.weather, name="weather"),
    path('weather/current', views.weather_current, name="weather_current"),
    path('site', views.site, name="site"),
    path('site/current', views.site_current, name="site_current"),
39bd6df6   Alexis Koralewski   Add menu page for...
18
    path('observation_index', views.observation_index, name='observation_index'),
da13e230   Alexis Koralewski   update UI of webs...
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
    path('settings', views.settings, name="settings"),
    path('devices', views.devices, name="devices"),
    path('system', views.system, name="system"),
    path('system/logs', views.system_retrieve_logs, name="system_retrieve_logs"),
    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'),
    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'),
    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'),
    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"),
    path('states', views.operator_state, name='states'),
    path('retrieve_main_icon', views.retrieve_main_icon, name='retrieve_main_icon'),
    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"),
c1a58d54   Alexis Koralewski   Adding views to v...
53
54
55
    path('simulator_switch_globalmode', views.simulator_switch_globalMode, name="simulator_switch_globalMode"),
    path('soft_mode', views.soft_mode, name="soft_mode"),
    path('agents_state', views.agents_state, name="agents_state"),
4ad8724b   Alexis Koralewski   Add view to see a...
56
    path('agents_commands', views.agents_commands, name="agents_commands"),
6fa0909e   Alexis Koralewski   Add button to man...
57
    path('agent_action', views.agent_action, name="agent_action"),
c1a58d54   Alexis Koralewski   Adding views to v...
58
59
    path('agent_detail/<str:agent_name>', views.agent_detail, name="agent_detail"),
    path('retrieve_log_content', views.retrieve_log_content, name="retrieve_log_content"),
f2eeeb37   Alexis Koralewski   Add send command ...
60
    path('send_cmd_agent',views.send_agent_cmd,name="send_cmd_agent"),
da13e230   Alexis Koralewski   update UI of webs...
61
]