diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-07 21:13:10 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-07 21:13:10 +0000 |
commit | 03af194d9cd96d5cc840dc780fab76d741bf4b50 (patch) | |
tree | a702346346a3dd0ecb33fda63f3cdc246b423c0e /chrony-details-html.lsp | |
parent | 97986db9b4f5b531dd9310a4466ac0a196274ca3 (diff) | |
download | acf-chrony-03af194d9cd96d5cc840dc780fab76d741bf4b50.tar.bz2 acf-chrony-03af194d9cd96d5cc840dc780fab76d741bf4b50.tar.xz |
Modified chrony to make config work and replace time with details.
git-svn-id: svn://svn.alpinelinux.org/acf/chrony/trunk@1668 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'chrony-details-html.lsp')
-rw-r--r-- | chrony-details-html.lsp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chrony-details-html.lsp b/chrony-details-html.lsp new file mode 100644 index 0000000..43e00d6 --- /dev/null +++ b/chrony-details-html.lsp @@ -0,0 +1,20 @@ +<% local data, viewlibrary = ... +require("viewfunctions") +%> +<% +--[[ DEBUG INFORMATION +io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") +io.write(html.cfe_unpack(data)) +io.write("</span>") +--]] +%> + +<% viewlibrary.dispatch_component("status") %> + +<H2><%= data.label %></H2> +<DL> +<% displayitem(data.value.time) %> +<% displayitem(data.value.sources) %> +<% displayitem(data.value.sourcestats) %> +<% displayitem(data.value.tracking) %> +</DL> |