mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
add some
This commit is contained in:
parent
aab5701f29
commit
6c9ded301c
@ -222,6 +222,7 @@ Volcanos("page", {
|
||||
text = text.replace(/\033\[33m/g, "<span style='color:#ff0'>")
|
||||
text = text.replace(/\033\[34m/g, "<span style='color:#00f'>")
|
||||
text = text.replace(/\033\[36m/g, "<span style='color:#0ff'>")
|
||||
text = text.replace(/\033\[37m/g, "<span style='color:gray'>")
|
||||
text = text.replace(/\033\[34;1m/g, "<span style='color:#00f'>")
|
||||
text = text.replace(/\033\[37;1m/g, "<span style='color:#fff'>")
|
||||
text = text.replace(/\033\[1m/g, "<span style='font-weight:bold'>")
|
||||
|
@ -1,4 +1,5 @@
|
||||
Volcanos(chat.ONIMPORT, {_init: function(can, msg, target) { can.onmotion.clear(can, target)
|
||||
can.onappend.table(can, msg)
|
||||
can.onappend.style(can, nfs.JSON, can._output), can.onimport.show(can, can.base.Obj(msg.Result(), {}), target)
|
||||
},
|
||||
show: function(can, data, target) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user