forked from x/volcanos
opt some
This commit is contained in:
parent
f33fa5b9fe
commit
a9d5334dd6
2
const.js
2
const.js
@ -466,6 +466,8 @@ var icon = {
|
|||||||
tag: "bi bi-tags", save: "bi bi-floppy", trash: "bi bi-trash",
|
tag: "bi bi-tags", save: "bi bi-floppy", trash: "bi bi-trash",
|
||||||
top: "bi bi-globe", main: "bi bi-house-door",
|
top: "bi bi-globe", main: "bi bi-house-door",
|
||||||
|
|
||||||
|
pluginCreate: "bi bi-box-arrow-in-down",
|
||||||
|
|
||||||
notifications: "bi bi-chat-right-text",
|
notifications: "bi bi-chat-right-text",
|
||||||
play: "bi bi-play-circle", app: "bi bi-box-arrow-down-left",
|
play: "bi bi-play-circle", app: "bi bi-box-arrow-down-left",
|
||||||
}
|
}
|
||||||
|
2
frame.js
2
frame.js
@ -289,7 +289,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) {
|
|||||||
return (value || value === "") && {view: [[html.ITEM, html.BUTTON, key, mdb.ICONS, "state"]], list: [{icon: icon[key]}], title: can.user.trans(can, key), onclick: function(event) {
|
return (value || value === "") && {view: [[html.ITEM, html.BUTTON, key, mdb.ICONS, "state"]], list: [{icon: icon[key]}], title: can.user.trans(can, key), onclick: function(event) {
|
||||||
var cb = _can.onaction[value]; cb && _can.onaction[value](event, _can, value, _can.sub)
|
var cb = _can.onaction[value]; cb && _can.onaction[value](event, _can, value, _can.sub)
|
||||||
}}
|
}}
|
||||||
})
|
}).concat(can.Conf("_plugin_action")||[])
|
||||||
); return meta
|
); return meta
|
||||||
},
|
},
|
||||||
_output0: function(can, meta, event, cmds, cb, silent) { var msg = can.request(event); meta.feature = meta.feature||{}
|
_output0: function(can, meta, event, cmds, cb, silent) { var msg = can.request(event); meta.feature = meta.feature||{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user