diff --git a/src/contexts/cli/version.go b/src/contexts/cli/version.go index 5e06c1f8..61ccff9c 100644 --- a/src/contexts/cli/version.go +++ b/src/contexts/cli/version.go @@ -4,5 +4,5 @@ var version = struct { host string self int }{ - "2019-07-17 01:14:15", "com.mac", 191, + "2019-07-18 10:55:21", "ZYB-20190522USI", 172, } diff --git a/src/contexts/ssh/ssh.go b/src/contexts/ssh/ssh.go index fd8538b3..6a01dfd9 100644 --- a/src/contexts/ssh/ssh.go +++ b/src/contexts/ssh/ssh.go @@ -120,11 +120,10 @@ var Index = &ctx.Context{Name: "ssh", Help: "集群中心", }, "context": []interface{}{ 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_args": []interface{}{}, "inputs": []interface{}{ - map[string]interface{}{"type": "select", "name": "cmd", "values": []interface{}{"system", "host", "boot", "node", "user", "work"}}, - map[string]interface{}{"type": "button", "value": "运行", "action": "auto"}, + "componet_args": []interface{}{"system"}, "inputs": []interface{}{ + map[string]interface{}{"type": "button", "value": "运行"}, }, }, map[string]interface{}{"componet_name": "project", "componet_help": "项目", @@ -133,7 +132,7 @@ var Index = &ctx.Context{Name: "ssh", Help: "集群中心", "componet_args": []interface{}{}, "inputs": []interface{}{ map[string]interface{}{"type": "select", "name": "cmd", "values": []interface{}{"plugin", "stat", "init"}}, 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"}, }, @@ -284,8 +283,8 @@ var Index = &ctx.Context{Name: "ssh", Help: "集群中心", "componet_tmpl": "componet", "componet_view": "Context", "componet_init": "", "componet_type": "private", "componet_ctx": "ssh", "componet_cmd": "_route", "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": "dir", "value": "usr/script", "imports": "plugin_dir", "action": "auto", "history": "true", "view": "long"}, + 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", "view": "long"}, map[string]interface{}{"type": "button", "value": "查看", "action": "auto"}, map[string]interface{}{"type": "button", "value": "回退", "click": "Back"}, }, diff --git a/usr/librarys/chat.js b/usr/librarys/chat.js index 01488823..9971e3ca 100644 --- a/usr/librarys/chat.js +++ b/usr/librarys/chat.js @@ -5,7 +5,7 @@ page = Page({ kit.isWindows && (document.body.style.overflow = "hidden") 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.width = width @@ -353,7 +353,7 @@ page = Page({ Button: [["layout", "聊天", "办公", "工作", "最高", "最宽", "最大"], "", "刷新", "清空", "并行", "串行", "", "添加", "删除", "加参", "减参", "", - ["display", "表格", "绘图"], + ["display", "表格", "编辑", "绘图"], ], } },