From 7a92f40719ecb9f5753ded732cc69807e49809d9 Mon Sep 17 00:00:00 2001
From: Beginner <70857188+Beginner-Go@users.noreply.github.com>
Date: Fri, 28 May 2021 11:18:58 +0800
Subject: [PATCH] luci-app: adapt LuCI style of luci-theme-openwrt-2020 (#6884)
* luci-app-amule: adapt LuCI style of luci-theme-openwrt-2020
* luci-app-unblockmusic: adapt LuCI style of luci-theme-openwrt-2020
Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
---
.../lean/luci-app-amule/luasrc/view/amule/detail_logview.htm | 4 ++--
.../lean/luci-app-amule/luasrc/view/amule/overview_status.htm | 2 +-
package/lean/luci-app-amule/luasrc/view/amule/webshell.htm | 4 ++--
.../luasrc/model/cbi/unblockmusic/unblockmusic.lua | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package/lean/luci-app-amule/luasrc/view/amule/detail_logview.htm b/package/lean/luci-app-amule/luasrc/view/amule/detail_logview.htm
index 8effbacfd..7a77fb6b3 100644
--- a/package/lean/luci-app-amule/luasrc/view/amule/detail_logview.htm
+++ b/package/lean/luci-app-amule/luasrc/view/amule/detail_logview.htm
@@ -27,7 +27,7 @@
<%
-- one button on top, one at the buttom
%>
- />
@@ -49,7 +49,7 @@ attr("name", cbid .. ".txt") .. attr("id", cbid .. ".txt") .. ifattr(self.rows,
<%
-- one button on top, one at the buttom
%>
- />
<%+cbi/valuefooter%>
diff --git a/package/lean/luci-app-amule/luasrc/view/amule/overview_status.htm b/package/lean/luci-app-amule/luasrc/view/amule/overview_status.htm
index 8fd752186..272bfdd52 100644
--- a/package/lean/luci-app-amule/luasrc/view/amule/overview_status.htm
+++ b/package/lean/luci-app-amule/luasrc/view/amule/overview_status.htm
@@ -3,7 +3,7 @@ XHR.poll(5, '<%=luci.dispatcher.build_url("admin/nas/amule/status")%>', null,
function(x, data) {
var tb = document.getElementById('amule_status');
var btn = document.getElementById("amule_startstop");
- var btn_tmpl = ''
+ var btn_tmpl = ''
if (data && tb) {
if (data.amuled) {
var links = '<%:aMule daemon is running.%>';
diff --git a/package/lean/luci-app-amule/luasrc/view/amule/webshell.htm b/package/lean/luci-app-amule/luasrc/view/amule/webshell.htm
index 998fa170a..40574e00c 100644
--- a/package/lean/luci-app-amule/luasrc/view/amule/webshell.htm
+++ b/package/lean/luci-app-amule/luasrc/view/amule/webshell.htm
@@ -82,9 +82,9 @@
<%=translate("Command: ")%>
- />
- />
diff --git a/package/lean/luci-app-unblockmusic/luasrc/model/cbi/unblockmusic/unblockmusic.lua b/package/lean/luci-app-unblockmusic/luasrc/model/cbi/unblockmusic/unblockmusic.lua
index 00666f9de..970713f9e 100644
--- a/package/lean/luci-app-unblockmusic/luasrc/model/cbi/unblockmusic/unblockmusic.lua
+++ b/package/lean/luci-app-unblockmusic/luasrc/model/cbi/unblockmusic/unblockmusic.lua
@@ -69,7 +69,7 @@ o.description = translate("每天自动检测并更新到最新版本")
o:depends("apptype", "nodejs")
download_certificate=s:option(DummyValue,"opennewwindow",translate("HTTPS 证书"))
-download_certificate.description = translate("
Mac/iOS客户端需要安装 CA根证书并信任
iOS系统需要在“设置 -> 通用 -> 关于本机 -> 证书信任设置”中,信任 UnblockNeteaseMusic Root CA
Linux 设备请在启用时加入 --ignore-certificate-errors 参数")
+download_certificate.description = translate("
Mac/iOS客户端需要安装 CA根证书并信任
iOS系统需要在“设置 -> 通用 -> 关于本机 -> 证书信任设置”中,信任 UnblockNeteaseMusic Root CA
Linux 设备请在启用时加入 --ignore-certificate-errors 参数")
local ver = fs.readfile("/usr/share/UnblockNeteaseMusic/core_ver") or "0.00"