aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/bromley/header.html13
-rw-r--r--web/cobrands/bromley/bromley.scss23
-rw-r--r--web/cobrands/bromley/layout.scss1
3 files changed, 37 insertions, 0 deletions
diff --git a/templates/web/bromley/header.html b/templates/web/bromley/header.html
index 5add3c006..d1fa64273 100644
--- a/templates/web/bromley/header.html
+++ b/templates/web/bromley/header.html
@@ -60,6 +60,19 @@
</form>
</div>
+ <ul id="main-menu">
+ <li><[% IF c.req.uri.path == '/' %]span[% ELSE %]a href="/"[% END %] class="report-a-problem-btn"
+ >[% loc("Report a problem") %]</[% c.req.uri.path == '/' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/my' %]span[% ELSE %]a href="/my"[% END
+ %]>[% loc("Your reports") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/reports/Bromley' %]span[% ELSE %]a href="/reports/Bromley"[% END
+ %]>[% loc("All reports") %]</[% c.req.uri.path == '/reports' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/alert' %]span[% ELSE %]a href="/alert[% pc ? '/list?pc=' : '' %][% pc | uri %]"[% END
+ %]>[% loc("Local alerts") %]</[% c.req.uri.path == '/alert' ? 'span' : 'a' %]></li>[%
+ %]<li><[% IF c.req.uri.path == '/faq' %]span[% ELSE %]a href="/faq"[% END
+ %]>[% loc("Help") %]</[% c.req.uri.path == '/faq' ? 'span' : 'a' %]></li>
+ </ul>
+
</div>
<div class="wrapper">
diff --git a/web/cobrands/bromley/bromley.scss b/web/cobrands/bromley/bromley.scss
index 054315fbd..bb47ae60d 100644
--- a/web/cobrands/bromley/bromley.scss
+++ b/web/cobrands/bromley/bromley.scss
@@ -79,3 +79,26 @@ body { color: #333; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
#bromley-footer .footer-nav li { list-style-type: none; }
#bromley-footer p { margin: 0; }
+#main-menu {
+ text-align: center;
+ margin: 2em 0;
+ padding: 0;
+ li {
+ margin: 0;
+ padding: 0;
+ display: inline;
+ a, span {
+ padding: 1em;
+ color: #000;
+ background: #eef;
+ @include background(linear-gradient(#eef, #eee));
+ }
+ span {
+ text-decoration: underline;
+ }
+ }
+ a:hover {
+ background: #ccf;
+ }
+}
+
diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss
index 6572a6f10..73c597a6c 100644
--- a/web/cobrands/bromley/layout.scss
+++ b/web/cobrands/bromley/layout.scss
@@ -45,6 +45,7 @@ body.frontpage {
// White background, so no shadow needed.
.content {
+ margin-top: 1em;
@include box-shadow(none);
}
.ie6, .ie7, .ie8 {