aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/header.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-07-07 16:59:23 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-07-08 17:59:17 +0100
commitba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (patch)
tree8b9e1a960f91c006606b5e0767a84a400dfc2fb0 /templates/web/base/header.html
parent8f2c5942e3aa5d3b85e76b7353ab7ada87f97fc6 (diff)
Rename 'default' web directory to 'base'.
This should reduce confusion with the Default cobrand and override order.
Diffstat (limited to 'templates/web/base/header.html')
-rw-r--r--templates/web/base/header.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/web/base/header.html b/templates/web/base/header.html
new file mode 100644
index 000000000..e6362a449
--- /dev/null
+++ b/templates/web/base/header.html
@@ -0,0 +1,38 @@
+<!doctype html>
+<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if IE 7]> <html class="no-js ie7 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if IE 8]> <html class="no-js ie8 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if gt IE 8]><!--><html class="no-js" lang="[% lang_code %]"><!--<![endif]-->
+ <head>
+ <meta name="viewport" content="initial-scale=1.0">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
+ <meta name="HandHeldFriendly" content="true">
+ <meta name="mobileoptimized" content="0">
+
+ <link rel="stylesheet" href="[% version('/css/core.css') %]">
+
+ [% INCLUDE 'common_header_tags.html' %]
+
+ </head>
+ <body>
+
+<div id="wrapper"><div id="wrapper2"><div id="wrapper3">
+
+ [% IF NOT title AND NOT c.req.path %]<h1 id="header" role="banner">[% ELSE %]<div id="header" role="banner"><a href="/">[% END
+ %][% loc('FixMyStreet') %]
+ [%- IF NOT title AND NOT c.req.path %]</h1>[% ELSE %]</a></div>[% END %]
+
+ <ul id="meta">
+ [% IF c.user_exists %]
+ <li>[% tprintf(loc('Signed in as %s'), c.user.name || c.user.email) %]
+ <li class="last"><a href="/auth/sign_out">[% loc('Sign out') %]</a></li>
+ [% ELSE %]
+ <li>&nbsp;</li>
+ [% END %]
+ </ul>
+
+ <div id="mysociety" class="container" role="main">
+
+ [% INCLUDE 'debug_header.html' %]