diff options
Diffstat (limited to 'scripts/templates')
-rw-r--r-- | scripts/templates/index-head | 28 | ||||
-rw-r--r-- | scripts/templates/index-tail | 3 | ||||
-rw-r--r-- | scripts/templates/template | 29 |
3 files changed, 60 insertions, 0 deletions
diff --git a/scripts/templates/index-head b/scripts/templates/index-head new file mode 100644 index 0000000..fd2aa33 --- /dev/null +++ b/scripts/templates/index-head @@ -0,0 +1,28 @@ +<head> + <title>Time Server Status</title> + <link rel="stylesheet" type="text/css" href="style.css"/> + <link rel="icon" href="favicon.ico" type="image/x-icon" /> +</head> +<html> +<title>experimental ntp tech info</title> +<body> +<h2> +NTP Status Page +</h2> +<p> +Legends (taken from +<a href="http://www.eecis.udel.edu/~mills/ntp/html/ntpq.html"> +http://www.eecis.udel.edu/~mills/ntp/html/ntpq.html</a>): +<br> +<pre> +offset combined time offset +frequency clock frequency offset (PPM) +sys_jitter combined system jitter +clk_jitter clock jitter +clk_wander clock frequency wander (PPM) +rootdisp total dispersion to the primary reference clock +</pre> +<br> +<p> + + diff --git a/scripts/templates/index-tail b/scripts/templates/index-tail new file mode 100644 index 0000000..102f439 --- /dev/null +++ b/scripts/templates/index-tail @@ -0,0 +1,3 @@ +<p> +</body> +</html> diff --git a/scripts/templates/template b/scripts/templates/template new file mode 100644 index 0000000..621f3d6 --- /dev/null +++ b/scripts/templates/template @@ -0,0 +1,29 @@ +<p> +<h2>Host POOL, Daily Status</h2> +<p> +<img src="/rrd/POOL-ntp-offset.png"> +<br /> +<img src="/rrd/POOL-ntp-freq.png"> +<br /> +<img src="/rrd/POOL-ntp-sysjit.png"> +<br /> +<img src="/rrd/POOL-ntp-clkjit.png"> +<br /> +<img src="/rrd/POOL-ntp-wander.png"> +<br /> +<img src="/rrd/POOL-ntp-disp.png"> +<br /> +<h2>Host POOL, Weekly Status</h2> +<br /> +<img src="/rrd/POOL-week-ntp-offset.png"> +<br /> +<img src="/rrd/POOL-week-ntp-freq.png"> +<br /> +<img src="/rrd/POOL-week-ntp-sysjit.png"> +<br /> +<img src="/rrd/POOL-week-ntp-clkjit.png"> +<br /> +<img src="/rrd/POOL-week-ntp-wander.png"> +<br /> +<img src="/rrd/POOL-week-ntp-disp.png"> +</p> |