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

opt oauth

This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-09-10 11:23:12 +08:00
parent 4f9b4fb8cf
commit 7d4ce180dd
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ Volcanos(chat.ONENGINE, {_init: function(can, meta, list, cb, target) {
msg.OptionDefault(ice.MSG_THEME, can.getHeader(chat.THEME))
can.base.isIn(sub.ConfIndex(), "qrcode", "cli.qrcode") && can.page.exportValue(sub, msg)
can.onengine.signal(panel, chat.ONREMOTE, can.request({}, {_follow: panel._follow, _msg: msg, _cmds: cmds}))
var names = msg.Option(chat._NAMES)||panel._names||((can.Conf("iceberg")||Volcanos.meta.iceberg)+"/chat/"+panel._name)
var names = msg.Option(chat._NAMES)||panel._names||((can.Conf("iceberg")||Volcanos.meta.iceberg)+"/chat/"+panel._name+"/")
can.misc.Run(event, can, {names: names, daemon: msg[ice.MSG_DAEMON]}, cmds, function(msg) { toast && toast.close(), toast = true
can.base.isFunc(cb) && cb(msg), Volcanos.meta.pack[can.core.Keys(panel._name, cmds.join(mdb.FS))] = msg
})

View File

@ -59,7 +59,7 @@ table.content th { padding:5px; box-shadow: var(--box-shadow); }
table.content td { padding:5px; }
table.content.action th:last-child { position:sticky; right:2px; }
table.content.action td:last-child { position:sticky; right:2px; text-align:center; }
table.content.action td:last-child input:not(:last-child) { margin-right:10px; }
table.content input:not(:last-child) { margin-right:10px; }
table.content col.time { width:180px; }
table.content col.action { width:200px; }
table.content:hover col.option { background-color:var(--hover-bg-color); }
@ -311,7 +311,7 @@ table.content tr.select { background-color:var(--tr-hover-bg-color); }
table.content th { background-color:var(--th-bg-color); color:var(--th-fg-color); }
table.content td:hover { background-color:var(--td-hover-bg-color); }
table.content td.select { background-color:var(--td-hover-bg-color); }
table.content.action td:last-child input { box-shadow:var(--box-shadow); }
table.content input { box-shadow:var(--box-shadow); }
table.content.action tr:hover td:last-child { box-shadow: var(--box-shadow); }
table.content.action tr:hover td:last-child { background-color:var(--th-bg-color); }
h1:hover { background-color:var(--hover-bg-color); color:var(--hover-fg-color); }