summaryrefslogtreecommitdiffstats
path: root/chrony-details-html.lsp
blob: 6db32747f8e683281f498cce4d2bd7e43f9e3ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<% local data, viewlibrary = ... 
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>

<% viewlibrary.dispatch_component("status") %>

<h2><%= html.html_escape(data.label) %></h2>
<% htmlviewfunctions.displayitem(data.value.time) %>
<% htmlviewfunctions.displayitem(data.value.tracking) %>
<h3>Sources</h3>
<pre><%= html.html_escape(data.value.sources.value) %></pre>
<h3>Source Stats</h3>
<pre><%= html.html_escape(data.value.sourcestats.value) %></pre>