From ca8fdaf2abd1e3d74d94e03d792940cac02d7c04 Mon Sep 17 00:00:00 2001 From: Mike Mason Date: Wed, 5 Nov 2008 21:29:48 +0000 Subject: End of day commit. Still need some work. Updating to have more viewed options git-svn-id: svn://svn.alpinelinux.org/acf/chrony/trunk@1580 ab2d0c66-481e-0410-8bed-d214d4d58bed --- chrony-config-html.lsp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 chrony-config-html.lsp (limited to 'chrony-config-html.lsp') diff --git a/chrony-config-html.lsp b/chrony-config-html.lsp new file mode 100644 index 0000000..9272f40 --- /dev/null +++ b/chrony-config-html.lsp @@ -0,0 +1,26 @@ +<% local form, viewlibrary, page_info, session = ... +require("viewfunctions") +%> +<% +--[[ DEBUG INFORMATION +io.write("

DEBUGGING

DEBUG INFO: CFE

") +io.write(html.cfe_unpack(form)) +io.write("
") +--]] +%> + +<% displaycommandresults({"startstop"}, session) %> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("status") +end %> + +

Config

+<% + form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action + displayform(form) +%> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("startstop") +end %> -- cgit v1.2.3