1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00

add coder

This commit is contained in:
harveyshao 2022-06-03 01:11:26 +08:00
parent 4efab3b3ce
commit cf801cdc6a
2 changed files with 5 additions and 3 deletions

View File

@ -385,7 +385,7 @@ Volcanos("onappend", {help: "渲染引擎", list: [], _init: function(can, meta,
item.type == html.TEXT && can.onkeymap.input(event, can), can.onmotion.selectField(event, can)
}, list: [input]}]).concat(br))[item.name]
},
table: function(can, msg, cb, target, sort) {
table: function(can, msg, cb, target, sort) { if (msg.Length() == 0) { return }
var table = can.page.AppendTable(can, msg, target||can._output, msg.append, cb||function(value, key, index, line, array) {
if (msg.append.length == 2 && msg.append[0] == mdb.KEY && msg.append[1] == mdb.VALUE) {
if (key == mdb.VALUE) { key = line.key }

View File

@ -7,6 +7,7 @@ textarea { background-color:cyan; height:60px; width:400px; }
input[type=button] { background-color:black; color:cyan; }
input[name=cmd] { background-color:black; color:white; width:240px; }
input[type=text] { background-color:cyan; color:black; padding:0 4px; height:1.65rem; width:82px; }
input[type=password] { background-color:cyan; color:black; padding:0 4px; height:1.65rem; width:82px; }
input[name=where] { width:320px; }
input[name=date] { width:150px; }
input[name=path] { width:160px; }
@ -110,8 +111,8 @@ body>div.input tr td:first-child { text-align:center; }
body>div.input div.content { overflow:auto; max-height:200px; }
body>div.input select { width:183px; margin:5px; }
body>div.input input[type=text] { width:171px; margin:5px; }
body>div.input input[name=username] { width:171px; }
body>div.input input[name=password] { width:171px; }
body>div.input input[name=username] { width:171px; margin:5px; }
body>div.input input[name=password] { width:171px; margin:5px; }
body>div.input textarea { background-color:cyan; padding:4px; margin:5px; border:2px inset #14a58e; height:120px; width:171px; }
body>div.input.login { padding:10px; }
@ -140,6 +141,7 @@ body.white legend { border-radius:10px 10px 10px 10px; }
body.white select { background-color:#99CC66; color:white; border:2px solid #99CC66; border-radius:10px 10px 10px 10px; }
body.white input[type=button] { background-color:#FF9900; color:white; border:2px solid #FF9900; border-radius:10px; }
body.white input[type=text] { background-color:white; color:black; border:2px solid #14a58e; border-radius:6px; }
body.white input[type=password] { background-color:white; color:black; border:2px solid #14a58e; border-radius:6px; }
body.white input[name=cmd] { background-color:black; color:white; width:240px; }
body.white table.content { color:black; }