summaryrefslogtreecommitdiffstats
path: root/dhcp-home-html.lsp
blob: ab7ff263b6d67e4a86dc917b2381587152bb1630 (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
<% local view, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>

<% displaycommandresults({"settings", "edithost", "delhost", "createhost", "editsubnet", "delsubnet", "createsubnet"}, session) %>

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

<H1>Global Settings</H1>

<DL>
<dt>Edit global settings</dt>
<dd><form action="<%= page_info.script .. page_info.prefix .. page_info.controller .. "/settings" %>" method="POST">
<input class="hidden" type="hidden"  name="redir"  value="<%= page_info.orig_action %>" >
<input type=submit value="Edit" class="submit">
</form></dd>
</DL>

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

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

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