Permalink
Find file
6adc9e1 Feb 20, 2013
@robfig @jgraham909
46 lines (41 sloc) 1.31 KB
<!DOCTYPE html>
<html>
<head>
<title>{{.title}}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" media="screen" href="/public/css/main.css">
{{range .moreStyles}}
<link rel="stylesheet" type="text/css" href="/public/{{.}}">
{{end}}
<script src="/public/js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/public/js/sessvars.js" type="text/javascript" charset="utf-8"></script>
{{range .moreScripts}}
<script src="/public/{{.}}" type="text/javascript" charset="utf-8"></script>
{{end}}
</head>
<body>
<div id="header">
<h1>revel framework booking demo</h1>
{{if .user}}
<div id="options">
Connected as {{.user.Username}}
|
<a href="{{url "Hotels.Index"}}">Search</a>
|
<a href="{{url "Hotels.Settings"}}">Settings</a>
|
<a href="{{url "Application.Logout"}}">Logout</a>
</div>
{{end}}
</div>
<div id="content">
{{if .flash.error}}
<p class="fError">
<strong>{{.flash.error}}</strong>
</p>
{{end}}
{{if .flash.success}}
<p class="fSuccess">
<strong>{{.flash.success}}</strong>
</p>
{{end}}