diff --git a/frame.js b/frame.js index 7201911d..ccbf4dbc 100644 --- a/frame.js +++ b/frame.js @@ -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 } diff --git a/page/index.css b/page/index.css index 5d27bbe6..0af39c39 100644 --- a/page/index.css +++ b/page/index.css @@ -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; }