mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04:06 +08:00
add some
This commit is contained in:
parent
b7cfd28753
commit
2e1f36d3fd
@ -867,7 +867,7 @@ fieldset.cmd>div.item.avatar { padding:0; height:var(--action-height); }
|
|||||||
fieldset.cmd>div.item.avatar>img { height:var(--action-height); }
|
fieldset.cmd>div.item.avatar>img { height:var(--action-height); }
|
||||||
fieldset.cmd>div.action>div.tabs.select { border-bottom:var(--notice-bg-color) solid 2px; }
|
fieldset.cmd>div.action>div.tabs.select { border-bottom:var(--notice-bg-color) solid 2px; }
|
||||||
// fieldset.cmd>div.status>legend.select { border-top:var(--notice-bg-color) solid 2px; }
|
// fieldset.cmd>div.status>legend.select { border-top:var(--notice-bg-color) solid 2px; }
|
||||||
fieldset.cmd>div.output>div.project div.item.select { border-right:var(--notice-bg-color) solid 4px; }
|
fieldset.cmd>div.output>div.project div.item.select { border-right:var(--notice-bg-color) solid 3px; }
|
||||||
fieldset.Search div.story[data-type=spark] { margin:0; }
|
fieldset.Search div.story[data-type=spark] { margin:0; }
|
||||||
fieldset.Search>div.output>div.profile { border-left:none; width:unset; }
|
fieldset.Search>div.output>div.profile { border-left:none; width:unset; }
|
||||||
fieldset.Search>div.output>div.content>table.content td { cursor:pointer; }
|
fieldset.Search>div.output>div.content>table.content td { cursor:pointer; }
|
||||||
|
@ -192,7 +192,9 @@ Volcanos("misc", {
|
|||||||
return socket
|
return socket
|
||||||
},
|
},
|
||||||
ResourceFavicon(can) { return can.misc.Resource(can, nfs.SRC_MAIN_ICO) },
|
ResourceFavicon(can) { return can.misc.Resource(can, nfs.SRC_MAIN_ICO) },
|
||||||
Resource(can, path, space, serve) { if (can.base.beginWith(path, web.HTTP, nfs.PS)) { return path }
|
Resource(can, path, space, serve) {
|
||||||
|
if (serve && can.base.beginWith(path, nfs.PS)) { return serve+path }
|
||||||
|
if (can.base.beginWith(path, web.HTTP, nfs.PS)) { return path }
|
||||||
var p = can.base.MergeURL(nfs.REQUIRE+path+_version, ice.POD, space||can.ConfSpace()||can.misc.Search(can, ice.POD))
|
var p = can.base.MergeURL(nfs.REQUIRE+path+_version, ice.POD, space||can.ConfSpace()||can.misc.Search(can, ice.POD))
|
||||||
if (serve && serve.indexOf(location.origin) == -1) { var u = can.base.ParseURL(serve); p = u.origin + p }
|
if (serve && serve.indexOf(location.origin) == -1) { var u = can.base.ParseURL(serve); p = u.origin + p }
|
||||||
return p
|
return p
|
||||||
|
@ -9,8 +9,9 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg, target) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
card: function(can, msg, target, filter) { target = target||can.ui.content||can._output
|
card: function(can, msg, target, filter) { target = target||can.ui.content||can._output
|
||||||
var list = msg.Table(function(value) { value.icon = value.icons||value.icon||value.image
|
var list = msg.Table(function(value) {
|
||||||
if (filter && filter(value)) { return }
|
if (filter && filter(value)) { return }
|
||||||
|
value.icon = value.icons||value.icon||value.image
|
||||||
var img = can.misc.Resource(can, value.icon, value.type == web.MASTER? "": value.name)
|
var img = can.misc.Resource(can, value.icon, value.type == web.MASTER? "": value.name)
|
||||||
if (img.indexOf("/require/") == 0 && value.origin) { img = value.origin + img }
|
if (img.indexOf("/require/") == 0 && value.origin) { img = value.origin + img }
|
||||||
return {view: [[html.ITEM, value.type, value.status]], list: [
|
return {view: [[html.ITEM, value.type, value.status]], list: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user