blob: 0852c315e05a316abb5d1ccbf331ec058ebc8dd5 (
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
|
<? local view = ... ?>
<h1>CONFIGURATION</h1>
<H2>Enable/Disable</H2>
<DT>Change status for this program</DT>
<DD><input class="radio" type="radio" name="loglevel" value="2" <? if (tostring(view.config.loglevel) == "2") then io.write('checked') end ?>>Enable
<input class="radio" type="radio" name="loglevel" value="3" <? if (tostring(view.config.loglevel) == "3") then io.write('checked') end ?>>Disable</DD>
<H2>Expert config</H2>
<h3>File details</h3>
<dt>File name</dt>
<dd>/etc/conf.d/syslogd</dd>
<dt>File size</dt>
<dd>60</dd>
<dt>Last modified</dt>
<dd>Mon Aug 20 16:58:19 2007</dd>
<h3>File content</h3>
<form name="myform" action="" method="POST">
<input name="name" type=hidden value="">
<textarea name="modifications"></textarea>
<H2>Save and apply above settings</H2>
<DT>Apply settings</DT>
<DD><input class="submit" type="submit" value="Apply"/></DD>
|