summaryrefslogtreecommitdiffstats
path: root/openvpn-read-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn-read-html.lsp')
-rw-r--r--openvpn-read-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openvpn-read-html.lsp b/openvpn-read-html.lsp
index 521e6b3..6854054 100644
--- a/openvpn-read-html.lsp
+++ b/openvpn-read-html.lsp
@@ -5,7 +5,7 @@
]]-- ?>
<html>
<body>
-<h1>General</h1>
+<h1>Welcome</h1>
<h2>Available configs</h2>
<TABLE BORDER=0 WIDTH="100%">
<TR style="background:#eee;font-weight:bold;vertical-align:top;">
@@ -17,7 +17,7 @@
<? for i = 1, table.maxn(view.conflistfiles) do ?>
<TR >
- <TD><a href=""><?= view.conflistfiles[i].value ?></a></TD>
+ <TD><?= html.link{value = view.url .. "/" .. view.conflistfiles[i].type .. "_config?config=" .. view.conflistfiles[i].value , label=view.conflistfiles[i].value } ?></TD>
<TD><?= view.conflistfiles[i].type ?></TD>
<TD><?= view.conflistfiles[i].init ?></TD>
<TD>xxx</TD>