1
0
forked from x/volcanos
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-05-11 22:20:22 +08:00
parent 347e43f2b4
commit 09a7e4e48f
2 changed files with 3 additions and 1 deletions

View File

@ -135,6 +135,8 @@ table.content.action td:last-child i { color:var(--notice-bg-color); }
table.content.action td:last-child i.bi-trash { color:var(--danger-bg-color); }
table.content.action td:last-child input { border:none; color:var(--notice-bg-color); }
table.content.action td:last-child input:hover { background-color:var(--hover-bg-color); color:var(--notice-bg-color); }
table.content.action td:last-child input.danger { border:none; color:var(--danger-bg-color); }
table.content.action td:last-child input.danger:hover { background-color:var(--hover-bg-color); color:var(--danger-bg-color); }
table.content.detail td:first-child { word-break:keep-all; white-space:pre; }
table.content.detail td:first-child { text-align:center; }
table.content.detail td:first-child { background-color:var(--plugin-bg-color); position:sticky; left:0; }

View File

@ -425,7 +425,7 @@ Volcanos("page", {
},
buttonStyle: function(can, name) {
return can.base.isIn(name, mdb.CREATE, mdb.INSERT, mdb.IMPORT, nfs.CLONE, cli.START, ctx.RUN, web.UPLOAD, web.CONFIRM, aaa.LOGIN, code.AUTOGEN, "sso", "add", "pull", "push", "commit", "preview", "auto-preview", ice.APP)? html.NOTICE:
can.base.isIn(name, mdb.REMOVE, mdb.DELETE, mdb.PRUNES, mdb.PRUNE, nfs.TRASH, cli.RESTART, cli.STOP, cli.CLOSE, cli.REBOOT, web.CANCEL, code.UPGRADE, "del", "drop", "access", "prockill")? html.DANGER: ""
can.base.isIn(name, mdb.REMOVE, mdb.DELETE, mdb.PRUNES, mdb.PRUNE, nfs.TRASH, cli.RESTART, cli.STOP, cli.CLOSE, cli.REBOOT, web.CANCEL, code.UPGRADE, "del", "drop", "access", "kill", "prockill")? html.DANGER: ""
},
exportValue: function(can, msg, target) { target = target||can._output
msg.OptionDefault(ice.MSG_THEME, can.getHeaderTheme())