minecraft-monitor/template.html

22 lines
597 B
HTML

<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<!-- <meta http-equiv='refresh' content='29'> -->
<link rel='stylesheet' href='svg.css'>
</head>
<body>
<nav>
<a href="day.html">last 24 hours</a>
<a href="month.html">last month</a>
<a href="4months.html">last 4 months</a>
</nav>
<div class="overflow">
<svg id='graph' width='{width}' height='200' viewBox='{start} -0.5 {period} 10' preserveAspectRatio='none' version='1.1' xmlns='http://www.w3.org/2000/svg'>
<line id='days' x1='{day_start}' x2='{day_stop}'></line>
{events}
</svg>
</div>
</body>
</html>