forked from x/volcanos
opt some
This commit is contained in:
parent
46445a6f92
commit
023ec3ede7
3
frame.js
3
frame.js
@ -301,6 +301,9 @@ Volcanos(chat.ONAPPEND, {help: "渲染引擎", _init: function(can, meta, list,
|
|||||||
field: function(can, type, item, target) { type = type||html.PLUGIN, item = item||{}
|
field: function(can, type, item, target) { type = type||html.PLUGIN, item = item||{}
|
||||||
var name = (item.nick||item.name||"").split(ice.SP)[0]
|
var name = (item.nick||item.name||"").split(ice.SP)[0]
|
||||||
var title = !item.help || can.user.language(can) == "en"? name: name+"("+item.help.split(ice.SP)[0]+")"
|
var title = !item.help || can.user.language(can) == "en"? name: name+"("+item.help.split(ice.SP)[0]+")"
|
||||||
|
if (name == "word") {
|
||||||
|
title = item.help.split(ice.SP)[0]
|
||||||
|
}
|
||||||
return can.page.Append(can, target||can._output, [{view: [can.base.join([type||"", item.name||"", item.pos||""]), html.FIELDSET], list: [
|
return can.page.Append(can, target||can._output, [{view: [can.base.join([type||"", item.name||"", item.pos||""]), html.FIELDSET], list: [
|
||||||
name && {text: [title, html.LEGEND]}, {view: [html.OPTION, html.FORM]}, {view: [html.ACTION]}, {view: [html.OUTPUT]}, {view: [html.STATUS]},
|
name && {text: [title, html.LEGEND]}, {view: [html.OPTION, html.FORM]}, {view: [html.ACTION]}, {view: [html.OUTPUT]}, {view: [html.STATUS]},
|
||||||
]}])
|
]}])
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
fieldset.word form.option input[name=path] { width:127px; }
|
fieldset.word form.option input[name=path] { width:127px; }
|
||||||
|
fieldset.word>form.option>div.item>input[name=path] { width:320px; }
|
||||||
|
|
||||||
fieldset.word>div.navmenu { background-color:inherit; overflow:auto; min-width:120px; clear:both; float:left; }
|
fieldset.word>div.navmenu { background-color:inherit; overflow:auto; min-width:120px; clear:both; float:left; }
|
||||||
fieldset.word>div.navmenu div.list { margin-left:20px; }
|
fieldset.word>div.navmenu div.list { margin-left:20px; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user