aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/fixmystreet/header.html
blob: 4d5b0243ac2cf5750c29f0ed0df855fccf1ecccb (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!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') %]">
        <link rel="stylesheet" href="[% version('/cobrands/fixmystreet/base.css') %]">
        <link rel="stylesheet" href="[% version('/cobrands/fixmystreet/layout.css') %]" media="(min-width:48em)">
        <!--[if (lt IE 9) & (!IEMobile)]>
            <link rel="stylesheet" href="[% version('/cobrands/fixmystreet/layout.css') %]">
        <![endif]-->

        [% 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>

    <div class="wrapper">

        <header id="header" role="banner">
            <div class="container">
                <a href="/" id="site-logo">FixMyStreet</a>
            </div>
        </header>

        <div class="container">
            <div class="content" role="main">
                <div id="user-meta">
                    <ul>
                        [% IF c.user_exists %]
                            <li>[% tprintf(loc('Hi %s'), c.user.name || c.user.email) %]
                            <li class="last"><a href="/auth/sign_out">[% loc('Sign out') %]</a></li>
                        [% ELSE %]
                            <li><a href="/auth">[% loc('Sign in') %]</a></li>
                        [% END %]
                    </ul>
                </div>

    <!-- [% INCLUDE 'debug_header.html' %] -->