From 2acea3b4c25f843f4292da4fe9eea78cf97ca736 Mon Sep 17 00:00:00 2001 From: skel Date: Thu, 30 Jun 2011 15:13:54 -0400 Subject: Interface for OSPF --- ospf-startstop-html.lsp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 ospf-startstop-html.lsp (limited to 'ospf-startstop-html.lsp') diff --git a/ospf-startstop-html.lsp b/ospf-startstop-html.lsp new file mode 100755 index 0000000..c98208b --- /dev/null +++ b/ospf-startstop-html.lsp @@ -0,0 +1,22 @@ +<% local data, viewlibrary, page_info = ... %> + +

Management

+ +<% if data.value.result then %> +

Previous action result

+<% if data.value.result.value ~= "" then %> +

<%= string.gsub(html.html_escape(data.value.result.value), "\n", "
") %>

+<% end if data.value.result.errtxt then %> +

<%= string.gsub(html.html_escape(data.value.result.errtxt), "\n", "
") %>

+<% end end %> + +
+
" method="POST"> +
Program control-panel
+
+<% for i,act in ipairs(data.value.actions.value) do %> + +<% end %> +
+
+
-- cgit v1.2.3