diff --git a/core/chat/header.go b/core/chat/header.go index 52c39ae4..33c1ceb3 100644 --- a/core/chat/header.go +++ b/core/chat/header.go @@ -164,7 +164,7 @@ func init() { ), " ."), 0)), "_", "-")) m.Option("language.list", m.Cmd(nfs.DIR, nfs.TemplatePath(m, aaa.LANGUAGE)+nfs.PS, nfs.FILE).Appendv(nfs.FILE)) m.Option("theme.list", m.Cmd(nfs.DIR, nfs.TemplatePath(m, aaa.THEME)+nfs.PS, nfs.FILE).Appendv(nfs.FILE)) - if m.Option(ice.MSG_USERNAME) == "" || m.Option(ice.MSG_INDEX) == m.PrefixKey() { + if m.Option(ice.MSG_USERNAME) == "" || kit.IsIn(m.Option(ice.MSG_INDEX), m.PrefixKey(), m.CommandKey()) { mdb.HashSelect(m, arg...).Sort(mdb.ORDER, ice.INT) m.Table(func(value ice.Maps) { m.Push(mdb.STATUS, kit.Select(mdb.ENABLE, mdb.DISABLE, value[mdb.ORDER] == "")) }) defer m.StatusTimeCount(kit.Dict(mdb.ConfigSimple(m, ice.DEMO))) diff --git a/core/wiki/portal.css b/core/wiki/portal.css index 157725aa..15d45e0e 100644 --- a/core/wiki/portal.css +++ b/core/wiki/portal.css @@ -74,4 +74,4 @@ body.mobile fieldset.web.wiki.portal.home>div.output>div.layout>div.main h2 { ma body.mobile fieldset.web.wiki.portal>div.output>div.layout>div.main p { padding:var(--input-padding); margin:0; } body.width2 fieldset.web.wiki.portal>div.output>div.layout>div.main>div.flex { flex-direction:column; } body.web.wiki.portal fieldset.Action.home>div.toast { display:none; } -body.web.wiki.portal.cmd { background-color:rgb(22 31 49); } +// body.web.wiki.portal.cmd { background-color:rgb(22 31 49); } diff --git a/core/wiki/spark.go b/core/wiki/spark.go index 5a8b003b..a9785e53 100644 --- a/core/wiki/spark.go +++ b/core/wiki/spark.go @@ -81,8 +81,8 @@ func init() { if aaa.Right(m.Spawn(), arg[0]) { m.Cmdy(FIELD, "", arg[0], arg[1:]) } else { - p := kit.Format("http://localhost:9020/chat/cmd/%s", arg[0]) - m.Cmdy(SPARK, p, arg[1:]).Cmdy(IFRAME, p, arg[1:]) + p := kit.Format("https://demo.shylinux.com/c/%s", arg[0]) + m.Cmdy(SPARK, p, arg[1:]).Cmdy("web.wiki.iframe", p, arg[1:]) } }}, INNER: {Hand: func(m *ice.Message, arg ...string) {