From a860d3d85fbd439bcabd9be05171290b76a70e90 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:30:53 +0000 Subject: Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags --- qos-details-html.lsp | 52 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 17 deletions(-) diff --git a/qos-details-html.lsp b/qos-details-html.lsp index 50f488b..8592ff8 100644 --- a/qos-details-html.lsp +++ b/qos-details-html.lsp @@ -3,21 +3,39 @@ htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> + + + + + + <% htmlviewfunctions.displaycommandresults({"enable","config","expert","startstopinterface"}, session) %> <% viewlibrary.dispatch_component("status") %> -

<%= html.html_escape(data.label) %>

-
- - - - - - +

<%= html.html_escape(data.label) %>

+
ActionInterfaceStatus
+ + + + + + <% for i,intf in ipairs(data.value) do %> - - + - - + + + <% if intf.enabled then %> - + <% end %> - + <% end %> -
ActionInterfaceStatus
+
<% 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?filename="..intf.filename.."&redir="..page_info.orig_action, label="Expert " }) %> @@ -25,17 +43,17 @@ html = require("acf.html") <% else %> <% io.write(html.link{value = "enable?submit=true&interface="..intf.interface, label="Enable " }) %> <% end %> - <%= html.html_escape(intf.interface) %><%= html.html_escape(intf.status) %><%= html.html_escape(intf.interface) %><%= html.html_escape(intf.status) %>
" method="POST"> +
" method="post"> -
+ -- cgit v1.2.3