mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Show all config in OMR interface
This commit is contained in:
parent
b376208bd6
commit
877687892f
2 changed files with 13 additions and 0 deletions
|
@ -18,6 +18,7 @@ function index()
|
||||||
entry({"admin", "system", "openmptcprouter", "settings"}, template("openmptcprouter/settings"), _("Advanced Settings"), 3).leaf = true
|
entry({"admin", "system", "openmptcprouter", "settings"}, template("openmptcprouter/settings"), _("Advanced Settings"), 3).leaf = true
|
||||||
entry({"admin", "system", "openmptcprouter", "settings_add"}, post("settings_add")).leaf = true
|
entry({"admin", "system", "openmptcprouter", "settings_add"}, post("settings_add")).leaf = true
|
||||||
entry({"admin", "system", "openmptcprouter", "update_vps"}, post("update_vps")).leaf = true
|
entry({"admin", "system", "openmptcprouter", "update_vps"}, post("update_vps")).leaf = true
|
||||||
|
entry({"admin", "system", "openmptcprouter", "debug"}, template("openmptcprouter/debug"), _("Show all settings"), 4).leaf = true
|
||||||
end
|
end
|
||||||
|
|
||||||
function interface_from_device(dev)
|
function interface_from_device(dev)
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<%+header%>
|
||||||
|
|
||||||
|
<% if stderr and #stderr > 0 then %><pre class="error"><%=pcdata(stderr)%></pre><% end %>
|
||||||
|
<form class="inline" method="post" action="<%=url('admin/system/openmptcprouter/update_vps')%>">
|
||||||
|
<div class="cbi-map">
|
||||||
|
<h2 name="content"><%:All OpenMPTCProuter settings%></h2>
|
||||||
|
<div class="cbi-section">
|
||||||
|
<pre><%=luci.sys.exec("uci show")%></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<%+footer%>
|
Loading…
Add table
Add a link
Reference in a new issue