diff --git a/index.css b/index.css index 7b1766fc..76464991 100644 --- a/index.css +++ b/index.css @@ -139,8 +139,8 @@ img.qrcode { width:var(--qrcode-width); } /* output style */ div.title>div.status { line-height:20px; display:flex; } div.title>div.status>div.item { font-size:var(--status-font-size); font-weight:normal; white-space:pre; padding:0 var(--input-padding); display:flex; float:left; } -div.title>div.status>div.item.restart { background-color:var(--notice-bg-color); color:var(--notice-fg-color) !important; opacity:0.4; } -div.title>div.status>div.item.access { background-color:var(--danger-bg-color); color:var(--danger-fg-color) !important; opacity:0.4; } +div.title>div.status>div.item.restart { background-color:var(--notice-bg-color); color:var(--notice-fg-color) !important; } +div.title>div.status>div.item.access { background-color:var(--danger-bg-color); color:var(--danger-fg-color) !important; } div.title>div.status>div.item:not(:hover) { color:var(--disable-fg-color); } div.title>div.status>div.item>i { margin-right:var(--input-margin); } fieldset.store>div.output>fieldset.story:not(.float) { display:none; } diff --git a/plugin/local/code/xterm.js b/plugin/local/code/xterm.js index 663a4de7..cdaa5e5a 100644 --- a/plugin/local/code/xterm.js +++ b/plugin/local/code/xterm.js @@ -2,7 +2,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg, cb) { can.page.requireModules(can, ["xterm/css/xterm.css", "xterm", "xterm-addon-fit", "xterm-addon-web-links"], function() { var item = can.base.Obj(msg.TableDetail()); item.hash = item.hash||can.Option(mdb.HASH)||"only", can.onmotion.clear(can) if (item.type == html.LAYOUT) { can.onimport._layout(can, item) } else { can.onimport._connect(can, item, can._output) } can.onimport.layout(can) - can.sup.onexport.link = function() { return can.misc.MergePodCmd(can, {pod: can.ConfSpace(), cmd: web.CODE_XTERM, hash: item.hash}) } + can.sup.onexport.link = function() { return can.misc.MergePodCmd(can, {pod: can.ConfSpace(), cmd: can.ConfIndex(), hash: item.hash}) } can.sup.onexport.title(can, item.name||item.type), can.base.isFunc(cb) && cb(msg), can.onappend._status(can), can.onkeymap._build(can) }) }, _layout: function(can, item) {