summaryrefslogtreecommitdiff
path: root/server/templates/base.html
blob: f1f2f33e981b1fba841359d1abb5dc97c5582b6b (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
61
{%load user%}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>Sources</title>
	<link rel="stylesheet" href="/media/css/style.css"/>
{%block localstyles%}
{%endblock%}
	<script src="/media/javascript/jquery.js"></script>
{%block scripts%}
{%endblock%}
	<script>
{%block localscript%}
		function init() {}
{%endblock%}
	</script>
</head>
<body onload="init();">

	<div id="titleblock">
		<div id="title">{%block title %}<img src="/media/img/logo_small.png">{%endblock%}</div>
		<div id="subtitle">{%block subtitle %}{%endblock%}</div>
			
		<div id="status">
		{%block status %}{%endblock%}
		</div>
	</div>

{%block statushelpers%}
	<div onclick="hideStatus();" id="statusbox" class="dialog" style="text-align: center;"></div>
	<div id="progressbox" class="dialog" style="text-align: center;"><br/><img src="/media/img/progress.gif"/><br/><div id="progressmsg"></div><br/></div>
{%endblock%}
	
	<div id="mainlinks">
{%block navigation %}
		<a href="/locations">Locations</a>{%block nav_locations%}{%endblock%}
		<a href="/objects">Object catalog</a>{%block nav_objects%}{%endblock%}
		<a href="/materials">Materials</a>{%block nav_materials%}{%endblock%}
{%ifuser%}
		<a href="/accounts/settings">Settings</a>
		<a href="/accounts/logout">Log out</a>
{%endifuser%}
{%ifnotuser%}
		<a href="/accounts/login?next=/">Log in</a>
{%endifnotuser%}

{%endblock%}
	</div>

	<div id="maincontent">
{%block maincontent %}
	<div class="topblock" id="flhelp_block">
		<h1>Intro</h1>
		
		<p>...</p>
	</div>
{%endblock%}	
	</div>

</body>
</html>