diff --git a/index.css b/index.css index 17becb6a..06c9e190 100644 --- a/index.css +++ b/index.css @@ -49,7 +49,8 @@ body { } input { font-family:var(--input-font-family); } body { font-family:var(--body-font-family); } -body { background-color:var(--body-bg-color); color:var(--body-fg-color); background-position: center; background-image: url(/require/usr/icons/background.jpg); } +body { background-color:var(--body-bg-color); color:var(--body-fg-color); } +// body { background-color:var(--body-bg-color); color:var(--body-fg-color); background-position: center; background-image: url(/require/usr/icons/background.jpg); } body.windows { --code-font-family:"Courier New"; } body.cmd { background-color:var(--plugin-bg-color); diff --git a/plugin/story/form.js b/plugin/story/form.js index ff19262d..c649d27c 100644 --- a/plugin/story/form.js +++ b/plugin/story/form.js @@ -2,7 +2,7 @@ Volcanos(chat.ONIMPORT, { _init: function(can, msg) { can.onappend.style(can, html.FORM, can._output) if (can.isCmdMode()) { can.onappend.style(can, html.OUTPUT) } can.page.Append(can, can._output, msg.Table(function(item) { - return {view: [[html.ITEM, item.type]], list: [item.type != html.BUTTON && {text: [can.user.trans(can, item.name, item._trans), "", mdb.NAME]}, item.need == "must" && {text: ["*", "", "need"]}], _init: function(target) { + return {view: [[html.ITEM, item.type]], list: [item.type != html.BUTTON && {text: [can.user.trans(can, item.name, item._trans, html.INPUT), "", mdb.NAME]}, item.need == "must" && {text: ["*", "", "need"]}], _init: function(target) { item.type == html.BUTTON && (item.onclick = function(event) { var args = [] can.core.Item(can.page.SelectArgs(can, can._output)[0], function(key, value) { args.push(key, value) }) can.Update(can.request(event, {_handle: ice.TRUE}), [ctx.ACTION, item.name].concat(args))