update 2022-12-29 20:17:00

This commit is contained in:
github-actions[bot] 2022-12-29 20:17:00 +08:00
parent 974411a6a9
commit d318be2071
5 changed files with 8 additions and 5 deletions

View File

@ -16,7 +16,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-amlogic
PKG_VERSION:=3.1.152
PKG_VERSION:=3.1.153
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 License

View File

@ -144,7 +144,7 @@
my_box_mode_id = my_box_mode[0];
my_box_mode_name = my_box_mode[1];
if ( parseFloat(my_box_mode_id).toString() != "NaN" && my_box_mode_name != "" ) {
_option_codes = _option_codes + '<option value="' + my_box_mode_id + '">[' + my_box_mode_id + '] ' + my_box_mode_name.replace(/~/g, " ") + '</option>';
_option_codes = _option_codes + '<option value="' + my_box_mode_id + '">[ ' + my_box_mode_id + ' ] ' + my_box_mode_name.replace(/~/g, " ") + '</option>';
}
}
_option_codes = _option_codes + '<option value="99"><%:Enter the dtb file name%></option>';

View File

@ -4,6 +4,9 @@
module("luci.controller.lucky", package.seeall)
function index()
if not nixio.fs.access("/etc/config/lucky") then
return
end
entry({"admin", "services", "lucky"}, alias("admin", "services", "lucky", "setting"),_("Lucky"), 57).dependent = true
entry({"admin", "services", "lucky", "setting"}, cbi("lucky"), _("Base Setting"), 20).leaf=true

View File

@ -1,5 +1,5 @@
<%#
Copyright 2021-2022 sirpdboy Wich <herboy2008@gmail.com>
Copyright 2021-2022 sirpdboy Wich <sirpdboy@qq.com>
https://github.com/sirpdboy/luci-app-lucky
Licensed to the public under the Apache License 2.0.
-%>

View File

@ -15,8 +15,8 @@
if (d.running)
{
var luckyAdminURL = ""+ window.location.protocol + "//" + window.location.hostname +":"+ d.port+d.safeurl+"";
tb.innerHTML = '<em><b style=\"color:green\"><%:The Lucky service is running.%></b></em>'
+ '<em> <br/><br/>' + ' <b > <%:Click the new page to open Lucky%> <a href="' +luckyAdminURL+'"'+' target="_blank">' + luckyAdminURL + ' </a> </b> <br/> </em>'
tb.innerHTML = '<em><b style=\"color:green\"><%:The Lucky service is running.%></b></em>';
tb.innerHTML +='<em> <br/><br/>' + ' <b > <%:Click the new page to open Lucky%> <a href="' +luckyAdminURL+'"'+' target="_blank">' + luckyAdminURL + ' </a><br/> </em>';
}
else
{