mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
09810f9d1b
commit
40ba82b5b2
6
const.js
6
const.js
@ -411,9 +411,13 @@ var icon = {
|
||||
plan: "bi bi-calendar4-week",
|
||||
status: "bi bi-git",
|
||||
|
||||
access: "bi bi-file-earmark-lock",
|
||||
sso: "bi bi-shield-check", login: "bi bi-person-check", token: "bi bi-key",
|
||||
username: "bi bi-person-gear", nodename: "bi bi-globe",
|
||||
domain: "bi bi-globe", origin: "bi bi-globe", vendor: "bi bi-shop",
|
||||
domain: "bi bi-globe",
|
||||
origin: "bi bi-globe",
|
||||
server: "bi bi-globe",
|
||||
vendor: "bi bi-shop",
|
||||
full: "bi bi-arrows-fullscreen", open: "bi bi-box-arrow-up-right",
|
||||
more: "bi bi-three-dots-vertical", actions: "bi bi-three-dots",
|
||||
search: "bi bi-search", favor: "bi bi-star",
|
||||
|
@ -10,6 +10,7 @@ Volcanos(chat.ONFIGURE, {key: {
|
||||
_show: function(can, msg, cb, target, name) {
|
||||
if (msg.Length() == 0 || msg.Length() == 1 && msg.Append(name) == target.value && target.value != "" || msg.Length() == 1 && msg.Append(name) == "") { return can.onmotion.hidden(can) }
|
||||
if (can.base.isIn(msg.append[msg.append.length-1], ctx.ACTION, "cb")) { msg.append = msg.append.slice(0, -1) } var list = {}
|
||||
msg.Option(ice.TABLE_CHECKBOX, "")
|
||||
can.onmotion.clear(can), can.onappend.table(can, msg, function(value, key, index, item) { value = item[key]
|
||||
if (msg.append.length == 1 && index < 100 && list[value]) { return } list[value] = true
|
||||
return {text: [value, html.TD, value == ""? html.HR: ""], style: msg.append && msg.append.length == 1? kit.Dict(html.MIN_WIDTH, target.offsetWidth-16): {}, onclick: function(event) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user