diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-07-01 20:27:56 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-07-01 20:27:56 +0100 |
commit | 28cea635de84f9a7d3fc7b5d9b202e8ee665dc8d (patch) | |
tree | 8fe85c338ece6293d6f2f9dddf8d7f181500d87c | |
parent | a12543b270eeeb7b2f4f8218f0101f7373e20cfc (diff) |
Signed in message on reportemptyhomes.
-rw-r--r-- | templates/web/emptyhomes/header.html | 9 | ||||
-rw-r--r-- | web/cobrands/emptyhomes/css.css | 18 |
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> </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; |