1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
shaoying 2019-07-18 16:22:09 +08:00
parent bbccdd96f5
commit 0a0eb4a14d
3 changed files with 9 additions and 10 deletions

View File

@ -4,5 +4,5 @@ var version = struct {
host string host string
self int self int
}{ }{
"2019-07-17 01:14:15", "com.mac", 191, "2019-07-18 10:55:21", "ZYB-20190522USI", 172,
} }

View File

@ -120,11 +120,10 @@ var Index = &ctx.Context{Name: "ssh", Help: "集群中心",
}, },
"context": []interface{}{ "context": []interface{}{
map[string]interface{}{"componet_name": "runtime", "componet_help": "系统", map[string]interface{}{"componet_name": "runtime", "componet_help": "系统",
"componet_tmpl": "componet", "componet_view": "componet", "componet_init": "", "componet_tmpl": "componet", "componet_view": "Runtime", "componet_init": "",
"componet_type": "private", "componet_ctx": "cli", "componet_cmd": "runtime", "componet_type": "private", "componet_ctx": "cli", "componet_cmd": "runtime",
"componet_args": []interface{}{}, "inputs": []interface{}{ "componet_args": []interface{}{"system"}, "inputs": []interface{}{
map[string]interface{}{"type": "select", "name": "cmd", "values": []interface{}{"system", "host", "boot", "node", "user", "work"}}, map[string]interface{}{"type": "button", "value": "运行"},
map[string]interface{}{"type": "button", "value": "运行", "action": "auto"},
}, },
}, },
map[string]interface{}{"componet_name": "project", "componet_help": "项目", map[string]interface{}{"componet_name": "project", "componet_help": "项目",
@ -133,7 +132,7 @@ var Index = &ctx.Context{Name: "ssh", Help: "集群中心",
"componet_args": []interface{}{}, "inputs": []interface{}{ "componet_args": []interface{}{}, "inputs": []interface{}{
map[string]interface{}{"type": "select", "name": "cmd", "values": []interface{}{"plugin", "stat", "init"}}, map[string]interface{}{"type": "select", "name": "cmd", "values": []interface{}{"plugin", "stat", "init"}},
map[string]interface{}{"type": "text", "name": "who"}, map[string]interface{}{"type": "text", "name": "who"},
map[string]interface{}{"type": "button", "value": "执行", "action": "auto"}, map[string]interface{}{"type": "button", "value": "执行"},
}, },
"exports": []interface{}{"see", "filename", "see"}, "exports": []interface{}{"see", "filename", "see"},
}, },
@ -284,8 +283,8 @@ var Index = &ctx.Context{Name: "ssh", Help: "集群中心",
"componet_tmpl": "componet", "componet_view": "Context", "componet_init": "", "componet_tmpl": "componet", "componet_view": "Context", "componet_init": "",
"componet_type": "private", "componet_ctx": "ssh", "componet_cmd": "_route", "componet_type": "private", "componet_ctx": "ssh", "componet_cmd": "_route",
"componet_args": []interface{}{"$$", "context", "nfs", "dir", "$$", "time", "size", "line", "path"}, "inputs": []interface{}{ "componet_args": []interface{}{"$$", "context", "nfs", "dir", "$$", "time", "size", "line", "path"}, "inputs": []interface{}{
map[string]interface{}{"type": "text", "name": "pod", "imports": []interface{}{"plugin_you", "plugin_pod"}}, map[string]interface{}{"type": "text", "name": "pod", "imports": []interface{}{"plugin_you", "plugin_pod"}, "action": "auto"},
map[string]interface{}{"type": "text", "name": "dir", "value": "usr/script", "imports": "plugin_dir", "action": "auto", "history": "true", "view": "long"}, map[string]interface{}{"type": "text", "name": "dir", "value": "usr/script", "imports": "plugin_dir", "action": "auto", "view": "long"},
map[string]interface{}{"type": "button", "value": "查看", "action": "auto"}, map[string]interface{}{"type": "button", "value": "查看", "action": "auto"},
map[string]interface{}{"type": "button", "value": "回退", "click": "Back"}, map[string]interface{}{"type": "button", "value": "回退", "click": "Back"},
}, },

View File

@ -5,7 +5,7 @@ page = Page({
kit.isWindows && (document.body.style.overflow = "hidden") kit.isWindows && (document.body.style.overflow = "hidden")
var height = document.body.clientHeight-page.conf.border var height = document.body.clientHeight-page.conf.border
var width = document.body.clientWidth-page.conf.border var width = document.body.clientWidth-page.conf.border-2
page.conf.height = height page.conf.height = height
page.conf.width = width page.conf.width = width
@ -353,7 +353,7 @@ page = Page({
Button: [["layout", "聊天", "办公", "工作", "最高", "最宽", "最大"], "", Button: [["layout", "聊天", "办公", "工作", "最高", "最宽", "最大"], "",
"刷新", "清空", "并行", "串行", "", "刷新", "清空", "并行", "串行", "",
"添加", "删除", "加参", "减参", "", "添加", "删除", "加参", "减参", "",
["display", "表格", "绘图"], ["display", "表格", "编辑", "绘图"],
], ],
} }
}, },