From 939c6d6de069654fcbcb82722de5d71fd8cb1622 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 31 Jul 2015 11:29:11 +0100 Subject: Revert "[fixmystreet.com] Homepage button step A/B test." This reverts commit 838708d3127bf5bd39375b19ad13b220637c851b. Conflicts: web/cobrands/fixmystreet/base.scss web/cobrands/fixmystreet/layout.scss --- .../web/fixmystreet.com/around/postcode_form.html | 48 ---------------------- templates/web/fixmystreet.com/header_extra.html | 20 --------- web/cobrands/fixmystreet/base.scss | 39 ------------------ web/cobrands/fixmystreet/layout.scss | 20 +-------- 4 files changed, 1 insertion(+), 126 deletions(-) delete mode 100644 templates/web/fixmystreet.com/around/postcode_form.html diff --git a/templates/web/fixmystreet.com/around/postcode_form.html b/templates/web/fixmystreet.com/around/postcode_form.html deleted file mode 100644 index afb3b66fb..000000000 --- a/templates/web/fixmystreet.com/around/postcode_form.html +++ /dev/null @@ -1,48 +0,0 @@ -[%# Identical to parent, but with an extra div and javascript for our homepage A/B test %] - -
-
- [% INCLUDE 'around/intro.html' %] - - - - [% - question = c.cobrand.enter_postcode_text || loc('Enter a nearby street name and area'); - %] -
- -
- - -
- [% IF partial_token %] - - [% END %] -
-
-
- - diff --git a/templates/web/fixmystreet.com/header_extra.html b/templates/web/fixmystreet.com/header_extra.html index 71c3bace5..1cce668a5 100644 --- a/templates/web/fixmystreet.com/header_extra.html +++ b/templates/web/fixmystreet.com/header_extra.html @@ -2,24 +2,4 @@ -[%# We are conducting an A/B experiment on the homepage %] -[% IF c.req.uri.path == '/' %] - - - -[% END %] - [% INCLUDE 'tracking_code.html' %] diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss index 6e6cbd7b9..485f0ffc2 100644 --- a/web/cobrands/fixmystreet/base.scss +++ b/web/cobrands/fixmystreet/base.scss @@ -85,45 +85,6 @@ } } -#homepage-ab-test { - display: none; // header_extra.html will override this if Analytics tells it to - - a { - display: inline-block; - cursor: pointer; - } - - #cta-report { - padding: 0.4em 1em; - margin-top: 0.5em; - font-size: 1.5em; - font-weight: bold; - color: #333; - background-color: #ffd000; - border-radius: 0.3em; - box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2); - background-image: linear-gradient(rgba(255,255,255,0.3), transparent); - text-shadow: 0 1px 0 rgba(255,255,255,0.6); - border: 2px solid #BB9900; - text-decoration: none; - - &:hover, - &:focus { - background-color: #FFDB3E; - } - - &:active { - position: relative; - top: 1px; - box-shadow: 0 2px 2px 0 rgba(0,0,0,0.3); - } - } - - #cta-view { - margin: 0.5em 0 1em 0; - } -} - .unresponsive-council-warning { margin: 1em -1em; padding: 2em 2em; diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index 1d56e675c..c6f7c7df4 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -284,24 +284,6 @@ body.alertindex { } } -#homepage-ab-test { - #cta-report { - font-size: 2em; - } - - #cta-view { - line-height: 1.2em; - font-size: 1.2em; - color: #333; - border-bottom: 1px solid #917F00; - text-decoration: none; - - &:hover, &:focus { - border-bottom-color: #BD942A; - } - } -} - body.unresponsive-council { .container .content { padding: 0; @@ -351,4 +333,4 @@ body.unresponsive-council { background-image: url(images/unresponsive-council-cta-arrow@2.png); background-size: 60px; } -} \ No newline at end of file +} -- cgit v1.2.3