1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-11-14 08:46:19 +08:00
parent a7d3b0daf6
commit bc89016e4f
2 changed files with 5 additions and 7 deletions

View File

@ -177,7 +177,7 @@ body>div.input.login>div.display>span.item { font-style:italic; word-break:break
body>div.input.login>div.display div.sso { display:flex; justify-content:center; cursor:pointer; }
body>div.input.login>div.display div.sso div.item { display:flex; align-items:center; padding:10px; }
body>div.input.login>div.display div.sso div.item:hover { background-color:var(--hover-bg-color); }
body>div.input.login>div.display div.sso div.item>img { height:32px; }
body>div.input.login>div.display div.sso div.item>img { height:32px; width:32px; }
body>div.input.login>div.display div.sso div.item>span { line-height:32px; padding:5px; }
body>div.input.simple td:first-child { display:none; }
body>div.upload div.action input[type=file] { width:320px; }

View File

@ -27,12 +27,9 @@ Volcanos("user", {
isLocalFile: location && location.protocol && location.protocol == "file:",
isLandscape: function() { return window.innerWidth > window.innerHeight },
mod: {
isPod: location && location.pathname && (location.pathname.indexOf("/chat/pod/") == 0 || location.pathname.indexOf("/x/") == 0),
isCmd: location && location.pathname && (
location.pathname.indexOf("/chat/pod/") == 0 && location.pathname.indexOf("/cmd/") > 0
|| location.pathname.indexOf("/chat/cmd/") == 0
|| location.pathname.indexOf("/wiki/portal/") == 0
|| location.pathname.indexOf("/help/") == 0
isPod: location && location.pathname && (location.pathname.indexOf(web.CHAT_POD) == 0 || location.pathname.indexOf("/x/") == 0),
isCmd: location && location.pathname && (location.pathname.indexOf(web.CHAT_POD) == 0 && location.pathname.indexOf("/cmd/") > 0
|| location.pathname.indexOf(web.CHAT_CMD) == 0 || location.pathname.indexOf(nfs.WIKI_PORTAL) == 0
),
},
alert: function(text) { alert(JSON.stringify(text)) },
@ -261,6 +258,7 @@ Volcanos("user", {
return can.base.isFunc(cb) && cb(), cb = null, true
}
can.core.Timer(1000, function() { check() })
can.onimport.theme(can)
}
if (cmd == cli.PWD) { if (check()) { return } can.page.ClassList.add(can, document.body, aaa.LOGIN)
var list = {}; msg.Table(function(value) { if (value.order == "") {} else if (value.type == mdb.PLUGIN) { list[value.name] = function(target) {