This commit is contained in:
yumoqing 2024-11-01 15:53:32 +08:00
parent 4536d92baf
commit 6c531283d2
4 changed files with 92 additions and 0 deletions

32
json/hostdev.json Normal file
View File

@ -0,0 +1,32 @@
{
"models_dir": "${HOME}$/py/msp/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/hostdev",
"dbname": "sage",
"tblname": "hostdev",
"title":"主机",
"params": {
"sortby":"name",
"logined_userid":"ownerid",
"browserfields": {
"exclouded": ["id", "ownerid"],
"cwidth": {}
},
"editexclouded": [
"id", "ownerid"
],
"subtables":[
{
"field":"hostid",
"title":"跳板",
"url":"../jumper",
"subtable":"jumper"
},
{
"field":"hostid",
"title":"终端",
"url":"../xterm",
"subtable":"xterm"
}
]
}
}

26
json/jumper.json Normal file
View File

@ -0,0 +1,26 @@
{
"models_dir": "${HOME}$/py/msp/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/jumper",
"dbname": "sage",
"tblname": "jumper",
"title":"跳板",
"params": {
"sortby":"name",
"logined_userid":"ownerid",
"browserfields": {
"exclouded": ["id", "ownerid"],
"cwidth": {}
},
"editexclouded": [
"id", "ownerid"
],
"subtables":[
{
"field":"jumperid",
"title":"跳板主机",
"url":"../jumperhost",
"subtable":"jumperhost"
}
]
}
}

17
json/jumperhost.json Normal file
View File

@ -0,0 +1,17 @@
{
"models_dir": "${HOME}$/py/msp/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/jumperhost",
"dbname": "sage",
"tblname": "jumperhost",
"title":"跳板主机",
"params": {
"sortby":"name",
"browserfields": {
"exclouded": ["id", "ownerid"],
"cwidth": {}
},
"editexclouded": [
"id", "ownerid"
]
}
}

17
json/xterm.json Normal file
View File

@ -0,0 +1,17 @@
{
"models_dir": "${HOME}$/py/msp/models",
"output_dir": "${HOME}$/py/sage/wwwroot/_a/xterm",
"dbname": "sage",
"tblname": "xterm",
"title":"终端",
"params": {
"sortby":"name",
"browserfields": {
"exclouded": ["id", "ownerid"],
"cwidth": {}
},
"editexclouded": [
"id", "ownerid"
]
}
}