diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/FixMindelo.pm | 2 | ||||
-rw-r--r-- | templates/web/fixmindelo/header.html | 67 | ||||
-rw-r--r-- | web/cobrands/fixmindelo/base.scss | 13 |
3 files changed, 2 insertions, 80 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMindelo.pm b/perllib/FixMyStreet/Cobrand/FixMindelo.pm index 59debf157..fd3a55c6c 100644 --- a/perllib/FixMyStreet/Cobrand/FixMindelo.pm +++ b/perllib/FixMyStreet/Cobrand/FixMindelo.pm @@ -4,6 +4,8 @@ use base 'FixMyStreet::Cobrand::Default'; use strict; use warnings; +sub site_title { return 'FixMindelo'; } + sub country { return 'CV'; } diff --git a/templates/web/fixmindelo/header.html b/templates/web/fixmindelo/header.html deleted file mode 100644 index 9c1325916..000000000 --- a/templates/web/fixmindelo/header.html +++ /dev/null @@ -1,67 +0,0 @@ -<!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 IE 9]> <html class="no-js ie9 oldie" lang="[% lang_code %]"><![endif]--> -<!--[if gt IE 9]><!--><html class="no-js" lang="[% lang_code %]"><!--<![endif]--> - <head> - <meta name="viewport" content="initial-scale=1.0"> - - <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> - <meta name="HandHeldFriendly" content="true"> - <meta name="mobileoptimized" content="0"> - -[% SET start = c.config.ADMIN_BASE_URL IF admin %] - - <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/base.css') %]"> - <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/layout.css') %]" media="(min-width:48em)"> - [% extra_css %] - <!--[if (lt IE 9) & (!IEMobile)]> - <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/layout.css') %]"> - <![endif]--> - - <script src="[% start %][% version('/js/modernizr.custom.js') %]" charset="utf-8"></script> - <script src="[% start %][% version('/cobrands/fixmystreet/position_map.js') %]" charset="utf-8"></script> - [% INCLUDE 'common_header_tags.html', js_override = '/cobrands/fixmystreet/fixmystreet.js', site_title = 'FixMyStreet Mindelo' %] - [% extra_js %] - - [% 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> - [% TRY %][% PROCESS 'set_body_class.html' %][% CATCH file %][% END %] - <body class="[% bodyclass | html IF bodyclass %]"> - [% IF c.config.STAGING_SITE %] - <div id="staging-banner">[% loc("This is a staging site! Details may change, and reports contain test data only.") %]</div> - [% END %] - - <div class="wrapper"> - <div class="table-cell"> - <header id="site-header" role="banner"> - <div class="container"> - <a href="/" id="site-logo">[% c.cobrand.site_title | html %]</a> - <a href="#main-nav" id="nav-link">Main Navigation</a> - </div> - </header> - - <div id="user-meta"> - [% IF c.user_exists %] - <p> - [% tprintf(loc('Hi %s'), c.user.name || c.user.email) %] - <a href="/auth/sign_out">[% loc('sign out') %]</a> - </p> - [% ELSE %] - <!-- <a href="/auth">[% loc('Sign in') %]</a> --> - [% END %] - </div> - - [% pre_container_extra %] - - <div class="container"> - - <div class="content[% " $mainclass" | html IF mainclass %]" role="main"> - - <!-- [% INCLUDE 'debug_header.html' %] --> diff --git a/web/cobrands/fixmindelo/base.scss b/web/cobrands/fixmindelo/base.scss index 44ac990ce..4d3a53f0a 100644 --- a/web/cobrands/fixmindelo/base.scss +++ b/web/cobrands/fixmindelo/base.scss @@ -28,19 +28,6 @@ $image-sprite: 'images/sprite.png'; background: url('images/sprite.png') -8px -915px no-repeat; } -#staging-banner { - background: #dd3333; - color: #fff; - padding: 0.2em; - margin:0; - text-align:center; - font-size:80%; -} - -.wrapper { - position: relative; // to make the staging-banner not affect top/left positioning of logo -} - #footer-help ul li { padding-right: 3em; a { |