summaryrefslogtreecommitdiffstats
path: root/openvpn-unknown_config-html.lsp
blob: 03435f8d4784f562eeafa6965aae0484ad3dcbc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<? local view = ... ?>
<html>
<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>


</body>
</html>