forked from olajowon/loggrove
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
51 lines (47 loc) · 1.34 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
# Created by zhouwang on 2018/5/5.
from handlers import (
html,
login,
logout,
user,
password,
auditlog,
dashboard,
profile,
history,
logfile,
monitor_item,
read,
keepread,
chart,
path,
match_regex,
host_logfile,
monitor_report
)
urlpatterns = [
(r'/', html.Handler),
(r'^/dashboard/$', dashboard.Handler),
(r'^/login/html/$', html.LoginHander),
(r'^/(logfiles|read|keepread|charts|users|auditlogs)/html/$', html.Handler),
(r'^/login/$', login.Handler),
(r'^/logout/$', logout.Handler),
(r'^/profile/$', profile.Handler),
(r'^/historys/$', history.Handler),
(r'^/users/$', user.Handler),
(r'^/users/(\d+)/$', user.Handler),
(r'^/users/(\d+)/password/$', password.ResetHandler),
(r'^/password/$', password.Handler),
(r'^/auditlogs/$', auditlog.Handler),
(r'^/logfiles/$', logfile.Handler),
(r'^/logfiles/(\d+)/$', logfile.Handler),
(r'^/monitor/items/$', monitor_item.Handler),
(r'^/monitor/items/(\d+)/$', monitor_item.Handler),
(r'^/read/$', read.Handler),
(r'^/keepread/$', keepread.Handler),
(r'^/charts/$', chart.Handler),
(r'^/paths/$', path.Handler),
(r'^/match_regexs/$', match_regex.Handler),
(r'^/host_logfiles/$', host_logfile.Handler),
(r'^/monitor_report/$', monitor_report.Handler),
]