forked from x/volcanos
opt some
This commit is contained in:
parent
c755f002c6
commit
66bc003803
@ -82,7 +82,8 @@ fieldset.input.date div.output td.next { color:gray; }
|
|||||||
fieldset.input.date div.output td { padding:2px 11px; }
|
fieldset.input.date div.output td { padding:2px 11px; }
|
||||||
fieldset.input.date table { text-align:center; width:280px; }
|
fieldset.input.date table { text-align:center; width:280px; }
|
||||||
|
|
||||||
body>div.float { background-color:#0e3369b3; padding:5px; }
|
/* body>div.float { background-color:#0e3369b3; padding:5px; } */
|
||||||
|
body>div.toast { background-color:#0e3369b3; }
|
||||||
body>div.toast div.title { color:#cae850; word-break:break-all; float:left; }
|
body>div.toast div.title { color:#cae850; word-break:break-all; float:left; }
|
||||||
body>div.toast div.duration { color:gray; float:right; }
|
body>div.toast div.duration { color:gray; float:right; }
|
||||||
body>div.toast div.content { text-align:center; color:yellow; }
|
body>div.toast div.content { text-align:center; color:yellow; }
|
||||||
|
@ -3,5 +3,5 @@ fieldset.plan>div.output td.over { border:solid 2px red; }
|
|||||||
fieldset.plan>div.output td div.date { color:gray; }
|
fieldset.plan>div.output td div.date { color:gray; }
|
||||||
fieldset.plan>div.output div.prepare { background-color:blue; color:white; }
|
fieldset.plan>div.output div.prepare { background-color:blue; color:white; }
|
||||||
fieldset.plan>div.output div.process { background-color:green; color:white; }
|
fieldset.plan>div.output div.process { background-color:green; color:white; }
|
||||||
fieldset.plan>div.output div.cancel { background-color:yellow; color:white; }
|
fieldset.plan>div.output div.cancel { background-color:red; color:white; }
|
||||||
fieldset.plan>div.output div.finish { background-color:red; color:white; }
|
fieldset.plan>div.output div.finish { background-color:gray; color:white; }
|
||||||
|
@ -167,7 +167,7 @@ Volcanos(chat.ONACTION, {help: "组件交互", list: [
|
|||||||
_trans: {"task": "任务", "hour": "时间", "month": "月份"},
|
_trans: {"task": "任务", "hour": "时间", "month": "月份"},
|
||||||
insertTask: function(event, can, time) { var msg = can.sup.request(event, {begin_time: time})
|
insertTask: function(event, can, time) { var msg = can.sup.request(event, {begin_time: time})
|
||||||
can.user.input(event, can, can.Conf([ctx.FEATURE, mdb.INSERT]), function(args) {
|
can.user.input(event, can, can.Conf([ctx.FEATURE, mdb.INSERT]), function(args) {
|
||||||
can.runAction(event, mdb.INSERT, ["begin_time", time].concat(args))
|
can.runAction(event, mdb.INSERT, ["zone", args[1], "begin_time", time].concat(args))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
modifyTask: function(event, can, task, key, value) {
|
modifyTask: function(event, can, task, key, value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user