2015-01-05 10:21:34 +00:00
|
|
|
# coding:utf-8
|
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
from jasset.views import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2015-04-11 04:52:00 +00:00
|
|
|
url(r'^host_add/$', host_add),
|
|
|
|
url(r"^host_add_multi/$", host_add_batch),
|
|
|
|
url(r'^host_list/$', host_list),
|
2015-02-09 11:02:25 +00:00
|
|
|
url(r'^search/$', host_search),
|
2015-04-11 04:52:00 +00:00
|
|
|
url(r"^host_detail/$", host_detail),
|
2015-04-13 13:25:43 +00:00
|
|
|
url(r"^dept_host_ajax/$", dept_host_ajax),
|
2015-04-11 04:52:00 +00:00
|
|
|
url(r'^idc_add/$', idc_add),
|
|
|
|
url(r'^idc_list/$', idc_list),
|
|
|
|
url(r'^idc_edit/$', idc_edit),
|
|
|
|
url(r'^idc_detail/$', idc_detail),
|
|
|
|
url(r'^idc_del/$', idc_del),
|
|
|
|
url(r'^group_add/$', group_add),
|
|
|
|
url(r'^group_edit/$', group_edit),
|
|
|
|
url(r'^group_list/$', group_list),
|
|
|
|
url(r'^group_detail/$', group_detail),
|
2015-04-14 09:25:56 +00:00
|
|
|
url(r'^group_del_host/$', group_del_host),
|
2015-04-13 13:25:43 +00:00
|
|
|
url(r'^group_del/$', group_del),
|
2015-02-01 15:00:23 +00:00
|
|
|
url(r'^host_del/(\w+)/$', host_del),
|
2015-04-13 13:25:43 +00:00
|
|
|
url(r'^host_edit/$', view_splitter, {'su': host_edit, 'adm': host_edit_adm}),
|
2015-04-11 04:52:00 +00:00
|
|
|
url(r'^host_edit/batch/$', host_edit_batch),
|
|
|
|
url(r'^host_edit_common/batch/$', host_edit_common_batch),
|
2015-01-05 10:21:34 +00:00
|
|
|
)
|