luci-app-hd-idle: convert to client side rendering
[oweals/luci.git] / modules / luci-base / root / usr / share / luci / menu.d / luci-base.json
1 {
2         "admin": {
3                 "title": "Administration",
4                 "order": 10,
5                 "action": {
6                         "type": "firstchild",
7                         "recurse": true
8                 },
9                 "auth": {
10                         "methods": [ "cookie:sysauth" ],
11                         "login": true
12                 }
13         },
14
15         "admin/status": {
16                 "title": "Status",
17                 "order": 10,
18                 "action": {
19                         "type": "firstchild",
20                         "preferred": "overview",
21                         "recurse": true
22                 }
23         },
24
25         "admin/system": {
26                 "title": "System",
27                 "order": 20,
28                 "action": {
29                         "type": "firstchild",
30                         "preferred": "system",
31                         "recurse": true
32                 }
33         },
34
35         "admin/vpn": {
36                 "title": "VPN",
37                 "order": 30,
38                 "action": {
39                         "type": "firstchild",
40                         "recurse": true
41                 }
42         },
43
44         "admin/services": {
45                 "title": "Services",
46                 "order": 40,
47                 "action": {
48                         "type": "firstchild",
49                         "recurse": true
50                 }
51         },
52
53         "admin/network": {
54                 "title": "Network",
55                 "order": 50,
56                 "action": {
57                         "type": "firstchild",
58                         "recurse": true
59                 }
60         },
61
62         "admin/translations/*": {
63                 "action": {
64                         "type": "call",
65                         "module": "luci.controller.admin.index",
66                         "function": "action_translations"
67                 },
68                 "auth": {}
69         },
70
71         "admin/ubus/*": {
72                 "action": {
73                         "type": "call",
74                         "module": "luci.controller.admin.index",
75                         "function": "action_ubus"
76                 },
77                 "auth": {}
78         },
79
80         "admin/logout": {
81                 "title": "Logout",
82                 "order": 999,
83                 "action": {
84                         "type": "call",
85                         "module": "luci.controller.admin.index",
86                         "function": "action_logout"
87                 },
88                 "depends": {
89                         "acl": [ "luci-base" ]
90                 }
91         },
92
93         "admin/uci": {
94                 "action": {
95                         "type": "firstchild"
96                 }
97         },
98
99         "admin/uci/revert": {
100                 "action": {
101                         "type": "call",
102                         "module": "luci.controller.admin.uci",
103                         "function": "action_revert",
104                         "post": true
105                 }
106         },
107
108         "admin/uci/apply_rollback": {
109                 "cors": true,
110                 "action": {
111                         "type": "call",
112                         "module": "luci.controller.admin.uci",
113                         "function": "action_apply_rollback",
114                         "post": true
115                 },
116                 "auth": {
117                         "methods": [ "cookie:sysauth" ]
118                 }
119         },
120
121         "admin/uci/apply_unchecked": {
122                 "cors": true,
123                 "action": {
124                         "type": "call",
125                         "module": "luci.controller.admin.uci",
126                         "function": "action_apply_unchecked",
127                         "post": true
128                 },
129                 "auth": {
130                         "methods": [ "cookie:sysauth" ]
131                 }
132         },
133
134         "admin/uci/confirm": {
135                 "cors": true,
136                 "action": {
137                         "type": "call",
138                         "module": "luci.controller.admin.uci",
139                         "function": "action_confirm"
140                 },
141                 "auth": {}
142         },
143
144         "admin/menu": {
145                 "action": {
146                         "type": "call",
147                         "module": "luci.controller.admin.index",
148                         "function": "action_menu"
149                 },
150                 "auth": {}
151         }
152 }