summaryrefslogtreecommitdiffstats
path: root/openvpn-unknown_config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn-unknown_config-html.lsp')
-rw-r--r--openvpn-unknown_config-html.lsp8
1 files changed, 8 insertions, 0 deletions
diff --git a/openvpn-unknown_config-html.lsp b/openvpn-unknown_config-html.lsp
index 2d33d10..03435f8 100644
--- a/openvpn-unknown_config-html.lsp
+++ b/openvpn-unknown_config-html.lsp
@@ -3,6 +3,14 @@
<body>
<h1>Configuration file '<?= view.configfilecontent.name ?>'</h1>
+<h2>Controlpanel</h2>
+
+<dt>View this as it was a</dt>
+<dd><a href="<?= view.url ?>/server_config?name=<?= view.configfilecontent.shortname ?>">server config</a></dd>
+
+<dt>View this as it was a</dt>
+<dd><a href="<?= view.url ?>/client_config?name=<?= view.configfilecontent.shortname ?>">client config</a></dd>
+
<h2>Details</h2>
<textarea name="" style="width:100%;height:450px;"><?= view.configfilecontent.value ?></textarea>