vpnmanager/manager/urls.py

33 lines
1.7 KiB
Python
Raw Normal View History

2018-11-25 21:02:16 +00:00
from django.urls import path, include
2018-11-25 15:05:26 +00:00
from . import views
urlpatterns = [
path('', views.index, name='index'),
2018-11-26 19:55:09 +00:00
path('devices/', views.devices, name='devices'),
path('wifi/', views.devices, name='wifi'),
path('users/', views.devices, name='users'),
2019-02-02 13:24:15 +00:00
path('networks/', views.devices, name='networks'),
path('organizations/', views.devices, name='organizations'),
2018-11-25 21:02:16 +00:00
path('hosts', views.hosts, name='hosts'),
2018-11-26 19:55:09 +00:00
path('devices/<int:device_id>/edit/', views.editdevice, name='editdevice'),
path('devices/<int:device_id>/ping/', views.ping, name="ping"),
path('devices/<int:device_id>/download/', views.getconfig, name="getconfig"),
path('devices/<int:device_id>/delete/', views.deletedevice, name="deletedevice"),
path('devices/<int:device_id>/reboot/', views.rebootdevice, name="rebootdevice"),
path('heartbeat', views.heartbeat, name='heartbeat'),
2019-01-03 17:31:49 +00:00
path('wireless', views.wireless, name='wireless'),
2018-12-26 01:24:36 +00:00
path('makedevice/', views.makedevice, name="makedevice"),
2018-12-28 09:43:57 +00:00
path('makewifi/', views.makewifi, name='makewifi'),
2019-02-02 11:57:15 +00:00
path('makeuser/', views.makeuser, name='makeuser'),
2019-02-02 14:31:25 +00:00
path('makenet/', views.makenetwork, name='makenet'),
path('makeorga/', views.makeorganization, name='makeorga'),
2019-02-02 15:01:18 +00:00
path('networks/<int:network_id>/delete', views.deletenetwork, name='deletenetwork'),
2018-12-28 09:43:57 +00:00
path('wifi/<int:wifi_id>/edit/', views.editwifi, name='editwifi'),
2019-01-06 18:15:13 +00:00
path('wifi/<int:wifi_id>/delete/', views.deletewifi, name='deletewifi'),
2019-02-02 12:31:05 +00:00
path('users/<int:user_id>/edit/', views.edituser, name='edituser'),
path('users/<int:user_id>/delete/', views.deleteuser, name='deleteuser'),
path('organizations/<int:orga_id>/delete/', views.deleteorga, name='deleteorga'),
2018-12-26 01:24:36 +00:00
path('update', views.update, name='update')
2018-11-25 15:05:26 +00:00
]