forked from x/volcanos
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",
|
plan: "bi bi-calendar4-week",
|
||||||
status: "bi bi-git",
|
status: "bi bi-git",
|
||||||
|
|
||||||
|
access: "bi bi-file-earmark-lock",
|
||||||
sso: "bi bi-shield-check", login: "bi bi-person-check", token: "bi bi-key",
|
sso: "bi bi-shield-check", login: "bi bi-person-check", token: "bi bi-key",
|
||||||
username: "bi bi-person-gear", nodename: "bi bi-globe",
|
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",
|
full: "bi bi-arrows-fullscreen", open: "bi bi-box-arrow-up-right",
|
||||||
more: "bi bi-three-dots-vertical", actions: "bi bi-three-dots",
|
more: "bi bi-three-dots-vertical", actions: "bi bi-three-dots",
|
||||||
search: "bi bi-search", favor: "bi bi-star",
|
search: "bi bi-search", favor: "bi bi-star",
|
||||||
|
@ -10,6 +10,7 @@ Volcanos(chat.ONFIGURE, {key: {
|
|||||||
_show: function(can, msg, cb, target, name) {
|
_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 (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 = {}
|
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]
|
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
|
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) {
|
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