summaryrefslogtreecommitdiffstats
path: root/interfaces-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-03-04 02:41:32 +0000
committerTed Trask <ttrask01@yahoo.com>2014-03-04 02:41:32 +0000
commitf9780f645bc94f2f79fc4e266e671d15232d4b9d (patch)
treeba25e6d23f9a89891d4a01c5d1ffe4c59718c914 /interfaces-model.lua
parentb0f4fadb7b62297b6dbd574b2a7d8eee0f990eb4 (diff)
downloadacf-alpine-baselayout-f9780f645bc94f2f79fc4e266e671d15232d4b9d.tar.bz2
acf-alpine-baselayout-f9780f645bc94f2f79fc4e266e671d15232d4b9d.tar.xz
Change HTML views to use htmlviewfunctions.displayheader
Modified some models to change labels
Diffstat (limited to 'interfaces-model.lua')
-rw-r--r--interfaces-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/interfaces-model.lua b/interfaces-model.lua
index 9fee686..ffcc376 100644
--- a/interfaces-model.lua
+++ b/interfaces-model.lua
@@ -336,7 +336,7 @@ mymodule.get_status = function ()
status.ipaddr.value, status.ipaddr.errtxt = modelfunctions.run_executable({"ip", "addr"})
status.iptunnel.value, status.iptunnel.errtxt = modelfunctions.run_executable({"ip", "tunnel"})
- return cfe({ type="group", value=status, label="Status" })
+ return cfe({ type="group", value=status, label="Interfaces Status" })
end
mymodule.get_file = function ()
@@ -426,7 +426,7 @@ mymodule.get_restartnetworking = function(self, clientdata)
local actions = {}
actions[1] = "restart"
local service = cfe({ type="hidden", value=servicename, label="Service Name" })
- local startstop = cfe({ type="group", label="Restart Networking", value={servicename=service}, option=actions })
+ local startstop = cfe({ type="group", label="Restart Networking", value={servicename=service}, option=actions, descr="WARNING!!! Restarting networking may cause the ACF web interface to stop functioning. Try refreshing this page after restarting. If that fails, you may have to use terminal access to recover." })
return startstop
end