update 2026-09-23 17:00:17

This commit is contained in:
action committed 2026-09-23 17:00:17 +08:00
1 parent 4c14ad0233
commit 77395e0373
99 files changed
+23008 -876

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=kai
PKG_VERSION:=1.0.2
PKG_RELEASE:=1
LUCI_DEPENDS:=+kai +kai_session +luci-compat
PKG_RELEASE:=2
LUCI_DEPENDS:=+kai +luci-compat
LUCI_MINIFY_CSS:=0
LUCI_MINIFY_JS:=0
+2 -3
View File
@@ -1,4 +1,4 @@
<script <script type="text/javascript">//<![CDATA[
<script type="text/javascript">//<![CDATA[
XHR.poll(5, '<%=url("admin/services/kai_status")%>', null,function(x, st){
var el = document.getElementById('kai_status');
if (st && el){
@@ -7,7 +7,7 @@ XHR.poll(5, '<%=url("admin/services/kai_status")%>', null,function(x, st){
}
if (st.running){
el.innerHTML = '<br/><em style=\"color:green\"><%:The KAI service is running.%></em>'
+ "<br/><br/><input class=\"btn cbi-button cbi-button-apply\" type=\"button\" value=\" <%:Click to open KAI%> \" onclick=\"window.open('http://" + window.location.hostname + ":" + st.port + "/')\"/>";
+ "<br/><br/><input class=\"btn cbi-button cbi-button-apply\" type=\"button\" value=\" <%:Click to open KAI%> \" onclick=\"window.open('http://" + window.location.hostname + ":" + st.port + "/apps/kai/web/')\"/>";
}
}
});
@@ -19,4 +19,3 @@ XHR.poll(5, '<%=url("admin/services/kai_status")%>', null,function(x, st){
<em><%:Collecting data...%></em>
</p>
</fieldset>