summaryrefslogtreecommitdiffstats
path: root/squid-advanced-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'squid-advanced-html.lsp')
-rw-r--r--squid-advanced-html.lsp57
1 files changed, 0 insertions, 57 deletions
diff --git a/squid-advanced-html.lsp b/squid-advanced-html.lsp
deleted file mode 100644
index a175159..0000000
--- a/squid-advanced-html.lsp
+++ /dev/null
@@ -1,57 +0,0 @@
-<%
-require("viewfunctions")
-
- local form = ...
- local data = form.option
- local service = form.service
-
- local srv1fill = ""
- local srv2fill = "disabled"
- if form.info.status.value == "Enabled" then
- srv1fill = "disabled"
- srv2fill = ""
- end
-
-%>
-<H1>SYSTEM INFO</H1>
-<DL>
-<%
-local myform = form.info
-local tags = { "status", "version", "autostart", }
-displayinfo(myform,tags,"viewonly")
-%>
-</DL>
-
-
-<h1>Advanced configuration</h1>
-<dl>
-<dt>Warning</dt>
-<dd class="attention">
- Modifying the web proxy configuration file is generally not necessary.
- You must be familiar with the configuration file before proceeding.
-</dd>
-</dl>
-
-<h2>Configuration</h2>
-<form action="" method="POST">
-<textarea name="config"><% io.write( service.config ) %></textarea>
-
-<h3>Save Changes</h3>
-<dl>
-<dt>Save the contents of the box above</dt><dd><input class="submit" type="submit" name="cmd" value="save"></dd>
-<dt>Process information</dt><dd>This process runs as a service. When you make and save changes,
-the configuration files for the service are changed. However, the changes will not be
-<i>applied</i> until you restart the service.</dd>
-</dl>
-</form>
-
-<h1>MANAGEMENT</h1>
-<form action="" method="POST">
-<dl>
-<DT>Daemon control</DT><dd><input class="submit" type="submit" name="srvcmd" value="start" <% io.write( srv1fill ) %>>
-<input class="submit" type="submit" name="srvcmd" value="stop" <% io.write( srv2fill ) %>>
-<input class="submit" type="submit" name="srvcmd" value="restart" <% io.write( srv2fill ) %>>
-<% if (service.message) and (service.message.descr) and (#service.message.descr > 0) then %><pre><% io.write( service.message.descr ) %></pre><% end %></dd>
-</dl>
-</form>
-