1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-01-25 23:58:57 +08:00
parent c6684e26f1
commit 59461dbba0
4 changed files with 5 additions and 7 deletions

View File

@ -13,7 +13,7 @@ Volcanos(chat.ONIMPORT, {
}, },
layout: function(can) { layout: function(can) {
can.Action(html.FILTER) && can.onmotion.filter(can, can.Action(html.FILTER)) can.Action(html.FILTER) && can.onmotion.filter(can, can.Action(html.FILTER))
can.user.isMobile && can.onmotion.toggle(can, can.ui.project, can.user.isLandscape()) // can.user.isMobile && can.onmotion.toggle(can, can.ui.project, can.user.isLandscape())
can.ui.layout(can.ConfHeight(), can.ConfWidth()), can.onlayout.expand(can, can.ui.content, 320) can.ui.layout(can.ConfHeight(), can.ConfWidth()), can.onlayout.expand(can, can.ui.content, 320)
}, },
}, [""]) }, [""])

View File

@ -79,10 +79,8 @@ var Index = &ice.Context{Name: WEB, Help: "网络模块"}
func init() { func init() {
ice.Index.Register(Index, &Frame{}, ice.Index.Register(Index, &Frame{},
BROAD, SERVE, DREAM, ROUTE, SPACE, BROAD, SERVE, DREAM, ROUTE, SPACE, STORE,
TOKEN, SHARE, CACHE, SPIDE, COUNT, TOKEN, SHARE, CACHE, SPIDE, COUNT, ADMIN, STATS,
STORE,
ADMIN, STATS,
) )
} }

View File

@ -14,7 +14,7 @@ const MESSAGE = "message"
func init() { func init() {
Index.MergeCommands(ice.Commands{ Index.MergeCommands(ice.Commands{
MESSAGE: {Name: "message", Help: "聊天消息", Icon: "Messages.png", Actions: ice.MergeActions(ice.Actions{ MESSAGE: {Name: "message", Help: "聊天", Icon: "Messages.png", Actions: ice.MergeActions(ice.Actions{
ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) {
messageCreate(m, web.DREAM, "usr/icons/Launchpad.png") messageCreate(m, web.DREAM, "usr/icons/Launchpad.png")
messageCreate(m, cli.SYSTEM, "usr/icons/System Settings.png") messageCreate(m, cli.SYSTEM, "usr/icons/System Settings.png")

View File

@ -14,7 +14,7 @@ const TRENDS = "trends"
func init() { func init() {
Index.MergeCommands(ice.Commands{ Index.MergeCommands(ice.Commands{
TRENDS: {Name: "trends repos begin_time@date auto", Help: "趋势图", Meta: kit.Dict( TRENDS: {Name: "trends repos begin_time@date auto actions", Help: "趋势图", Meta: kit.Dict(
ice.CTX_TRANS, kit.Dict(html.INPUT, kit.Dict( ice.CTX_TRANS, kit.Dict(html.INPUT, kit.Dict(
"from", "起始", "date", "日期", "max", "最多", "add", "添加", "del", "删除", "from", "起始", "date", "日期", "max", "最多", "add", "添加", "del", "删除",
)), )),