summaryrefslogtreecommitdiffstats
path: root/src/html/base.html
blob: 56779ad86394b2baf7619eaa8c13e14fba05301f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!doctype html>
<html>

	<head>
		{% block head %}
		<meta charset="utf-8">
		<title>{% block title %}Glances{% endblock %}</title>
		<link rel="stylesheet" href="{% block css %}css/base.css{% endblock %}">
		{% endblock %}
		<meta http-equiv="refresh" content="{{ refresh }}" />
	</head>

	<body class="bgmain fgmain">

		<header>
			{% block header %}{% endblock %}
		</header>

		<section id="main">
			<section id="firstline">
				<article id="cpu">
					{% block cpu %}{% endblock %}
				</article>
				<article id="load">
					{% block load %}{% endblock %}
				</article>
				<article id="mem">
					{% block mem %}{% endblock %}
				</article>
			</section>
			<section id="secondline">
				<section id="sideleft">
					<article id="net">
						{% block net %}{% endblock %}
					</article>
					<article id="diskio">
						{% block diskio %}{% endblock %}
					</article>
					<article id="fs">
						{% block fs %}{% endblock %}
					</article>
				</section>
				<section id="sideright">
					<article id="proccount">
						{% block proccount %}{% endblock %}
					</article>
					<article id="proclist">
						{% block proclist %}{% endblock %}
					</article>
				</section>
			</section>
		</section>

		<footer>
			{% block footer %}{% endblock %}
		</footer>

	</body>

</html>