-
Notifications
You must be signed in to change notification settings - Fork 0
/
navigate.go
83 lines (81 loc) · 1.51 KB
/
navigate.go
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package handler
import "github.com/admpub/nging/v5/application/registry/navigate"
var LeftNavigate = &navigate.Item{
Display: true,
Name: `数据库`,
Action: `db`,
Icon: `table`,
Children: &navigate.List{
{
Display: true,
Name: `数据库账号`,
Action: `account`,
},
{
Display: true,
Name: `添加账号`,
Action: `account_add`,
Icon: `plus`,
},
{
Display: false,
Name: `修改账号`,
Action: `account_edit`,
},
{
Display: false,
Name: `删除账号`,
Action: `account_delete`,
},
{
Display: true,
Name: `连接数据库`,
Action: ``,
},
{
Display: true,
Name: `表结构同步`,
Action: `schema_sync`,
},
{
Display: false,
Name: `新增同步方案`,
Action: `schema_sync_add`,
},
{
Display: false,
Name: `修改同步方案`,
Action: `schema_sync_edit`,
},
{
Display: false,
Name: `删除同步方案`,
Action: `schema_sync_delete`,
},
{
Display: false,
Name: `预览表结构差异`,
Action: `schema_sync_preview`,
},
{
Display: false,
Name: `执行表结构同步`,
Action: `schema_sync_run`,
},
{
Display: false,
Name: `表结构同步日志列表`,
Action: `schema_sync_log/:id`,
},
{
Display: false,
Name: `表结构同步日志详情`,
Action: `schema_sync_log_view/:id`,
},
{
Display: false,
Name: `删除表结构同步日志`,
Action: `schema_sync_log_delete`,
},
},
}