aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-09-20 14:47:20 +0200
committerbnewbold <bnewbold@robocracy.org>2012-09-20 14:47:20 +0200
commitc3591d04490d10b7a05e1aefff903430fecc2ba8 (patch)
tree34e0344eef6eef6fb47fc34ef99a1fc290dbb699 /templates/base.html
parent627a217e7e74a6800475a9b3898855b26edd4a16 (diff)
downloadbommom-c3591d04490d10b7a05e1aefff903430fecc2ba8.zip
bommom-c3591d04490d10b7a05e1aefff903430fecc2ba8.tar.gz
clean uploading
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index 4fe66ad..ee8a54c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -2,6 +2,7 @@
<head>
<title>bommom</title>
<link rel="stylesheet" type="text/css" href="/static/default.css"></link>
+<!-- Start Mozilla Persona Code -->
<script src="/static/include.js"></script>
<script>
function login() {
@@ -15,6 +16,7 @@ function login() {
});
}
</script>
+<!-- End Mozilla Persona Code -->
</head>
<body>
@@ -24,14 +26,18 @@ function login() {
<a class="brand" href="/">bommom.com</a>
{{ range .BreadCrumbs }} / {{.}} {{end}}
<div class="nav-collapse collapse">
- <p class="navbar-text pull-right">
{{ if .Session.UserName }}
- {{ .Session.UserName }}
- <a href="/account/logout/"><button class="btn btn-mini" type="button" style="margin-left: 5px;">Log out!</button></a>
+ <p class="navbar-text pull-right">
+ <a href="/account/logout/"><button class="btn btn-mini" type="button" style="margin-left: 15px; margin-top:9px;">Log out!</button></a>
+ </p>
+ <p class="navbar-text pull-right">
+ logged in as {{ .Session.UserName }}
+ </p>
{{ else }}
+ <p class="navbar-text pull-right">
<a href="/account/login/"><button class="btn btn-mini" type="button" style="margin-top: 9px;">Log in!</button></a>
- {{ end }}
</p>
+ {{ end }}
</div><!--/.nav-collapse -->
</div>
</div>