From 6c531283d28c6b563bbc27528085c70339326546 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 1 Nov 2024 15:53:32 +0800 Subject: [PATCH] bugfix --- json/hostdev.json | 32 ++++++++++++++++++++++++++++++++ json/jumper.json | 26 ++++++++++++++++++++++++++ json/jumperhost.json | 17 +++++++++++++++++ json/xterm.json | 17 +++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 json/hostdev.json create mode 100644 json/jumper.json create mode 100644 json/jumperhost.json create mode 100644 json/xterm.json 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" + ] + } +}