summaryrefslogtreecommitdiffstats
path: root/openvpn-server_config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn-server_config-html.lsp')
-rw-r--r--openvpn-server_config-html.lsp36
1 files changed, 0 insertions, 36 deletions
diff --git a/openvpn-server_config-html.lsp b/openvpn-server_config-html.lsp
index 511e48a..d6e177c 100644
--- a/openvpn-server_config-html.lsp
+++ b/openvpn-server_config-html.lsp
@@ -3,39 +3,6 @@
<body>
<h1>Server config '<?= view.config.name ?>'</h1>
-
-<? --[[ DEBUG INFORMATION...?>
-<span style='color:#D2691E;font-family:courier;'>------------ START DEBUG INFORMATION ------------
-<h3>THIS VIEW CONTAINS THE FOLLOWING VARIABLES/TABLES</h2>
-<?
---print ("<span style='color:darkblue;font-family:courier;'>")
-for a,b in pairs(view) do
- if not (type(b) == "table") then
- print ("<b>" .. a .. "</b>: ><span2 style='color:black'>" .. b .. "</span2><<BR>")
- else
- print ("<b>" .. a .. "</b>:...<BR>")
- for c,d in pairs(view[a]) do
- if not (type(d) == "table") then
- print ("<b> { " .. c .. "</b>: ><span2 style='color:black'>" .. d .. "</span2>< <B> }</B><BR>")
- else
- print ("<b> { " .. c .. "</b>:...<BR>")
- for e,f in pairs(view[a][c]) do
- if not (type(f) == "table") then
- print ("<b> { { " .. e .. "</b>: ><span2 style='color:black'>" .. f .. "</span2>< <B> } }</B><BR>")
- else
- print ("<b> { { " .. e .. "</b>:... (table is not visible at the moment)<BR>")
- end
- end
- end
- end
- end
-a,b,c,d,e,f,g,h,i,j = nil,nil,nil,nil,nil,nil,nil,nil,nil,nil
-end
-print ("------------ END DEBUG INFORMATION ------------</span>")
-?>
-<? --]] ?>
-
-
<h2>Server settings</h2>
<dt>Mode</dt>
@@ -69,8 +36,6 @@ print ("------------ END DEBUG INFORMATION ------------</span>")
<dt>Process running</dt>
<dd><input type="checkbox" disabled <? if (view.config.status_isrunning ~= "") then io.write("checked='yes'") end ?>></dd>
-<? ---[[ ?>
-
<h2>Certificate files</h2>
<? if (view.config.dh) then ?>
@@ -103,6 +68,5 @@ print ("------------ END DEBUG INFORMATION ------------</span>")
<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.crl , label=view.config.crl } ?></dd>
<? end ?>
-<? --]] ?>
</body>
</html>