diff options
-rw-r--r-- | bgp-details-html.lsp | 7 | ||||
-rw-r--r-- | ospf-details-html.lsp | 7 | ||||
-rw-r--r-- | zebra-details-html.lsp | 7 |
3 files changed, 12 insertions, 9 deletions
diff --git a/bgp-details-html.lsp b/bgp-details-html.lsp index 890c98c..ca70a7a 100644 --- a/bgp-details-html.lsp +++ b/bgp-details-html.lsp @@ -1,9 +1,10 @@ -<% local data = ... +<% local data, viewlibrary, page_info, session = ... html = require("acf.html") +htmlviewfunctions = require("htmlviewfunctions") %> -<h2>BGP routes</h2> +<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showipbgp, page_info) %> <pre> <%= html.html_escape(tostring(data.value.showipbgp.value)) %> </pre> - +<% htmlviewfunctions.displaysectionend(header_level) %> diff --git a/ospf-details-html.lsp b/ospf-details-html.lsp index 353ee67..378589b 100644 --- a/ospf-details-html.lsp +++ b/ospf-details-html.lsp @@ -1,9 +1,10 @@ -<% local data = ... +<% local data, viewlibrary, page_info, session = ... html = require("acf.html") +htmlviewfunctions = require("htmlviewfunctions") %> -<h2>OSPF routes</h2> +<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %> <pre> <%= html.html_escape(tostring(data.value.showip.value)) %> </pre> - +<% htmlviewfunctions.displaysectionend(header_level) %> diff --git a/zebra-details-html.lsp b/zebra-details-html.lsp index 523285c..378589b 100644 --- a/zebra-details-html.lsp +++ b/zebra-details-html.lsp @@ -1,9 +1,10 @@ -<% local data = ... +<% local data, viewlibrary, page_info, session = ... html = require("acf.html") +htmlviewfunctions = require("htmlviewfunctions") %> -<h2>Zebra routes</h2> +<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %> <pre> <%= html.html_escape(tostring(data.value.showip.value)) %> </pre> - +<% htmlviewfunctions.displaysectionend(header_level) %> |