summaryrefslogtreecommitdiffstats
path: root/lbu-expert-html.lsp
blob: 29c3bddebe00040d051491efe5104697b9109a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<? local view = ... ?>

<h1>SYSTEM INFO</h1>

<DL>
	<dt>Program status</dt>
		<dd><?= view.status.status or "" ?></dd>

	<dt>Program version</dt>
		<dd><?= view.status.version ?></dd>
</DL>

<h1>CONFIGURATION</h1>
<H2>Expert config</H2>
<h3>File details</h3>

<DL>
	<dt>File name</dt>
		<dd><?= view.file.details.path ?></dd>

	<dt>File size</dt>
		<dd><?= view.file.details.size ?></dd>

	<dt>Last modified</dt>
		<dd><?= view.file.details.mtime ?></dd>
</DL>

<h3>File content</h3>

<form name="myform" action="" method="POST">
<input name="name" type=hidden value="">
<textarea name="modifications"><?= view.file.content ?></textarea>

<H2>Save and apply above settings</H2>
<DL>
	<DT>Apply settings</DT>
		<DD><input class="submit" type="submit" name="cmdsave" value="Apply"/></DD>
</DL>

<?
--[[ DEBUG INFORMATION
require("debugs")
io.write(debugs.variables(view))
--]]
?>