aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/emptyhomes/header.html9
-rw-r--r--web/cobrands/emptyhomes/css.css18
2 files changed, 27 insertions, 0 deletions
diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html
index 08d1b1a05..ca51d8060 100644
--- a/templates/web/emptyhomes/header.html
+++ b/templates/web/emptyhomes/header.html
@@ -40,6 +40,15 @@
</ul>
</div>
+<ul id="meta">
+ [% IF c.user_exists %]
+ <li>[% tprintf(loc('Signed in as %s'), c.user.name || c.user.email) %]
+ <li><a href="/auth/sign_out">[% loc('Sign out') %]</a></li>
+ [% ELSE %]
+ <li>&nbsp;</li>
+ [% END %]
+</ul>
+
<div id="wrapper">
<div id="mysociety">
diff --git a/web/cobrands/emptyhomes/css.css b/web/cobrands/emptyhomes/css.css
index f6047ebe5..705c1cd47 100644
--- a/web/cobrands/emptyhomes/css.css
+++ b/web/cobrands/emptyhomes/css.css
@@ -147,6 +147,24 @@ a:hover, a:active {
background-position: 100% 0;
}
+#meta {
+ clear: right;
+ float: right;
+ list-style-type: none;
+ margin: 0.25em 0 0 1em;
+ padding: 0;
+ font-size: 0.875em;
+}
+#meta li {
+ display: inline;
+ margin: 0;
+ padding: 0 0 0 0.25em;
+ border-left: solid 1px #B1BECF;
+}
+#meta li:first-child {
+ border-left: none;
+}
+
#logo {
border: none;
position: absolute;