summaryrefslogtreecommitdiffstats
path: root/qos-details-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'qos-details-html.lsp')
-rw-r--r--qos-details-html.lsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qos-details-html.lsp b/qos-details-html.lsp
index e9b2f01..ba5a631 100644
--- a/qos-details-html.lsp
+++ b/qos-details-html.lsp
@@ -2,7 +2,7 @@
require("htmlviewfunctions")
%>
-<% htmlviewfunctions.displaycommandresults({"enable","config","expert","startstop"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"enable","config","expert","startstopinterface"}, session) %>
<% viewlibrary.dispatch_component("status") %>
@@ -19,16 +19,16 @@ require("htmlviewfunctions")
<TD style="padding-right:20px;white-space:nowrap;">
<% if intf.enabled then %>
<% io.write(html.link{value = "config?DEV="..intf.interface.."&redir="..page_info.orig_action, label="Edit " }) %>
- <% io.write(html.link{value = "expert?interface="..intf.interface.."&redir="..page_info.orig_action, label="Expert " }) %>
+ <% io.write(html.link{value = "expert?filename="..intf.filename.."&redir="..page_info.orig_action, label="Expert " }) %>
<% io.write(html.link{value = page_info.script .. "/alpine-baselayout/rc/edit?servicename="..intf.init.."&redir=".. page_info.orig_action, label="Autostart " }) %>
<% else %>
- <% io.write(html.link{value = "enable?interface="..intf.interface.."&redir="..page_info.orig_action, label="Enable " }) %>
+ <% io.write(html.link{value = "enable?submit=true&interface="..intf.interface, label="Enable " }) %>
<% end %>
</TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(intf.interface) %></TD>
<TD style="white-space:nowrap;" width="90%"><%= html.html_escape(intf.status) %></TD>
<% if intf.enabled then %>
- <TD><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/startstop") %>" method="POST">
+ <TD><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/startstopinterface") %>" method="POST">
<input type="hidden" name="init" value="<%= intf.init %>">
<input class="submit" type="submit" name="submit" value="Start">
<input class="submit" type="submit" name="submit" value="Stop">