diff --git a/base/web/store.css b/base/web/store.css index 76b29c0b..fd13c03f 100644 --- a/base/web/store.css +++ b/base/web/store.css @@ -1,4 +1,5 @@ -fieldset.web.store>div.output>div.project { width:160px; flex:0 0 160px; } +/* fieldset.web.store>div.output>div.project { width:160px; flex:0 0 160px; } */ +fieldset.web.store>div.output>div.project div.list { margin-left:25px; border-left:var(--notice-bg-color) solid 3px; } fieldset.web.store>div.output>div.layout>div.layout>div.content>div.item div.title div.label { font-size:var(--status-font-size); font-weight:normal; margin-top:var(--input-margin); } fieldset.web.store>div.output>div.layout>div.layout>div.content>div.item div.title div.label span { padding:var(--input-padding); padding-right:var(--input-margin); } fieldset.web.store>div.output>div.layout>div.layout>div.content>div.item div.content { height:70px; } diff --git a/base/web/store.js b/base/web/store.js index aaa3ab7d..4ecb22de 100644 --- a/base/web/store.js +++ b/base/web/store.js @@ -8,8 +8,12 @@ Volcanos(chat.ONIMPORT, { }), select && select.click(), can.onmotion.orderShow(can, can.ui.project) can.onappend.style(can, "output card", can.ui.content), can.onmotion.delay(can, function() { can.onimport.layout(can) }) }, __content: function(can, msg, dev, target) { var list = [] - can.onimport.card(can, msg, null, function(value) { if (value.type == web.SERVER) { list.push(value); return true } }) - can.onimport.itemlist(can, list, function(event, value) { can.onimport.dream(event, can, value, event.currentTarget) }, null, target) + can.onimport.card(can, msg, null, function(value) { + value.icons = can.misc.Resource(can, value.icons, "", value.origin) + if (value.type == web.SERVER) { + list.push(value); return true } }) + can.onimport.itemlist(can, list, function(event, value) { + can.onimport.dream(event, can, value, event.currentTarget) }, null, target) }, dream: function(event, can, value, target) { can.isCmdMode()? can.misc.SearchHash(can, value.name): can.sup.db._zone = value.name can.page.Select(can, can.ui.project, html.DIV_ITEM, function(_target) {