mirror of https://github.com/jumpserver/jumpserver
23 lines
792 B
Python
23 lines
792 B
Python
# coding:utf-8
|
|
from django.conf.urls import patterns, include, url
|
|
from jasset.views import *
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', index),
|
|
url(r'^host_add/$', jadd_host),
|
|
url(r'^host_add_multi/$', jadd_host_multi),
|
|
url(r'^host_list/$', jlist_host),
|
|
url(r"^(\d+.\d+.\d+.\d+)/$",jlist_ip),
|
|
url(r'^idc_add/$', jadd_idc),
|
|
url(r'^idc_list/$', jlist_idc),
|
|
url(r'^idc_detail/(\d+)$', idc_detail),
|
|
url(r'^idc_del/(\d+)/$', idc_del),
|
|
url(r'^group_add/$', jadd_group),
|
|
url(r'^group_list/$', jlist_group),
|
|
url(r'^group_detail/(\d)/$', group_detail),
|
|
url(r'^group_del/(\d+)/$', group_del),
|
|
url(r'^host_del/(\w+)/$', host_del),
|
|
url(r'^host_edit/(\d+)$', host_edit),
|
|
url(r'^host_edit/batch/$', batch_host_edit),
|
|
url(r'^test/$', test),
|
|
) |