luci: add report bugs button

This commit is contained in:
Nick Peng
2022-12-15 22:36:51 +08:00
parent f8f1a66abe
commit f76c46caa6
4 changed files with 22 additions and 0 deletions

View File

@@ -554,6 +554,14 @@ o.write = function()
luci.http.redirect("https://pymumu.github.io/smartdns")
end
o = s:option(Button, "report")
o.title = translate("Report bugs")
o.inputtitle = translate("Report bugs")
o.inputstyle = "apply"
o.write = function()
luci.http.redirect("https://github.com/pymumu/smartdns/issues")
end
o = s:option(Button, "Donate")
o.title = translate("Donate to smartdns")
o.inputtitle = translate("Donate")