summaryrefslogtreecommitdiff
path: root/tpls/master.tpl
blob: 7fcd100fdc9cc66a1d5e79a184725a42261789c8 (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
<html>
<head>
	<title>{{template "title" .Data}} – mailremind</title>
	<link rel="stylesheet" type="text/css" href="/static/style.css" />
	<script type="text/javascript" src="/static/jquery-1.10.2.min.js"></script>
	<script type="text/javascript" src="/static/mailremind.js"></script>
</head>
<body>
	<div id="main">
		<div id="nav">
			<a href="/" class="apptitle">mailremind</a>
			<ul>
				{{if .Mail}}
					<li><a href="/jobedit">new job</a></li>
					<li><a href="/jobs">list jobs</a></li>
					<li><a href="/settings">settings</a></li>
					<li><a href="/logout">logout</a></li>
				{{else}}
					<li><a href="/register">register</a></li>
					<li><a href="/login">login</a></li>
				{{end}}
			</ul>
		</div>
		
		<div id="content">
			<h1>{{template "title" .Data}}</h1>
			{{template "content" .Data}}
		</div>
		
		<div id="footer">
{{/* START EDITING FOOTER HERE */}}
			<strong>PLEASE EDIT THIS FOOTER TO CONTAIN SOME CONTACT DATA. YOU CAN DO SO BY EDITING THE tpls/master.tpl TEMPLATE.</strong>
{{/* STOP EDITING FOOTER HERE */}}
		</div>
	</div>
</body>
</html>