mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
add some
This commit is contained in:
parent
d38fb0cc42
commit
dd73e2fe4d
@ -277,7 +277,7 @@ Volcanos("user", {
|
||||
can.page.Appends(can, ui.display, [{text: ["或命令行授权: ", html.LABEL]}, {text: ["$ "+_cmd, "", html.ITEM], title: "点击复制,并后台执行此命令,即可登录", style: {cursor: "copy"}, onclick: function() { can.user.copy(event, can, _cmd) }}])
|
||||
can.page.Append(can, ui.display, [{text: ["或第三方授权: ", html.LABEL]}, {view: [["sso", html.FLEX]], list: _msg.Table(function(value) {
|
||||
return value.type == "oauth" && {view: [[html.ITEM, html.FLEX]], title: "点击跳转,授权登录", list: [{img: can.misc.Resource(can, value.icons)}, {text: value.name}], onclick: function() {
|
||||
can.base.MergeURL(can.user.jumps(value.link), ice.BACK, location.href)
|
||||
can.user.jumps(can.base.MergeURL(value.link, ice.BACK, location.href))
|
||||
}}
|
||||
}) }])
|
||||
can.page.style(can, ui._target, {left: (can.page.width()-ui._target.offsetWidth)/2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user