summaryrefslogtreecommitdiffstats
path: root/openssh-config-html.lsp
blob: e76d1a2b1f72ccdd837f998f7069d2ca4ea50660 (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
<% local form, viewlibrary, page_info, session  = ... 
require("viewfunctions")
--[[
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(form))
io.write("</span>")
--]]
%>

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

<H1>Configuration</H1>
<H2>Guided Configuration</H2>
<FORM NAME="configuration" ACTION="" METHOD="POST">
<H3>Settings</H3>
<DL>
<% 
local myform = form 
local tags = { "Port", "ListenAddress", "PasswordAuthentication", "UseDNS",}
displayinfo(myform,tags)
%>
</DL>

<H3>Save</H3>
<DL>
<% 
local myform = form 
local tags = { "cmdsave",}
displayinfo(myform,tags)
%>
</DL>
</FORM>

<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then
	viewlibrary.dispatch_component("startstop")
end %>