diff --git a/json/hostdev.json b/json/hostdev.json new file mode 100644 index 0000000..16a47a5 --- /dev/null +++ b/json/hostdev.json @@ -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" + } + ] + } +} diff --git a/json/jumper.json b/json/jumper.json new file mode 100644 index 0000000..3e1213d --- /dev/null +++ b/json/jumper.json @@ -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" + } + ] + } +} diff --git a/json/jumperhost.json b/json/jumperhost.json new file mode 100644 index 0000000..9984e90 --- /dev/null +++ b/json/jumperhost.json @@ -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" + ] + } +} diff --git a/json/xterm.json b/json/xterm.json new file mode 100644 index 0000000..3721717 --- /dev/null +++ b/json/xterm.json @@ -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" + ] + } +}