main.tpl 1.71 KB
Newer Older
Marek Vavrusa's avatar
Marek Vavrusa committed
1
<!DOCTYPE html>
2 3
<meta charset="utf-8">
<title>{{ title }}</title>
Marek Vavrusa's avatar
Marek Vavrusa committed
4 5
<style>
	body { font-family: 'Gill Sans', 'Gill Sans MT', Verdana, sans-serif; color: #555; }
6
	h1, h2, h3 { line-height: 1.5em; color: #000; text-align: center; border-bottom: 1px solid #ccc; }
Marek Vavrusa's avatar
Marek Vavrusa committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20
	h1, h2, h3 { font-weight: 300; }
	th { text-align: left; font-weight: normal; margin-bottom: 0.5em; }
	#page { font-weight: 300; }
	#page { width: 900px; margin: 0 auto; }
	#stats { height: 300px; }
	#stats .layer-cached , .l-cached  { fill: #2CA02C; color: #2CA02C; }
	#stats .layer-10ms   , .l-10ms    { fill: #165683; color: #165683; }
	#stats .layer-100ms  , .l-100ms   { fill: #258FDA; color: #258FDA; }
	#stats .layer-1000ms , .l-1000ms  { fill: #51A5E1; color: #51A5E1; }
	#stats .layer-slow   , .l-slow    { fill: #E1AC51; color: #E1AC51; }
	.stats-legend { text-align: center; }
	.stats-legend li { display: inline; list-style-type: none; padding-right: 20px; }
	.map-legend { font-size: 10px; }
</style>
21 22 23 24
<script type="text/javascript">
	var host = "{{ host }}";
	var secure = {{ secure }};
</script>
Marek Vavrusa's avatar
Marek Vavrusa committed
25 26 27 28 29
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="d3.js"></script>
<script type="text/javascript" src="epoch.js"></script>
<script type="text/javascript" src="topojson.js"></script>
<script type="text/javascript" src="datamaps.world.min.js"></script>
30
<script type="text/javascript" src="kresd.js"></script>
Marek Vavrusa's avatar
Marek Vavrusa committed
31 32 33
<link rel="icon" type="image/ico" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="epoch.css">
<div id="page">
34
	<h1>{{ title }}</h1>
Marek Vavrusa's avatar
Marek Vavrusa committed
35 36
	<div class="epoch" id="stats"></div>
	<ul class="stats-legend"></ul>
37 38 39
	<h2>Where do the queries go?</h2>
	<div id="map" style="position: relative;"></div>
	{{ snippets }}
Marek Vavrusa's avatar
Marek Vavrusa committed
40
</div>