diff options
Diffstat (limited to 'tpls/master.tpl')
-rw-r--r-- | tpls/master.tpl | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/tpls/master.tpl b/tpls/master.tpl index 4e2b90f..54098e9 100644 --- a/tpls/master.tpl +++ b/tpls/master.tpl @@ -1,12 +1,33 @@ <html> <head> - <title>{{template "title" .}} – mailremind</title> + <title>{{template "title" .Data}} – mailremind</title> + <link rel="stylesheet" type="text/css" href="/static/style.css" /> </head> <body> - <h1>{{template "title" .}}</h1> - - <div class="content"> - {{template "content" .}} + <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="/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"> + © 2013 Bla bla....<br /> + Foo! + </div> </div> </body> </html>
\ No newline at end of file |