mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 10:31:55 +08:00
luci-app-https-dns-proxy: update to 2025.05.11-4
* update license ID and copyright in Makefile * add a short README with link to full documentation * switch doc link from melmac.net to melmac.ca * add donate text/URL * attempt to fix bootstrap DNS loading/saving from json * add DNS4EU provider (thanks @rikroe) * add OpenNameServer provider (thanks @Phoenix616) Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
+18
-3
@@ -18,12 +18,21 @@ var pkg = {
|
||||
},
|
||||
get URL() {
|
||||
return (
|
||||
"https://docs.openwrt.melmac.net/" +
|
||||
"https://docs.openwrt.melmac.ca/" +
|
||||
pkg.Name +
|
||||
"/" +
|
||||
(pkg.ReadmeCompat ? pkg.ReadmeCompat + "/" : "")
|
||||
);
|
||||
},
|
||||
get DonateURL() {
|
||||
return (
|
||||
"https://docs.openwrt.melmac.ca/" +
|
||||
pkg.Name +
|
||||
"/" +
|
||||
(pkg.ReadmeCompat ? pkg.ReadmeCompat + "/" : "") +
|
||||
"#Donate"
|
||||
);
|
||||
},
|
||||
templateToRegexp: function (template) {
|
||||
if (template)
|
||||
return new RegExp(
|
||||
@@ -203,7 +212,7 @@ var status = baseclass.extend({
|
||||
} else {
|
||||
text = _("Not installed or not found");
|
||||
}
|
||||
var statusText = E("div", {}, text);
|
||||
var statusText = E("div", { class: "cbi-value-description" }, text);
|
||||
var statusField = E("div", { class: "cbi-value-field" }, statusText);
|
||||
var statusDiv = E("div", { class: "cbi-value" }, [
|
||||
statusTitle,
|
||||
@@ -281,7 +290,13 @@ var status = baseclass.extend({
|
||||
"<br />"
|
||||
);
|
||||
});
|
||||
var instancesText = E("div", {}, text);
|
||||
text +=
|
||||
"<br />" +
|
||||
_("Please %sdonate%s to support development of this project.").format(
|
||||
"<a href='" + pkg.DonateURL + "' target='_blank'>",
|
||||
"</a>"
|
||||
);
|
||||
var instancesText = E("div", { class: "cbi-value-description" }, text);
|
||||
var instancesField = E("div", { class: "cbi-value-field" }, [
|
||||
instancesText,
|
||||
instancesDescr,
|
||||
|
||||
Reference in New Issue
Block a user