aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/header.html
blob: c39aa11a873ab0848ec8dd1db06d8bfb4eae6ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!doctype html>
<!--[if lt IE 7]><html class="ie6 oldie" lang="[% lang_code %]"><![endif]-->
<!--[if IE 7]>   <html class="ie7 oldie" lang="[% lang_code %]"><![endif]-->
<!--[if IE 8]>   <html class="ie8 oldie" lang="[% lang_code %]"><![endif]-->
<!--[if gt IE 8]><!--><html lang="[% lang_code %]"><!--<![endif]-->
    <head>

        <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
        <link rel="stylesheet" type="text/css" href="[% version('/css/main.css') %]">

        [% INCLUDE 'common_header_tags.html' %]
                
        [% IF c.req.uri.host == 'osm.fixmystreet.com' %]
            <link rel="canonical" href="http://www.fixmystreet.com[% c.req.uri.path_query %]">
        [% END %]

        [% INCLUDE 'tracking_code.html' %]
    </head>
    <body>

        [% IF NOT title AND NOT c.req.path %]<h1 id="header">[% ELSE %]<div id="header"><a href="/">[% END %]
            [%- loc('Fix<span id="my">My</span>Street') %]
        [%- 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><a href="/auth/sign_out">[% loc('Sign out') %]</a></li>
            [% ELSE %]
                <li>&nbsp;</li>
            [% END %]
        </ul>

        <div id="wrapper"><div id="mysociety">

    [% INCLUDE 'debug_header.html' %]