mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
ad17b22061
commit
78e18b47b3
1
const.js
1
const.js
@ -462,6 +462,7 @@ var icon = {
|
|||||||
modify: "bi bi-pencil-square",
|
modify: "bi bi-pencil-square",
|
||||||
rename: "bi bi-pencil-square",
|
rename: "bi bi-pencil-square",
|
||||||
remove: "bi bi-trash",
|
remove: "bi bi-trash",
|
||||||
|
detail: "bi bi-file-earmark-text",
|
||||||
enable: "bi bi-toggle-off", disable: "bi bi-toggle-on",
|
enable: "bi bi-toggle-off", disable: "bi bi-toggle-on",
|
||||||
expire: "bi bi-clock-history",
|
expire: "bi bi-clock-history",
|
||||||
|
|
||||||
|
@ -128,6 +128,7 @@ table.content th.select[data-asc="0"] i.bi-sort-up { display:none; }
|
|||||||
table.content th.select[data-asc="1"] i.bi-sort-down-alt { display:none; }
|
table.content th.select[data-asc="1"] i.bi-sort-down-alt { display:none; }
|
||||||
table.content td.option { cursor:pointer; }
|
table.content td.option { cursor:pointer; }
|
||||||
table.content td { padding:var(--table-padding); }
|
table.content td { padding:var(--table-padding); }
|
||||||
|
table.content td img { height:48px; width:auto; }
|
||||||
table.content td i { padding:var(--input-padding); }
|
table.content td i { padding:var(--input-padding); }
|
||||||
table.content:not(.detail) td input.icons { display:none; }
|
table.content:not(.detail) td input.icons { display:none; }
|
||||||
table.content.checkbox th:first-child { text-align:center; padding:var(--table-padding); position:sticky; left:2px; width:20px; }
|
table.content.checkbox th:first-child { text-align:center; padding:var(--table-padding); position:sticky; left:2px; width:20px; }
|
||||||
@ -695,6 +696,7 @@ div.item.text.id>input { width:80px; }
|
|||||||
div.item.text.url>input { width:var(--river-width); }
|
div.item.text.url>input { width:var(--river-width); }
|
||||||
div.item.text.port>input { width:80px; }
|
div.item.text.port>input { width:80px; }
|
||||||
div.item.text.line>input { width:80px; }
|
div.item.text.line>input { width:80px; }
|
||||||
|
body:not(.mobile) div.item.text.hash>input { width:320px; }
|
||||||
fieldset.plugin>form.option>div.item.text.path>input { width:var(--project-width); }
|
fieldset.plugin>form.option>div.item.text.path>input { width:var(--project-width); }
|
||||||
div.item.text.limit>input { width:var(--button-width); }
|
div.item.text.limit>input { width:var(--button-width); }
|
||||||
div.item.text.offend>input { width:var(--button-width); }
|
div.item.text.offend>input { width:var(--button-width); }
|
||||||
|
@ -156,7 +156,7 @@ Volcanos("misc", {
|
|||||||
if (input.type == html.BUTTON) {
|
if (input.type == html.BUTTON) {
|
||||||
input.value = can.user.trans(can, input.value||input.name, field)
|
input.value = can.user.trans(can, input.value||input.name, field)
|
||||||
} else {
|
} else {
|
||||||
cbs(input, index, field, order)
|
cbs && cbs(input, index, field, order)
|
||||||
}
|
}
|
||||||
input.type == html.BUTTON && input.action == ice.AUTO && can.onmotion.delay(can, function() { cb(field, order) })
|
input.type == html.BUTTON && input.action == ice.AUTO && can.onmotion.delay(can, function() { cb(field, order) })
|
||||||
})
|
})
|
||||||
@ -373,4 +373,4 @@ Volcanos("misc", {
|
|||||||
_signal: function(args) { this._list.push(args) }, _list: [], _skip: navigator && navigator.userAgent.indexOf("Chrome") > -1? 3: 3,
|
_signal: function(args) { this._list.push(args) }, _list: [], _skip: navigator && navigator.userAgent.indexOf("Chrome") > -1? 3: 3,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,6 +252,11 @@ Volcanos(chat.ONACTION, {
|
|||||||
"删除工具": function(event, can) { can.onaction._close(event, can) },
|
"删除工具": function(event, can) { can.onaction._close(event, can) },
|
||||||
|
|
||||||
refresh: function(event, can) { can.onimport.size(can, can.ConfHeight(), can.ConfWidth(), true, can.Mode()) },
|
refresh: function(event, can) { can.onimport.size(can, can.ConfHeight(), can.ConfWidth(), true, can.Mode()) },
|
||||||
|
detail: function(event, can) { var msg = can.request(event)
|
||||||
|
can.core.Item(can.Option(), function(key, value) {
|
||||||
|
can.Option(key, msg.Option(key)||"")
|
||||||
|
}), can.Update()
|
||||||
|
},
|
||||||
close: function(event, can) {
|
close: function(event, can) {
|
||||||
if (can.isCmdMode()) {
|
if (can.isCmdMode()) {
|
||||||
can.user.close()
|
can.user.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user