summaryrefslogtreecommitdiffstats
path: root/syslog-config-html.lsp
blob: 2e86661c1c805a7ae0bc4bde9f15b286f6b125f0 (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
<% local form, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>

<% if viewlibrary and viewlibrary.dispatch_component then
	viewlibrary.dispatch_component("status")
end %>

<h1>Configuration</h1>
<h2>Advanced Configuration</h2>
<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %>
<% htmlviewfunctions.displayformstart(form) %>
<h3>General</h3>
<% 
	htmlviewfunctions.displayformitem(form.value.logfile, "logfile")
	htmlviewfunctions.displayformitem(form.value.loglevel, "loglevel")
	htmlviewfunctions.displayformitem(form.value.smallerlogs, "smallerlogs")
%>
<h3>Log Rotate</h3>
<%
	htmlviewfunctions.displayformitem(form.value.maxsize, "maxsize")
	htmlviewfunctions.displayformitem(form.value.numrotate, "numrotate")
%>
<h3>Remote Logging</h3>
<% 
	htmlviewfunctions.displayformitem(form.value.localandnetworklog, "localandnetworklog")
	htmlviewfunctions.displayformitem(form.value.remotelogging, "remotelogging")
%>
<h2>Save and Apply Above Settings</h2>
<% htmlviewfunctions.displayformend(form) %>