forked from x/icebergs
add some
This commit is contained in:
parent
c6684e26f1
commit
59461dbba0
@ -13,7 +13,7 @@ Volcanos(chat.ONIMPORT, {
|
||||
},
|
||||
layout: function(can) {
|
||||
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)
|
||||
},
|
||||
}, [""])
|
||||
|
@ -79,10 +79,8 @@ var Index = &ice.Context{Name: WEB, Help: "网络模块"}
|
||||
|
||||
func init() {
|
||||
ice.Index.Register(Index, &Frame{},
|
||||
BROAD, SERVE, DREAM, ROUTE, SPACE,
|
||||
TOKEN, SHARE, CACHE, SPIDE, COUNT,
|
||||
STORE,
|
||||
ADMIN, STATS,
|
||||
BROAD, SERVE, DREAM, ROUTE, SPACE, STORE,
|
||||
TOKEN, SHARE, CACHE, SPIDE, COUNT, ADMIN, STATS,
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ const MESSAGE = "message"
|
||||
|
||||
func init() {
|
||||
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) {
|
||||
messageCreate(m, web.DREAM, "usr/icons/Launchpad.png")
|
||||
messageCreate(m, cli.SYSTEM, "usr/icons/System Settings.png")
|
||||
|
@ -14,7 +14,7 @@ const TRENDS = "trends"
|
||||
|
||||
func init() {
|
||||
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(
|
||||
"from", "起始", "date", "日期", "max", "最多", "add", "添加", "del", "删除",
|
||||
)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user