aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-04-20 15:40:15 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-04-20 19:36:25 +0100
commit0fe0f7e15317fd66925195bbb624bbb572d2b8ef (patch)
tree8b5197c482f2acf783dc37cbaded03e0a2f88e7c /web/cobrands
parent193697bde57ef2cfd0a46bb5a85fa98727378297 (diff)
Remove some unused cobrands.
Diffstat (limited to 'web/cobrands')
-rw-r--r--web/cobrands/barnet/_colours.scss22
-rw-r--r--web/cobrands/barnet/barnet.scss115
-rw-r--r--web/cobrands/barnet/base.scss37
-rw-r--r--web/cobrands/barnet/config.rb25
-rw-r--r--web/cobrands/barnet/css/layout.css143
-rw-r--r--web/cobrands/barnet/img/barnet-footer-logo.gifbin5262 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/barnet-logo.gifbin6372 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/barnet-skipnav.pngbin799 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/bcArrow.gifbin3741 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/blank.gifbin42 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/browsealoud.gifbin3109 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/directgov.gifbin3316 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/favicon.icobin645 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/fms-logo.pngbin4740 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/nav-arrow-active.gifbin3831 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/nav-bg-active.gifbin153 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/social1-facebook.gifbin499 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/social2-twitter.gifbin876 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/social3-youtube.gifbin1017 -> 0 bytes
-rw-r--r--web/cobrands/barnet/img/social4-flickr.gifbin670 -> 0 bytes
-rw-r--r--web/cobrands/barnet/layout.scss247
-rw-r--r--web/cobrands/barnet/position_map.js25
-rw-r--r--web/cobrands/bellavistaenaccion/_colours.scss21
-rw-r--r--web/cobrands/bellavistaenaccion/base.scss7
-rw-r--r--web/cobrands/bellavistaenaccion/config.rb25
-rw-r--r--web/cobrands/bellavistaenaccion/layout.scss2
-rw-r--r--web/cobrands/emptyhomes/SEHPlogo-bwS.pngbin17954 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/Sheltercymru47.gifbin960 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/Sheltercymru47s.pngbin9702 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/app.pngbin32982 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/c4logo.pngbin770 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/css/css.css318
-rw-r--r--web/cobrands/emptyhomes/eha-logo.jpegbin14680 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/eha-logo.pngbin12522 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/eha.jpgbin15204 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/eha.pngbin35399 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/street-r.jpegbin109683 -> 0 bytes
-rw-r--r--web/cobrands/emptyhomes/tiger-aspect.pngbin4778 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/_colours.scss21
-rw-r--r--web/cobrands/fixmybarangay/base.scss69
-rw-r--r--web/cobrands/fixmybarangay/config.rb25
-rw-r--r--web/cobrands/fixmybarangay/images/fmb-header.pngbin44269 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gifbin1850 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/images/ie_front_logo.gifbin3473 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/images/ie_logo.pngbin2143 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/images/mobile-22x40.pngbin454 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/images/pat3.pngbin3028 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/images/sprite.pngbin17752 -> 0 bytes
-rw-r--r--web/cobrands/fixmybarangay/layout.scss123
-rw-r--r--web/cobrands/fixmybarangay/message_manager.scss266
-rw-r--r--web/cobrands/fixmybarangay/message_manager_client.js850
-rw-r--r--web/cobrands/fixmybarangay/messages.js26
-rw-r--r--web/cobrands/fixmybarangay/position_map.js22
-rw-r--r--web/cobrands/fixmybarangay/test-texts.json17
-rw-r--r--web/cobrands/zerotb/_colours.scss24
-rw-r--r--web/cobrands/zerotb/base.scss120
-rw-r--r--web/cobrands/zerotb/config.rb25
-rw-r--r--web/cobrands/zerotb/images/pin-clinic-big.pngbin725 -> 0 bytes
-rw-r--r--web/cobrands/zerotb/images/pin-clinic.pngbin674 -> 0 bytes
-rw-r--r--web/cobrands/zerotb/images/pin-shadow-big.pngbin1202 -> 0 bytes
-rw-r--r--web/cobrands/zerotb/images/pin-shadow.pngbin720 -> 0 bytes
-rw-r--r--web/cobrands/zerotb/layout.scss105
62 files changed, 0 insertions, 2680 deletions
diff --git a/web/cobrands/barnet/_colours.scss b/web/cobrands/barnet/_colours.scss
deleted file mode 100644
index d723003b5..000000000
--- a/web/cobrands/barnet/_colours.scss
+++ /dev/null
@@ -1,22 +0,0 @@
-/* COLOURS */
-
-$menu-image: 'menu-black';
-
-$primary: #E9E9EA;
-$primary_b: #000000;
-$primary_text: #3E3D44;
-
-/* Unused here */
-$base_bg: #fff;
-$base_fg: #1a1a1a;
-$map_nav_bg: #222;
-$nav_fg: #fff;
-$nav_fg_hover: #444;
-
-$col_big_numbers: #C0E8E8;
-
-$col_click_map: #E1E3E4;
-$col_click_map_dark: darken(#E1E3E4, 10%);
-
-$col_fixed_label: #00BD08;
-$col_fixed_label_dark: #4B8304;
diff --git a/web/cobrands/barnet/barnet.scss b/web/cobrands/barnet/barnet.scss
deleted file mode 100644
index a6feb018f..000000000
--- a/web/cobrands/barnet/barnet.scss
+++ /dev/null
@@ -1,115 +0,0 @@
-/* Parts of barnet's main CSS needed for its header/footer and adjusted (see
- * bottom) to not be affected by main FixMyStreet CSS. Not very sustainable;
- * perhaps we should wrap all council CSS within a SCSS #council ID? Hmm.
- */
-
-@import "compass";
-
-#column_nav li { list-style: none ;}
-
-#content ol.big-numbers li {
- padding: 0 0 0 2.5em;
-}
-
-#barnet-wrapper {
- width: 100%;
- display: table;
- caption-side: bottom;
-}
-
-#barnet-powered-by {
- clear: both;
-}
-
-body {font-size: 75%; font-family: Arial, Helvetica, sans-serif; color: #3e3d44; padding: 0; margin: 0; line-height: 1.5; background: #e9e9ea;}
-body > html {font-size: 12px;}
-
-#barnet-wrapper {padding: 0; margin: 20px auto; width: 960px; background: #fff;}
-#ie_wrapper {display: block; padding: 20px 25px 25px;}
-#page {float: left; width: 100%;}
-
-#mast {clear: both;}
-
-#mast .pseudoH1 {margin: 0 0 0 -3px; padding: 0; background: url(img/barnet-logo.gif) no-repeat top left; width: 240px; height: 38px; float: left;}
-#mast .pseudoH1 a, #mast .pseudoH1 a:link, #mast .pseudoH1 a:visited, #mast .pseudoH1 a:hover, #mast .pseudoH1 a:active {display: block; width: 240px; height: 38px; padding: 0; background: url(img/barnet-logo.gif) no-repeat top left;}
-#mast .pseudoH1 span {position: absolute; margin-top: -13000px; top: -13000px;}
-
-#mast .mast_links {float: right; display: inline; margin: 0; padding: 10px 0 0; list-style: none; overflow: hidden;}
-
-#mast #search {clear: both; float: right; margin: 8px 0 0; background: #e1e3e4; border-top: 6px solid #bddadc; border-bottom: 2px solid #c8cacb; width: 100%; padding: 3px 0 2px; height: 21px;}
-
-/* ############################################################## */
-
-#content {margin: 0; width: 910px; overflow: hidden; min-height: 350px;}
-#content.withWidth {margin: 0 0 0 232px; width: 446px; overflow: hidden; float: left; display: inline;}
-#content.fullWidth {width: 678px;}
-#content.home {margin-top: 18px;}
-
-.mappage {
- #content.withWidth {margin: 0 0 0 0px; width: auto; overflow: hidden; float: left; display: inline;}
- #content.fullWidth {width: 900px;}
-}
-
-/* IE6 ignore the second #foo.bar rule so we have to fudge it another way */
-.ie6 {
- .mappage {
- #content {
- margin: 0 0 0 0px;
- overflow: hidden;
- float: left;
- display: inline;
- width: 900px;
- }
- }
-}
-
-#breadcrumb {font-size: .9em; color: #5c6267; padding: 6px 0; margin: 0 0 0 232px;}
-#breadcrumb.full {margin: 0;}
-#breadcrumb ul {margin: 0; padding: 0; list-style: none;}
-#breadcrumb ul li {margin: 0; padding: 0 4px 0 0; display: inline;}
-#breadcrumb ul li a:link, #breadcrumb ul li a:visited, #breadcrumb ul li a:hover, #breadcrumb ul li a:active {color: #5c6267; background: url(img/bcArrow.gif) no-repeat right center; padding: 0 10px 0 0; font-weight: normal;}
-#breadcrumb ul li span {font-weight: normal; color: #5c6267;}
-
-/* ############################################################## */
-
-#column_nav {width: 214px; float: left; display: inline; padding: 0; margin: -35px 0 0 -910px; border-right: 3px solid #fff;}
-
-.ie6 #column_nav {
- float: none;
- position: absolute;
- top: 85px;
- margin: 0 0 0 0px;
-}
-
-body.mappage #column_nav { display: none; }
-
-#content h1 {margin: 0 0 20px; font-size: 1.8em; border-bottom: 6px solid #bed9dd; font-family: Georgia, Times, 'Times New Roman', serif; color: #5d6167;}
-#content h1 span {padding: 6px 7px 3px; border: 1px solid #eff1f2; border-bottom: 0 none; display: block;}
-#content h1#reports_heading span { display: none; }
-
-#column_nav .navigation {background: #fff; margin: 0 0 4px;}
-#column_nav h2 {font-size: 1.2em; padding: 0; height: 29px; margin: 0; border-radius: 0 0 3px 3px; background: url(img/nav-bg-active.gif) left bottom repeat-x; border-top: 6px solid #bddadc;}
-#column_nav #nav1 h2 {border-radius: 0 0 0 3px;}
-#column_nav h2 a {color: #fff; padding: 3px 10px 0 26px; display: block; background: url(img/nav-arrow.gif) 8px 7px no-repeat;}
-#column_nav .active h2 a {background: url(img/nav-arrow-active.gif) 8px 8px no-repeat;}
-#column_nav ul {margin: 0 0 0 4px; padding: 8px 7px 4px; border-width: 0 1px 1px; border-color: #e1e1e1; border-style: solid; border-radius: 3px; list-style: none; background: #fff; background: -moz-linear-gradient(top, #ffffff 0%, #f7f9f8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f7f9f8)); background: -webkit-linear-gradient(top, #ffffff 0%,#f7f9f8 100%); background: -o-linear-gradient(top, #ffffff 0%,#f7f9f8 100%); background: -ms-linear-gradient(top, #ffffff 0%,#f7f9f8 100%); background: linear-gradient(top, #ffffff 0%,#f7f9f8 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f7f9f8',GradientType=0);}
-#column_nav ul li {margin: 0; padding: 2px 4px; border-bottom: 1px solid #bfc0c1; color: #333; font-size: .9em;}
-#column_nav ul li.lastItem {border-bottom: none;}
-#column_nav ul li a:link, #column_nav ul li a:visited, #column_nav ul li a:hover, #column_nav ul li a:active {display: block; color: #333; font-weight: normal;}
-#column_nav ul li a:hover, #column_nav ul li a:active {text-decoration: none; color: #0090a2;}
-
-/* ############################################################## */
-
-#footer {clear: both; margin: 10px 0 0; padding: 15px 0 0; text-align: left;}
-#footer p {border-top: 1px solid #dadadb; border-bottom: 1px solid #dadadb; margin: 0 0 5px; color: #5d6167; float: left; display: inline; height: 24px; padding: 8px 0 2px; width: 551px;}
-#footer p a {color: #5d6167; font-weight: normal; padding: 0 2px;}
-#footer p.assocLinks {float: right; display: inline; padding: 5px 0; width: 359px;}
-#footer p.assocLinks a {float: left; display: inline; margin: 0 0 0 8px; padding: 0; background-position: center top; background-repeat: no-repeat; width: 24px; height: 24px;}
-#footer p.assocLinks a:active, #footer p.assocLinks a:hover, #footer p.assocLinks a:focus {background-position: center bottom;}
-#footer a#goto_browsealoud {background-image: url(img/browsealoud.gif); width: 95px; height: 25px; margin-top: 1px;}
-#footer a#goto_directgov {background-image: url(img/directgov.gif); width: 90px; margin: 0 0 0 22px;}
-#footer a#share_facebook {background-image: url(img/social1-facebook.gif); margin: 0 0 0 24px;}
-#footer a#share_twitter {background-image: url(img/social2-twitter.gif);}
-#footer a#share_youtube {background-image: url(img/social3-youtube.gif);}
-#footer a#share_flickr {background-image: url(img/social4-flickr.gif);}
-#bottomBar {background: url(img/barnet-footer-logo.gif) 771px 12px no-repeat #21aaaa; display: block; width: 100%; height: 56px; border-top: 6px solid #bddadc;}
diff --git a/web/cobrands/barnet/base.scss b/web/cobrands/barnet/base.scss
deleted file mode 100644
index 73d5708c7..000000000
--- a/web/cobrands/barnet/base.scss
+++ /dev/null
@@ -1,37 +0,0 @@
-@import "../sass/h5bp";
-@import "./_colours";
-@import "../sass/mixins";
-@import "compass";
-
-@import "../sass/base";
-
-#mast,
-#breadcrumb,
-#page-title,
-#column_nav,
-#footer,
-#bottomBar
-{ display: none }
-
-#site-header{
- @include background(none);
- background-color: white;
-}
-#site-logo {
- width: 240px;
- background: url('/cobrands/barnet/img/barnet-logo.gif') 0 0 no-repeat;
- top: 0.6em;
- left: 0.5em;
-}
-
-#front-main #postcodeForm div input#sub,
-.green-btn,
-button.green-btn,
-input.green-btn,
-.red-btn,
-button.red-btn,
-input.red-btn{
- @include button-reset;
- background: #5D6167;
- color: white;
-}
diff --git a/web/cobrands/barnet/config.rb b/web/cobrands/barnet/config.rb
deleted file mode 100644
index cab97b18f..000000000
--- a/web/cobrands/barnet/config.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# Require any additional compass plugins here.
-
-# Set this to the root of your project when deployed:
-http_path = "/"
-css_dir = ""
-sass_dir = ""
-images_dir = ""
-javascripts_dir = ""
-
-# You can select your preferred output style here (can be overridden via the command line):
-# output_style = :expanded or :nested or :compact or :compressed
-
-# To enable relative paths to assets via compass helper functions. Uncomment:
-# relative_assets = true
-
-# To disable debugging comments that display the original location of your selectors. Uncomment:
-# line_comments = false
-
-# If you prefer the indented syntax, you might want to regenerate this
-# project again passing --syntax sass, or you can uncomment this:
-# preferred_syntax = :sass
-# and then run:
-# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
-
-line_comments = false # by Compass.app
diff --git a/web/cobrands/barnet/css/layout.css b/web/cobrands/barnet/css/layout.css
deleted file mode 100644
index cad46b039..000000000
--- a/web/cobrands/barnet/css/layout.css
+++ /dev/null
@@ -1,143 +0,0 @@
-/* FixMyStreet additions */
-/* Smaller map */
-#mysociety #map_box {
- width: 380px;
- margin-bottom: 8px;
-}
-#mysociety #map, #mysociety #drag {
- width: 378px;
- height: 378px;
-}
-
-#mysociety p#fixed, #mysociety p#unknown {
- margin-right: 400px;
- width: auto;
-}
-
-#mysociety textarea {
- border: 1px solid #999999;
-}
-
-/* fix (for the reports page) */
-#content #mysociety h1 span {
- display: inline;
- border: none;
- padding: 0;
-}
-
-#mysociety #postcodeForm {
- background-color: #E9E9EA;
-}
-#mysociety #postcodeForm label {
- width: 100%;
-}
-/*=========FROM CUSTOM=========*/
-.cl {clear: both;}
-
-br.cl, div.cl {
- height: 0;
- font-size: 0.1px;
- line-height: .0;
- }
-
-.rm {position: absolute; left: -999em;}
-
-a.rm:active, a.rm:focus {
- top: 15px;
- left: 230px;
- outline:none;
- padding: 7px 10px;
- font-weight:bold;
- border: 1px solid #fff;
- font-size: 1.2em;
- background-color: #fff;
- color: #008184;
- }
-
-#iewrap {min-width: 775px; max-width: 1382px;}
-
-/*=== Content Page Layout ===*/
-#wrap {
- float: right;
- width: 100%;
- margin: 5px 0 0 -270px;
- padding: 0;
- }
-
-#content{
- margin: 0 35px 0 275px;
- padding: 0 5px 0 5px;
- position: relative;
- }
-
-#left-column {
- float:left;
- width: 270px;
- line-height: 1.3em;
- margin: 5px 0 0 0;
- padding: 0;
- }
-
-/*=== Content Page Elements===*/
-
-#iewrap #print-logo {display:none}
-
-h1 {margin:0}
-/*
-h3, h4, h5, p, ol, ul, table, dl, address, form {margin-right: 5px; margin-left:5px}
-h1, h2 {padding-left: 5px}
-*/
-
-
-/*=== Quotes =====*/
-#content blockquote {margin:10px; min-height: 90px; padding-bottom: 10px}
-
-/*=== Tables =====*/
-
-table.data {width:95%;}
-table.data th {text-align:left; font-size:1.24em}
-caption {text-align:left; font-weight:bold; font-style:italic}
-
-table.data td, table.data th {padding:6px 6px 6px 10px}
-table.data {border-spacing:1px;}
-
-/*==== General styles for alignment of elements within the content area ==*/
-
-.image-left, img.alignleft {position: relative;float: left;}
-.image-inline, img.inline {display:block;}
-.image-right, img.alignright {float:right;clear: right;}
-
-.alignleft {float: left; margin: 5px 10px 10px 0;}
-.alignright {float: right; margin: 5px 0 10px 10px;}
-.centered {display: block; margin: 10px auto; padding: 10px 0; text-align:center;}
-
-.two-col1 {float: left; width: 48%;}
-.two-col2 {float: right; width: 48%;}
-
-/*======== form styles ========*/
-
-.form-info {font-style: italic; font-weight: bold; padding: 5px 0 0 0}
-
-form {margin-top:0}
-
-fieldset {
- margin: 0;
- padding: 0;
- border:none;
- }
-
-legend {
- padding: 0;
- margin: 0;
- font-size:1.308em;
- font-weight:bold
- }
-
-
-
-/*======= wide rows ======= */
-#content textarea {padding: 5px;}
-
-
-
-
diff --git a/web/cobrands/barnet/img/barnet-footer-logo.gif b/web/cobrands/barnet/img/barnet-footer-logo.gif
deleted file mode 100644
index afba1cca2..000000000
--- a/web/cobrands/barnet/img/barnet-footer-logo.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/barnet-logo.gif b/web/cobrands/barnet/img/barnet-logo.gif
deleted file mode 100644
index 86e0f4ee8..000000000
--- a/web/cobrands/barnet/img/barnet-logo.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/barnet-skipnav.png b/web/cobrands/barnet/img/barnet-skipnav.png
deleted file mode 100644
index 21efe0f67..000000000
--- a/web/cobrands/barnet/img/barnet-skipnav.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/bcArrow.gif b/web/cobrands/barnet/img/bcArrow.gif
deleted file mode 100644
index 4e7c1848e..000000000
--- a/web/cobrands/barnet/img/bcArrow.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/blank.gif b/web/cobrands/barnet/img/blank.gif
deleted file mode 100644
index 4bcc753a1..000000000
--- a/web/cobrands/barnet/img/blank.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/browsealoud.gif b/web/cobrands/barnet/img/browsealoud.gif
deleted file mode 100644
index 4fbb3eded..000000000
--- a/web/cobrands/barnet/img/browsealoud.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/directgov.gif b/web/cobrands/barnet/img/directgov.gif
deleted file mode 100644
index 1c9dd22e2..000000000
--- a/web/cobrands/barnet/img/directgov.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/favicon.ico b/web/cobrands/barnet/img/favicon.ico
deleted file mode 100644
index 03553e500..000000000
--- a/web/cobrands/barnet/img/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/fms-logo.png b/web/cobrands/barnet/img/fms-logo.png
deleted file mode 100644
index 23bea6b0f..000000000
--- a/web/cobrands/barnet/img/fms-logo.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/nav-arrow-active.gif b/web/cobrands/barnet/img/nav-arrow-active.gif
deleted file mode 100644
index 89ff9d0b3..000000000
--- a/web/cobrands/barnet/img/nav-arrow-active.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/nav-bg-active.gif b/web/cobrands/barnet/img/nav-bg-active.gif
deleted file mode 100644
index 0d2ec9873..000000000
--- a/web/cobrands/barnet/img/nav-bg-active.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/social1-facebook.gif b/web/cobrands/barnet/img/social1-facebook.gif
deleted file mode 100644
index 41b404df0..000000000
--- a/web/cobrands/barnet/img/social1-facebook.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/social2-twitter.gif b/web/cobrands/barnet/img/social2-twitter.gif
deleted file mode 100644
index 17f368536..000000000
--- a/web/cobrands/barnet/img/social2-twitter.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/social3-youtube.gif b/web/cobrands/barnet/img/social3-youtube.gif
deleted file mode 100644
index eeb6ba356..000000000
--- a/web/cobrands/barnet/img/social3-youtube.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/img/social4-flickr.gif b/web/cobrands/barnet/img/social4-flickr.gif
deleted file mode 100644
index 300e75da0..000000000
--- a/web/cobrands/barnet/img/social4-flickr.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/barnet/layout.scss b/web/cobrands/barnet/layout.scss
deleted file mode 100644
index 0ec085354..000000000
--- a/web/cobrands/barnet/layout.scss
+++ /dev/null
@@ -1,247 +0,0 @@
-@import "_colours";
-@import "../sass/layout";
-
-#mast,
-#breadcrumb,
-#page-title,
-#column_nav,
-#footer,
-#bottomBar {
- display: block;
-}
-
-// So that map appears underneath the header
-.wrapper {
- position: relative;
-}
-.ie6, .ie7 {
- .wrapper {
- padding-top: 1em;
- }
-}
-
-#front-main {
- @include border-radius(1em 1em 0 0);
- margin-bottom: 1em;
- padding-top: 0;
- width: 678px;
- // layout sets this because base has it slightly lighter
- #front-main-container {
- padding: 1em;
- }
-}
-
-#front_intro {
- float: left;
- margin-right: 3em;
-}
-
-#front_recent {
- margin-left: 3em;
-}
-
-body.fullwidthpage {
- .content {
- width: 52em;
- }
-}
-.ie6 {
- body.fullwidthpage {
- #front-main {
- margin-top: -4em;
- }
- #front-howto,
- #front-recently {
- width: 26em;
- }
- .container {
- padding: 0;
- }
- .content {
- margin-left: 0px;
- width: 55em;
- }
- div.img {
- margin-top: -3.3em;
- }
- }
-}
-
-.content {
- @include box-shadow(none);
-}
-
-body.twothirdswidthpage {
- .content {
- width: 640px;
- margin-top: 0;
- .sticky-sidebar {
- display: none;
- aside {
- top: 25em;
- }
- }
- }
-}
-
-.nav-wrapper {
- display: none;
-}
-
-.mappage {
- #breadcrumb {
- margin-left: 0px;
- }
-}
-
-.frontpage .content {
- margin: 0;
-}
-.iel8 {
- .frontpage .content {
- border: none;
- }
-}
-
-#content .container h1 {
- border-bottom: none;
- font-size: 2em;
- margin-bottom: 0.5em;
-}
-
-.shadow-wrap {
- position: static;
- padding-top: 0;
- margin-bottom: 1em;
- ul#key-tools {
- border-top: none;
- border-bottom: 1px solid $primary;
- li {
- a.chevron {
- background-position: right -3230px;
- }
- a.feed {
- background-position: right -3080px;
- }
- a.abuse {
- background-position: right -2940px;
- }
- }
- }
- ul#key-tools.singleton {
- li a {
- padding-right: 4em;
- }
- }
-}
-
-#content h1.big-green-banner {
- font-size: 1.4em;
- margin-left: -2em;
- background: #e1e3e4 url(/cobrands/fixmystreet/images/sprite.png) right -2192px no-repeat
-}
-
-body.frontpage {
- #user-meta {
- p {
- top: 1em;
- color: $primary_text;
- a {
- background: none;
- }
- }
- }
-}
-#user-meta {
- float: right;
- p {
- @include box-shadow(none);
- color: $primary_text;
- position: relative;
- background: none;
- a {
- color: $primary_text;
- background: none;
- }
- a:hover {
- background: $primary;
- }
- }
-}
-.ie6 {
- #user-meta {
- float: none;
- p {
- position: absolute;
- margin-top: 35px;
- margin-right: 20px;
- right: 0px;
- left: auto;
- }
-
- }
- .mappage {
- #user-meta {
- p {
- margin-right: -100px;
- }
- }
- }
-}
-
-/* barnet styles */
-
-.clear {
- clear: both;
-}
-
-#site-header,
-#site-logo {
- display: none !important;
-}
-
-
-#report-a-problem-sidebar {
- left: 29em;
- top: 4em;
- width: 17em;
- .sidebar-tips,
- .sidebar-notes {
- font-size: 0.9em;
- }
-}
-.ie6 {
- #report-a-problem-sidebar {
- margin-top: -4em;
- left: 29em;
- .sidebar-notes {
- padding-bottom: 0.5em;
- }
- p {
- margin-bottom: 0.4em;
- }
- }
-}
-
-
-.general-notes {
- font-size: 1em;
-}
-
-#front-howto #front_stats div big {
- color: #C0E8E8;
-}
-
-.banner {
- p {
- top: -2em;
- }
- p#fixed {
- padding-top: 4em;
- }
-}
-
-
-#map_box {
- border: 1px solid #999;
-}
diff --git a/web/cobrands/barnet/position_map.js b/web/cobrands/barnet/position_map.js
deleted file mode 100644
index b2b7bf05a..000000000
--- a/web/cobrands/barnet/position_map.js
+++ /dev/null
@@ -1,25 +0,0 @@
-function position_map_box() {
- var map_pos = 'absolute', map_height = $('.wrapper').height();
- // on the all reports page the height of the wrapper leads to a very
- // large map so we set a maximum size
- if ( map_height > 600 ) {
- map_height = 600;
- }
- $('#map_box').prependTo('.wrapper').css({
- zIndex: 0, position: map_pos,
- top: 1, left: $('.wrapper').left,
- right: 0, bottom: $('.wrapper').bottom + 1,
- width: '896px', height: map_height,
- margin: 0
- });
-}
-
-function map_fix() {
- var height = $('.wrapper').height() - 3;
- if ( height > 600 ) {
- height = 600;
- }
- $('#map_box').height(height);
-}
-
-var slide_wards_down = 1;
diff --git a/web/cobrands/bellavistaenaccion/_colours.scss b/web/cobrands/bellavistaenaccion/_colours.scss
deleted file mode 100644
index cfe698046..000000000
--- a/web/cobrands/bellavistaenaccion/_colours.scss
+++ /dev/null
@@ -1,21 +0,0 @@
-/* COLOURS */
-
-$orange: #ff9900;
-$bluey: #ff8888;
-
-$primary: #ffffee;
-$primary_b: #000000;
-$primary_text: #222222;
-
-$base_bg: $bluey;
-$base_fg: #000;
-
-$map_nav_bg: $bluey;
-$nav_fg: #000;
-$nav_fg_hover: $primary;
-
-$col_click_map: $bluey;
-$col_click_map_dark: darken($bluey, 10%);
-
-$col_fixed_label: #00BD08;
-$col_fixed_label_dark: #4B8304;
diff --git a/web/cobrands/bellavistaenaccion/base.scss b/web/cobrands/bellavistaenaccion/base.scss
deleted file mode 100644
index 9fccf92db..000000000
--- a/web/cobrands/bellavistaenaccion/base.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-@import "../sass/h5bp";
-@import "./_colours";
-@import "../sass/mixins";
-@import "compass";
-
-@import "../sass/base";
-
diff --git a/web/cobrands/bellavistaenaccion/config.rb b/web/cobrands/bellavistaenaccion/config.rb
deleted file mode 100644
index cab97b18f..000000000
--- a/web/cobrands/bellavistaenaccion/config.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# Require any additional compass plugins here.
-
-# Set this to the root of your project when deployed:
-http_path = "/"
-css_dir = ""
-sass_dir = ""
-images_dir = ""
-javascripts_dir = ""
-
-# You can select your preferred output style here (can be overridden via the command line):
-# output_style = :expanded or :nested or :compact or :compressed
-
-# To enable relative paths to assets via compass helper functions. Uncomment:
-# relative_assets = true
-
-# To disable debugging comments that display the original location of your selectors. Uncomment:
-# line_comments = false
-
-# If you prefer the indented syntax, you might want to regenerate this
-# project again passing --syntax sass, or you can uncomment this:
-# preferred_syntax = :sass
-# and then run:
-# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
-
-line_comments = false # by Compass.app
diff --git a/web/cobrands/bellavistaenaccion/layout.scss b/web/cobrands/bellavistaenaccion/layout.scss
deleted file mode 100644
index 69e455aa5..000000000
--- a/web/cobrands/bellavistaenaccion/layout.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "_colours";
-@import "../sass/layout";
diff --git a/web/cobrands/emptyhomes/SEHPlogo-bwS.png b/web/cobrands/emptyhomes/SEHPlogo-bwS.png
deleted file mode 100644
index 496d43115..000000000
--- a/web/cobrands/emptyhomes/SEHPlogo-bwS.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/Sheltercymru47.gif b/web/cobrands/emptyhomes/Sheltercymru47.gif
deleted file mode 100644
index b7eb2c4ff..000000000
--- a/web/cobrands/emptyhomes/Sheltercymru47.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/Sheltercymru47s.png b/web/cobrands/emptyhomes/Sheltercymru47s.png
deleted file mode 100644
index 5547be1e0..000000000
--- a/web/cobrands/emptyhomes/Sheltercymru47s.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/app.png b/web/cobrands/emptyhomes/app.png
deleted file mode 100644
index 8f422b08d..000000000
--- a/web/cobrands/emptyhomes/app.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/c4logo.png b/web/cobrands/emptyhomes/c4logo.png
deleted file mode 100644
index 783385e30..000000000
--- a/web/cobrands/emptyhomes/c4logo.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/css/css.css b/web/cobrands/emptyhomes/css/css.css
deleted file mode 100644
index 829986f59..000000000
--- a/web/cobrands/emptyhomes/css/css.css
+++ /dev/null
@@ -1,318 +0,0 @@
-/* Smaller map */
-/*
-#map_box {
- width: 380px;
-}
-#map, #drag {
- width: 378px;
- height: 378px;
-}
-
-p#fixed, p#unknown {
- margin-right: 400px;
- width: auto;
-}
-*/
-
-/* Generics */
-
-body {
- font-family: Geneva, Helvetica, Arial, sans-serif;
- margin: 0;
- padding: 0;
- /* color: #a9aeb0; */
-}
-
-h1 {
- margin: 0;
- font-size: 165%;
- padding: 3px;
- color: #FFFFFF;
- background-color: #9999CC;
- background-color: #30517A;
-
-}
-h2 {
- font-size: 140%;
- background-color: #B1BECF;
- color: #30517A;
- padding: 3px;
-}
-
-h3 {
- color: #30517A;
-}
-
-a:link {
- color: #30517A;
-}
-a:visited {
- color: #354664;
-}
-a:hover, a:active {
- background-color: #B1BECF;
-}
-
-#mysociety blockquote {
- border-left: solid 4px #013B63;
-}
-
-#mysociety .a {
- color: #000000;
- background-color: #DCDCED; /* #427499; */
- background-color: #B1BECF;
-}
-
-/* Site layout */
-
-#header {
- margin: 0;
- padding: 5px 0;
- float: left;
-}
-
-#header img {
- margin-left: 0.5em;
-}
-
-#header #eha-logo {
- float: left;
- margin-right: 1em;
-}
-
-#header div {
- float: left;
- margin-top: 0.5em;
-}
-
-#mysociety {
- width: 100%; /* Must specify a width or IE goes crazy wrong! */
- position: relative;
- margin: 0 auto;
- max-width: 60em;
-}
-
-/* Can't put the margin in #mysociety because of above IE craziness */
-#wrapper {
- clear: both;
- margin: 0 2em 2em;
- padding-top: 2em;
-}
-
-#navigation {
- float: right;
- padding: 0;
- margin: 0;
- list-style-type: none;
- font-size: 83%;
-}
-#navigation ul {
- padding: 0;
- margin: 0;
-}
-#navigation li {
- display: inline;
- padding: 0;
- margin: 0;
-}
-
-#navigation a {
- display: -moz-inline-box;
- display: inline-block;
- padding: 0.5em 0.5em;
-}
-#navigation a:link, #navigation a:visited {
- color: #30517A;
-}
-#navigation a:hover, #navigation a:active {
- background-color: #DCDCED;
- background-color: #9999CC;
- background-color: #B1BECF;
-
- color: #ffffff;
- color: #30517A;
-}
-
-#nav_new a {
- background-image: url("/i/new.png");
- background-repeat: no-repeat;
- background-position: 100% 0;
-}
-
-#meta {
- clear: right;
- float: right;
- list-style-type: none;
- margin: 0.25em 0.5em 0 1em;
- padding: 0;
- font-size: 83%;
-}
-#meta li {
- display: inline;
- margin: 0;
- padding: 0 0 0 0.25em;
- border-left: solid 1px #B1BECF;
-}
-#meta li:first-child {
- border-left: none;
-}
-
-#logo {
- border: none;
- position: absolute;
- top: 4em;
- right: 10px;
-}
-
-#emptyhomes-footer {
- clear: both;
- font-size: 83%;
- border-top: solid 2em #ffffff;
- background-color: #B1BECF;
- color: #000;
- margin: 2em 0 1em 0;
- padding: 20px;
- overflow: auto;
-}
-
-.ie6 #emptyhomes-footer {
- zoom: 1;
-}
-
-#emptyhomes-footer div {
- float: left;
- margin-right: 2em;
-}
-
-#emptyhomes-footer a {
- color: #000;
-}
-
-#mysociety #postcodeForm {
- background-color: #fe6500;
- color: #000000;
- font-size: 130%;
-}
-
-#mysociety #postcodeForm a, #mysociety #postcodeForm a:hover {
- color: #000000;
- background-color: inherit;
-}
-
-#mysociety #front_stats {
- display: block;
-}
-#mysociety #front_stats div {
- vertical-align: middle;
- background-color: #fe6500;
- color: #000000;
- padding: 0.5em;
- width: auto;
- display: block;
- margin-bottom: 0.5em;
-}
-#mysociety #front_stats div a {
- color: #000000;
- background-color: inherit;
-}
-#mysociety #front_stats div big {
- display: inline;
-}
-
-#mysociety #front_stats div#eha-app-link {
- padding-top: 16px;
- padding-left: 120px;
- color: #fe6500;
- background-color: #fff;
- background-image: url("/cobrands/emptyhomes/app.png");
- background-repeat: no-repeat;
-}
-#mysociety #front_stats div#eha-app-link a {
- color: #fe6500;
- background-color: #000;
-}
-
-#mysociety #problem_form {
- clear: both;
-}
-
-#mysociety #alert_links_area {
- margin-top: 1px;
-}
-
-#mysociety #eha_advert {
- clear: both;
- width: 55%;
- margin: 0 auto;
- padding: 0.5em;
- text-align: center;
- background-color: #ffeecc;
- border: solid 1px #ff9900;
-}
-
-#mysociety #front_intro {
- margin-bottom: 1em;
-}
-
-.video {
- float: right;
- margin-left: 35px;
-}
-
-.channel4 {
- font-size: 125%;
-}
-.channel4 > li:first-child + li {
- margin-bottom: 1em;
-}
-
-/* Front page how to report big */
-
-#eha_steps {
- background-image: url("/cobrands/emptyhomes/street-r.jpeg");
- background-repeat: no-repeat;
- padding: 0.5em 2% 0.5em 8%;
-}
-#eha_steps h2 {
- color: #000;
- background-color: #fe6500;
- margin-top: 0;
- margin-bottom: 0.4em;
-}
-#eha_steps ol {
- list-style-position: inside;
- padding: 0 0 0 40%;
- margin: 0;
-}
-#eha_steps li {
- color: #fff;
- background-color: #000;
- padding: 0.25em;
- margin-bottom: 0.5em;
-}
-
-.bl {
- color: #fff;
- background-color: #000;
-}
-
-/* Noddy half grid */
-
-.grid-50 {
- float: right;
- width: 48%;
- margin-right: 2%;
-}
-.grid-50:first-child {
- margin-right: 0;
-}
-.grid-50 > h2:first-child {
- margin-top: 0;
-}
-@media all and (max-width: 50em) {
- #mysociety .grid-50 {
- float: none;
- width: auto;
- }
-}
-
diff --git a/web/cobrands/emptyhomes/eha-logo.jpeg b/web/cobrands/emptyhomes/eha-logo.jpeg
deleted file mode 100644
index 250be8502..000000000
--- a/web/cobrands/emptyhomes/eha-logo.jpeg
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/eha-logo.png b/web/cobrands/emptyhomes/eha-logo.png
deleted file mode 100644
index 5cc912521..000000000
--- a/web/cobrands/emptyhomes/eha-logo.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/eha.jpg b/web/cobrands/emptyhomes/eha.jpg
deleted file mode 100644
index 56e767b86..000000000
--- a/web/cobrands/emptyhomes/eha.jpg
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/eha.png b/web/cobrands/emptyhomes/eha.png
deleted file mode 100644
index 8c17db486..000000000
--- a/web/cobrands/emptyhomes/eha.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/street-r.jpeg b/web/cobrands/emptyhomes/street-r.jpeg
deleted file mode 100644
index 722738de8..000000000
--- a/web/cobrands/emptyhomes/street-r.jpeg
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/emptyhomes/tiger-aspect.png b/web/cobrands/emptyhomes/tiger-aspect.png
deleted file mode 100644
index 53e8d5311..000000000
--- a/web/cobrands/emptyhomes/tiger-aspect.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/_colours.scss b/web/cobrands/fixmybarangay/_colours.scss
deleted file mode 100644
index d5544ff07..000000000
--- a/web/cobrands/fixmybarangay/_colours.scss
+++ /dev/null
@@ -1,21 +0,0 @@
-/* COLOURS */
-
-$primary: #fff; //E6DBD6
-$primary_b: #000000;
-$primary_text: #222222;
-
-$base_bg: #C7B299 url(images/pat3.png);
-$base_fg: $primary_text;
-
-$map_nav_bg: url('images/fmb-header.png') 30% 0% repeat-x;
-$nav_fg: #fff;
-$nav_fg_hover: rgba(0,0,0,0.8);
-
-$col_click_map: #00BD08;
-$col_click_map_dark: #4B8304;
-$col_fixed_label: #00BD08;
-$col_fixed_label_dark: #4B8304;
-
-$fmb_base_blue: #046AAA;
-$fmb_dark_blue: #084E7A;
-$fmb_tab_yellow: #FFD000;
diff --git a/web/cobrands/fixmybarangay/base.scss b/web/cobrands/fixmybarangay/base.scss
deleted file mode 100644
index 2f3fddaf3..000000000
--- a/web/cobrands/fixmybarangay/base.scss
+++ /dev/null
@@ -1,69 +0,0 @@
-@import "../sass/h5bp";
-@import "./_colours";
-@import "../sass/mixins";
-@import "compass";
-
-$image-sprite: 'images/sprite.png';
-
-@import "../sass/base";
-
-#site-logo{
- width: 225px !important;
- background: url($image-sprite) -3px -3px no-repeat;
-}
-
-#barangay_buttons {
- padding: 1em;
-}
-
-.yellow-btn,
-a.yellow-btn,
-button.yellow-btn,
-input.yellow-btn{
- @include button-reset(#FFD000, #cc9000, #aa7000, #300, #FFD000, #cc9000, #aa7000, #300);
- &:visited, &:hover {
- color:#300;
- }
-}
-
-.nav-menu--main a.report-a-problem-btn:hover {
- background: #fff;
-}
-
-.ie6 #site-logo {
- background-image: url('images/ie_logo.png');
-}
-
-// #site-header creates grey bar in mobile
-// .nav-wrapper-2 is used on desktop
-#site-header{
- border-top: 0.25em solid $fmb_tab_yellow;
- @include background(linear-gradient($fmb_dark_blue, $fmb_base_blue 10%, $fmb_base_blue 90%, $fmb_dark_blue));
-}
-
-ul#promo-list {
- margin: 0.5em;
- li {
- list-style:none;
- }
-}
-.promo-big, .promo-bigger {
- font-size: 130%;
- font-weight: bold;
- padding: 0 0.2em;
-}
-.promo-bigger {
- font-size: 150%;
-}
-.promo-example {
- font-size: 90%;
- font-style: italic;
- border: 1px solid #aaa;
- background-color:#f0ebe8; // pale tone of background image
- padding: 0.666em;
- margin: 1em 1em 1em 0;
- div {
- font-style: normal;
- font-family: monospace;
- }
-}
diff --git a/web/cobrands/fixmybarangay/config.rb b/web/cobrands/fixmybarangay/config.rb
deleted file mode 100644
index cab97b18f..000000000
--- a/web/cobrands/fixmybarangay/config.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# Require any additional compass plugins here.
-
-# Set this to the root of your project when deployed:
-http_path = "/"
-css_dir = ""
-sass_dir = ""
-images_dir = ""
-javascripts_dir = ""
-
-# You can select your preferred output style here (can be overridden via the command line):
-# output_style = :expanded or :nested or :compact or :compressed
-
-# To enable relative paths to assets via compass helper functions. Uncomment:
-# relative_assets = true
-
-# To disable debugging comments that display the original location of your selectors. Uncomment:
-# line_comments = false
-
-# If you prefer the indented syntax, you might want to regenerate this
-# project again passing --syntax sass, or you can uncomment this:
-# preferred_syntax = :sass
-# and then run:
-# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
-
-line_comments = false # by Compass.app
diff --git a/web/cobrands/fixmybarangay/images/fmb-header.png b/web/cobrands/fixmybarangay/images/fmb-header.png
deleted file mode 100644
index c3c45e009..000000000
--- a/web/cobrands/fixmybarangay/images/fmb-header.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gif b/web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gif
deleted file mode 100644
index da5ea679a..000000000
--- a/web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/images/ie_front_logo.gif b/web/cobrands/fixmybarangay/images/ie_front_logo.gif
deleted file mode 100644
index 2eeda87ef..000000000
--- a/web/cobrands/fixmybarangay/images/ie_front_logo.gif
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/images/ie_logo.png b/web/cobrands/fixmybarangay/images/ie_logo.png
deleted file mode 100644
index 454297104..000000000
--- a/web/cobrands/fixmybarangay/images/ie_logo.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/images/mobile-22x40.png b/web/cobrands/fixmybarangay/images/mobile-22x40.png
deleted file mode 100644
index 6a85ab097..000000000
--- a/web/cobrands/fixmybarangay/images/mobile-22x40.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/images/pat3.png b/web/cobrands/fixmybarangay/images/pat3.png
deleted file mode 100644
index a0f755de9..000000000
--- a/web/cobrands/fixmybarangay/images/pat3.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/images/sprite.png b/web/cobrands/fixmybarangay/images/sprite.png
deleted file mode 100644
index cbde4ac7f..000000000
--- a/web/cobrands/fixmybarangay/images/sprite.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/fixmybarangay/layout.scss b/web/cobrands/fixmybarangay/layout.scss
deleted file mode 100644
index defe1afd0..000000000
--- a/web/cobrands/fixmybarangay/layout.scss
+++ /dev/null
@@ -1,123 +0,0 @@
-@import "_colours";
-
-$image-sprite: 'images/sprite.png';
-
-@import "../sass/layout";
-
-@mixin box_round($radius) {
- -webkit-border-radius: $radius; /* Safari 3-4, iOS 1-3.2, Android ≤1.6 */
- border-radius: $radius; /* Opera 10.5, IE9+, Safari 5, Chrome, Firefox 4+, iOS 4, Android 2.1+ */
-
- /* useful if you don't want a bg color from leaking outside the border: */
- -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
-}
-
-body {
- .wrapper{
- background: url('images/fmb-header.png') 30% 0% repeat-x;
- }
- #site-logo {
- left:8px;
- }
-}
-
-
-body.frontpage {
- #site-logo {
- width: 370px !important;
- height: 70px;
- background: url('images/sprite.png') -3px -106px no-repeat;
- top: 2em;
- left: 1em;
- }
-
- .wrapper {
- background: url('images/fmb-header.png') 30% 0% repeat-x;
- }
-}
-
-.ie6 body.frontpage #site-logo {
- background-image: url(images/ie_front_logo.gif);
-}
-
-body.mappage .nav-wrapper div.nav-wrapper-2 {
- border-bottom: 2px solid #333;
-}
-
-#mysoc-logo {
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIkAAAAyCAMAAABf9whNAAAA0lBMVEUAAABAQEBAQEBAQEBNTU1NTU1AQEBNTU1AQEBAQEBAQEBAQEBAQEBAQEBAQEBNTU1NTU1AQEBNTU1AQEBNTU1AQEBAQEBNTU2Mxj9NTU33kx5NTU1NTU1NTU3tHCRmLZEpq+JNTU2TJ4/tHCSTJ4/87iEpq+L3kx5NTU387iH87iHtHCSTJ4/3kx51K5CTJ49mLZGMxj/tHCSx0zVmLZH6wSBmLZFmLZFDdb/zYCFbuZGMxj/3kx5AQEBNTU0pq+LtHCSMxj/3kx787iFmLZGTJ49ns3BGAAAAPXRSTlMAQL+AQIAQECBwMGBQj98gn5/Pr+/vzzC/r79wYI9wv69QcK+vcICfv68QQBAwj0AwMBBggIBQr3BwgEBgSmaQCwAAAflJREFUeF7t1Ndy2zAQhtGfAAX2IpFUseSSOLGd3nt27bT3f6UsQHusRFcKmVxkcGa4wvCG34AQ8V/wPM/zPM8zSaOaxGBHtFpF+IfikqwYO0LmELfiHH/XlLokSBrsiurtPdGkMJJFWFWTSQUZC0RhWMFNRQWuvTw9RS/VOolNEBgAudYpkE5pHqRpEACIZQ4x4RkztxMWd6KWa2DDvFDUBeg9urr6cPAZMIqEDogCmDmJKdwtlbjXOCc1sIRnhyxj0vIMNbeQMUNun5DBOTo6/3oASMhUF6krka3IM1lkikqdGaICMVE2sKSNICkR1sxYyMag5TWQd7bFPH4G8eT8zcOUKIGwJUYuSE7hzoldlZAwM7Dkwg4GQjtmXMtvBZHNiZJ7P+5C3P/2oH9SXyKXo1yJq0sbmmLMkg23h7xCryR1W5L8WqKsmz1BSbqjfNSSiMUGMEB/Bp8ePwdeLF/ZAn1TEssFR1MJIZmyGLUENXNrI8pCK6IMx99fn50tvyyBcuvEKuqKXDcuocgAQ/I7conMGgA5BfD23fvLy4/LT0Ba/v4vphRxR9dnlmIMU4ULO0IgsgPr/rya3H7F4JycoCf3sq0vW5ICiLXO3YtsMC4JqbG3uCFKMSb3nYuwNyLKMK6Q6wj7a7oMY4vwJwwG8TzP8zzP834CEcRJKkEhVogAAAAASUVORK5CYII=");
-}
-#front-main {
- background: rgba(255,255,255,0.1);
- margin-top: 70px;
-
- #postcodeForm {
- margin-left: 0;
- margin-right: 0;
- }
-
- a {
- text-decoration:none;
- }
-
- p {
- padding-bottom:4px;
- }
-}
-
-.nav-menu--mysoc {
- padding: 1px 0.5em;
-}
-.nav-menu--main {
- padding: 3px 0;
-}
-
-body.mappage .nav-menu--main a,
-body.mappage .nav-menu--main span,
-.nav-menu--main a,
-.nav-menu--main span
-{
- color: #fff;
- padding: 0.7em;
- background-color: rgba(0,0,0,0);
- background-image: none;
- @include box_round(0.35em);
- margin-left: 3px;
-
- &.report-a-problem-btn {
- color: #fff;
- padding: 0.7em;
- background-color: rgba(0,0,0,0);
- background-image: none;
- margin: 0;
- }
-
- &.fmb-bgy-btn {
- color: #fcc921;
- }
-
- &:hover {
- background-color: rgba(0,0,0,0.75);
- background-image: none;
- }
-}
-
-
-#user-meta {
- max-width: 96%;
-}
-
-
-
-#front-howto {
- #front_stats {
- border-top: 0.25em solid #000;
- div {
- big {
- color: #000;
- }
- }
- }
-}
-
-@import "message_manager";
diff --git a/web/cobrands/fixmybarangay/message_manager.scss b/web/cobrands/fixmybarangay/message_manager.scss
deleted file mode 100644
index 9af6c80ee..000000000
--- a/web/cobrands/fixmybarangay/message_manager.scss
+++ /dev/null
@@ -1,266 +0,0 @@
-@import "_colours";
-
-$mm_status_message_color: #a66;
-$mm_border_color: #eee;
-
-$color_reply_bg: #cccccc;
-$color_bg_reply_0: #E8E8E8;
-$color_bg_reply_1: #DEDEDE;
-$color_bg_reply_2: #D6D6D6;
-$color_bg_reply_3: #D1D1D1;
-$color_bg_reply_4: #C9C9C9;
-$color_bg_reply_5: #BFBFBF;
-$color_bg_reply_6: #B8B8B8;
-$color_bg_mm_list: #F6F6F6;
-
-$color_bg_btn_hide: #ff0000;
-$color_bg_btn_reply: #008000;
-$color_bg_btn_info: #0000ff;
-$color_bg_btn_detach: #FFA500;
-
-$weak_text_color: #666;
-
-p.mm-submitted-by-sms {
- color: $weak_text_color;
- font-style: italic;
- font-size: 0.8125em;
- img {
- border: none;
- margin-right: 0.5em;
- width: 22px;
- height: 40px;
- vertical-align:middle;
- display: inline;
- }
-}
-
-#message_manager {
- margin-top: 0;
- li#mm-admin-buttons {
- margin: -0.5em 0 0 0;
- text-align: right;
- font-size:80%;
- padding:4px 0;
- a {
- padding: 0.25em 0.5em;
- border:1px solid $mm_border_color;
- margin: 0 0.5em;
- display: inline-block;
- }
- background-color: #fff;
- &:hover {
- background-color: #fff;
- }
- #mm-link-to-toggle-archive {
- border-color: green;
- }
- }
- #message-control {
- background-color: #fff;
- &:hover {
- background-color: #fff;
- }
- #mm-username-container {
- display: none; // hidden during dev
- padding: 8px;
- text-align: right;
- color: $mm_status_message_color;
- font-style: italic;
- span {
- color: #000;
- font-style: normal;
- }
- }
- #mm-status-message-container {
- position: relative;
- min-height: 1.4em;
- margin: 0 0 8px 0.5em;
- padding: 8px 4px 8px 24px;
- color: $mm_status_message_color;
- font-style: italic;
- p {
- margin:0;
- padding:0;
- }
- #mm-spinner {
- position: absolute;
- left: 4px;
- top: 10px;
- display: none;
- }
- }
- #mm-login-container {
- display: none; // only shown on/after a 403
- border: 1px solid $mm_border_color;
- padding: 0 1em;
- margin: 1em;
- input {
- margin-bottom: 1em;
- }
- }
- }
-
- #mm-message-list {
- ul {
- list-style-type: none;
- padding: 0;
- margin: 0;
- li, ul.mm-reply-thread li {
- position: relative;
- clear: both;
- margin: 4px 0 0 0;
- padding: 0;
- background-color: $color_bg_mm_list;
- p {
- background-color: inherit;
- margin: 0.25em 0 0 0;
- padding: 0.5em 1em;
- &:hover { background-color: #efe;}
- .msg-info-box {
- font-style: italic;
- font-size: 90%;
- color: #666;
- border-top: 1px dashed #666;
- padding:4px 0 0 0;
- margin: 4px 0 0 0;
- display: none;
- }
- }
- ul.mm-reply-thread {
- li {
- margin:0;
- }
- .mm-reply {
- background-color: #ccc;
- &:hover {background-color: #eef;}
- }
- .mm-reply-0 { margin-left: 0em; background-color: $color_bg_reply_0;}
- .mm-reply-1 { margin-left: 1em; background-color: $color_bg_reply_1;}
- .mm-reply-2 { margin-left: 2em; background-color: $color_bg_reply_2;}
- .mm-reply-3 { margin-left: 3em; background-color: $color_bg_reply_3;}
- .mm-reply-4 { margin-left: 4em; background-color: $color_bg_reply_4;}
- .mm-reply-5 { margin-left: 5em; background-color: $color_bg_reply_5;}
- .mm-reply-6 { margin-left: 6em; background-color: $color_bg_reply_6;}
- }
- &:hover { background-color: #efe;}
- &.msg-is-locked { background-color: #fdd;}
- &.msg-is-busy { background-color: #ffd;}
- &.msg-is-owned { background-color: #dfd;}
- &.msg-is-active {
- background-color: $col_click_map; color:#fff;
- p:hover { background-color: $col_click_map; color:#fff; } // fix for mouseover on p
- p.mm-reply:hover {background-color: #eef; color:#000;} // fix for mouseover on p
- }
- span.msg-tag {
- width: 3em;
- float:left;
- }
- .mm-radio-filler,
- input[type=radio] {
- display: block;
- float: left;
- }
- label, span.msg-text {
- display: block;
- font-weight: normal;
- margin: 0.1em 0 0.1em 4.5em;
- }
- .mm-radio-filler {
- margin:0;
- padding:0;
- }
- .mm-msg-action {
- display: none;
- padding: 0.2em 0.4em;
- color: white;
- text-align: center;
- position: absolute;
- top: 4px;
- &:hover { background-color: black;}
- }
- .mm-hide {
- right:0px;
- background-color: $color_bg_btn_hide;
- cursor: pointer;
- }
- .mm-info {
- right:1.5em;
- background-color: $color_bg_btn_info;
- cursor: pointer;
- }
- .mm-rep {
- right:2.6em;
- background-color: $color_bg_btn_reply;
- cursor: pointer;
- }
- .mm-detach {
- right:5.65em;
- background-color: $color_bg_btn_detach;
- cursor: pointer;
- }
- }
- &.mm-archive {
- display: none; // archive only shown on interaction
- li label {
- cursor: default;
- }
- }
- }
- }
- p.mm-empty {
- margin: 1em;
- }
-}
-#show_messages, #copy_to_update, #reply-submit {
- margin: 1em;
-}
-#copy_to_update {
- display: none; // show on demand, not before
-}
-#show_messages {
- width: 11em; // hack to stop adjacent button hopping when button message changes
-}
-
-#detach-form-container,
-#reply-form-container,
-#hide-form-container {
- p {
- color: #000;
- max-width: 25em;
- margin: 1em;
- }
- #hide-form,
- #reply-form{
- margin-top: 2em;
- textarea {
- min-height: 3em;
- margin-bottom: 0.5em;
- }
- }
- #mm-boilerplate-replies-box, #mm-boilerplate-hide-reasons-box {
- overflow: hidden;
- display: none;
- }
- select {
- width: 100%;
- max-width: 25em;
- }
-}
-#mm-help {
- .demo_hide_btn, .demo_reply_btn, .demo_info_btn, .demo_detach_btn {
- color: #fff;
- font-weight: bold;
- padding: 0.2em 0.4em;
- }
- .demo_hide_btn { background-color: $color_bg_btn_hide; }
- .demo_reply_btn { background-color: $color_bg_btn_reply; }
- .demo_info_btn { background-color: $color_bg_btn_info; }
- .demo_detach_btn{ background-color: $color_bg_btn_detach; }
- h3 {
- border-top: 1px solid $color_reply_bg;
- padding-top: 0.8em;
- }
- p {
- margin: 1em;
- }
-}
diff --git a/web/cobrands/fixmybarangay/message_manager_client.js b/web/cobrands/fixmybarangay/message_manager_client.js
deleted file mode 100644
index 06ea7a909..000000000
--- a/web/cobrands/fixmybarangay/message_manager_client.js
+++ /dev/null
@@ -1,850 +0,0 @@
-/*
- * creates a message_manage object that uses the Message Manager API:
- * include this file, then initialise the object when the page is loaded with
- * message_manager.config(settings)
- *
- * i.e., you *must* do something like:
- *
- * $(document).ready(function() {
- * message_manager.config({url_root:'http://yourdomain.com/messages'})
- * }
- *
- * You'll need to set the url_root, but you can leave everything else to default
- * provided your HTML ids and classes are the same as ours (which they might be:
- * see the Message Manager's dummy client (at /client) to see the HTML we use).
- *
- * The (optional) single parameter for .config() is a hash of name-value pairs:
- *
- * url_root accepts the root URL to the message manager.
- *
- * want_unique_locks normally MM clients should relinquish all other locks
- * when claiming a new one so want_unique_locks defaults
- * to true; but you can set it explicitly here.
- *
- * mm_name name of Message Manager (used in error messages shown
- * to user, e.g., "please log in to Message Manager")
- *
- * msg_prefix all message <li> items have this as their ID prefix
- *
- * want_nice_msgs don't use language like "lock granted"
- *
- * tooltips hash of tooltips: override the items you want, keys are:
- * tt_hide, tt_info, tt_reply, tt_radio
- *
- * want_radio_btns normally MM clients show a radio button, but for archive
- * messages this might be unneccessary: default is true, but
- * pass in false to suppress this.
- *
- * *_selector these are the jQuery selects that will be used to find
- * the respective elements:
- *
- * message_list_selector: list of messages
- * status_selector: status message display
- * login_selector: login form
- *
- *
- * Summary of all methods:
- * message_manager.config([options])
- * message_manager.setup_click_listener([options])
- * message_manager.get_available_messages([options])
- * message_manager.request_lock(msg_id, [options]) (default use: client code doesn't need to call this explicitly)
- * message_manager.assign_fms_id(msg_id, fms_id, [options])
- * message_manager.hide(msg_id, reason_text, [options])
- * message_manager.reply(msg_id, reply_text, [options])
- * message_manager.show_info(msg_id)
- * message_manager.sign_out()
- *
- * Note: options are {name:value, ...} hashes and often include "callback" which is a function that is executed on success
- * but see the docs (request_lock executes callback if the call is successful even if the lock was denied, for example).
- * Some methods take 'callback' as the only option, but you still need to pass it as a named option.
-*/
-
-var message_manager = (function() {
-
- // default/config values: to be overridden using "config({name:value, ...})"
-
- var _url_root = 'http://www.example.com/message_manager/';
- var _want_unique_locks = true;
- var _msg_prefix = "msg-";
- var _username;
- var _mm_name = "Message Manager";
- var _use_fancybox = true; // note: currently *must* have fancybox!
- var _want_nice_msgs = false;
- var _want_radio_btns = true;
-
- var _tooltips = {
- tt_hide : "Hide message",
- tt_info : "Get info",
- tt_reply : "Send SMS reply",
- tt_radio : "Select message before clicking on map to create report",
- tt_detach: "Detach this message because it is not a reply"
- };
-
- // cached jQuery elements, populated by the (mandatory) call to config()
- var $message_list_element;
- var $status_element;
- var $login_element;
- var $htauth_username;
- var $htauth_password;
- var $hide_reasons;
- var $boilerplate_replies;
-
- var msg_no_config_err = "Config error: no Message Manager URL has been specified";
-
- // set _want_nice_msgs to avoid using the term "lock"
- var msg_trying_for_lock = ["Trying for lock...", "Checking message..." ];
- var msg_checking_lock = ["Checking lock...", "Checking message..." ];
- var msg_claiming_lock = ["Claiming lock...", "Checking message..." ];
- var msg_lock_granted_ok = ["Lock granted OK", "Checking message... OK"];
- var msg_lock_denied = ["", "Someone is working with that message right now!"];
-
- function get_msg(msg) {
- return msg[_want_nice_msgs? 1 : 0];
- }
-
- var config = function(settings) {
- var selectors = {
- message_list_selector: '#mm-message-list',
- status_selector: '#mm-status-message-container',
- login_selector: '#mm-login-container',
- username_selector: '#mm-received-username',
- htauth_username_selector: '#mm-htauth-username',
- htauth_password_selector: '#mm-htauth-password',
- boilerplate_hide_reasons: '#mm-boilerplate-hide-reasons-box',
- boilerplate_replies: '#mm-boilerplate-replies-box'
- };
- if (settings) {
- if (typeof settings.url_root === 'string') {
- _url_root = settings.url_root;
- if (_url_root.length > 0 && _url_root.charAt(_url_root.length-1) !== "/") {
- _url_root+="/";
- }
- }
- if (typeof settings.want_unique_locks !== 'undefined') {
- _want_unique_locks = settings.want_unique_locks;
- }
- if (typeof settings.msg_prefix === 'string') {
- _msg_prefix = settings.msg_prefix;
- }
- for (var sel in selectors) {
- if (typeof settings[sel] === 'string') {
- selectors[sel] = settings[sel];
- }
- }
- if (typeof settings.mm_name === 'string') {
- _mm_name = settings.mm_name;
- }
- if (typeof settings.want_nice_msgs !== 'undefined') {
- _want_nice_msgs = settings.want_nice_msgs;
- }
- if (typeof settings.want_radio_btns !== 'undefined') {
- _want_radio_btns = settings.want_radio_btns;
- }
- if (settings.tooltips) {
- for (var key in settings.tooltips) {
- if (settings.tooltips.hasOwnProperty(key)) {
- _tooltips[key]=settings.tooltips[key];
- }
- }
- }
- }
- $message_list_element = $(selectors.message_list_selector);
- $status_element = $(selectors.status_selector);
- $login_element = $(selectors.login_selector);
- $htauth_username = $(selectors.htauth_username_selector);
- $htauth_password = $(selectors.htauth_password_selector);
- $hide_reasons = $(selectors.boilerplate_hide_reasons);
- $boilerplate_replies = $(selectors.boilerplate_replies);
- if (typeof settings.url_root === 'string' && _url_root.length===0) {
- say_status(msg_no_config_err);
- }
- };
-
- var make_base_auth = function(user, password) {
- var tok = user + ':' + password;
- var hash = encodeBase64(tok); // window.btoa(tok) doesn't work on all browers
- return "Basic " + hash;
- };
-
- function encodeBase64(input) {
- var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',
- INVALID_CHARACTER_ERR = (function () {
- // fabricate a suitable error object
- try {
- document.createElement('$');
- } catch (error) {
- return error;
- }
- }()),
- block, charCode, idx, map, output;
- // encoder (with wee change by mhl Mark to satisfy jslint)
- // [https://gist.github.com/999166] by [https://github.com/nignag]
- for (idx = 0, map = chars, output = '';
- input.charAt(idx | 0) || ((map = '=') && (idx % 1));
- output += map.charAt(63 & block >> 8 - idx % 1 * 8)) {
- charCode = input.charCodeAt(idx += 3/4);
- if (charCode > 0xFF) {
- throw INVALID_CHARACTER_ERR;
- }
- block = block << 8 | charCode;
- }
- return output;
- }
-
- var get_current_auth_credentials = function() {
- var base_auth = "";
- var htauth_un = "";
- var htauth_pw = "";
- if ($htauth_username.size()) {
- htauth_un = $htauth_username.val();
- htauth_pw = $htauth_password.val();
- }
- if (htauth_un.length === 0 && Modernizr.sessionstorage && sessionStorage.getItem('mm_auth')) {
- base_auth = sessionStorage.getItem('mm_auth');
- } else {
- base_auth = make_base_auth(htauth_un, htauth_pw);
- if (Modernizr.sessionstorage) {
- sessionStorage.mm_auth = base_auth;
- }
- }
- return base_auth;
- };
-
- var sign_out = function() { // clear_current_auth_credentials
- if (Modernizr.sessionstorage) {
- sessionStorage.removeItem('mm_auth');
- }
- if ($htauth_password) {
- $htauth_password.val('');
- }
- };
-
- var show_login_form = function(suggest_username) {
- $('.mm-msg', $message_list_element).remove(); // remove (old) messages
- if ($htauth_username.size() && ! $htauth_username.val()) {
- $htauth_username.val(suggest_username);
- }
- $login_element.stop(true,true).slideDown();
- };
-
- var say_status = function (msg, show_spinner, allow_html) {
- if ($status_element) {
- if (show_spinner) {
- // slow fade in so that spinner only appears if there's a long delay
- $status_element.find('#mm-spinner').stop(true,true).fadeIn(1200);
- } else {
- $status_element.find('#mm-spinner').stop(true,true).hide();
- }
- $status_element.stop(true,true).show();
- if (allow_html) {
- $status_element.find('p').html(msg);
- } else {
- $status_element.find('p').text(msg);
- }
- }
- };
-
- var extract_replies = function(replies, depth, is_archive) {
- var $ul = "";
- if (replies && replies.length > 0) {
- $ul = $('<ul class="mm-reply-thread"/>');
- for (var i=0; i<replies.length; i++) {
- $ul.append(get_message_li(replies[i], depth, is_archive));
- }
- }
- return $ul;
- };
-
- var get_message_li = function(message_root, depth, is_archive) {
- var msg = message_root.Message; // or use label value
- var lockkeeper = message_root.Lockkeeper.username;
- var escaped_text = $('<div/>').text(msg.message).html();
- var $p = $('<p/>');
- var $hide_button = $('<a class="mm-msg-action mm-hide" id="mm-hide-' + msg.id + '" href="#hide-form-container" title="' + _tooltips.tt_hide + '">X</a>');
- var $info_button = $('<span class="mm-msg-action mm-info" id="mm-info-' + msg.id + '" title="' + _tooltips.tt_info + '">i</span>');
- var $reply_button = $('<a class="mm-msg-action mm-rep" id="mm-rep-' + msg.id + '" href="#reply-form-container" title="' + _tooltips.tt_reply + '">reply</a>');
- var $detach_button = $('<a class="mm-msg-action mm-detach" id="mm-rep-' + msg.id + '" href="#detach-form-container" title="' + _tooltips.tt_detach + '">detach</a>');
- var is_radio_btn = _want_radio_btns && depth === 0 && ! is_archive;
- if (_use_fancybox) {
- $reply_button.fancybox();
- $hide_button.fancybox();
- $detach_button.fancybox();
- }
- if (depth === 0) {
- var tag = (!msg.tag || msg.tag === 'null')? '&nbsp;' : msg.tag;
- tag = $('<span class="msg-tag"/>').html(tag);
- var radio = null;
- if (is_radio_btn) {
- radio = $('<input type="radio"/>').attr({
- 'id': 'mm_text_' + msg.id,
- 'name': 'mm_text',
- 'value': escaped_text,
- 'title': is_radio_btn? _tooltips.tt_radio : ""
- }).wrap('<p/>').parent().html();
- } else {
- radio = $("<p>&ndash;</p>").addClass('mm-radio-filler');
- }
- var label = $('<label />').attr({
- 'class': 'msg-text',
- 'for': 'mm_text_' + msg.id,
- 'title': is_radio_btn? _tooltips.tt_radio : ""
- }).text(escaped_text).wrap('<p/>').parent().html();
- $p.append(tag).append(radio).append(label);
- } else {
- $p.text(escaped_text).addClass('mm-reply mm-reply-' + depth);
- }
- var $litem = $('<li id="' + _msg_prefix + msg.id + '" class="mm-msg">').append($p).append($hide_button).append($info_button);
- if (depth > 0 && depth % 2 === 0) { // only even-numbered depths are incoming replies that can be detached
- $litem.append($detach_button);
- }
- if (msg.is_outbound != 1) {
- $litem.append($reply_button);
- }
- if (lockkeeper) {
- $litem.addClass(lockkeeper == _username? 'msg-is-owned' : 'msg-is-locked');
- }
- var info_text = "";
- if (msg.is_outbound == 1) {
- info_text = 'sent on ' + msg.created + ' by ' + msg.sender_token;
- } else {
- info_text = 'received on ' + msg.created + ' from ' + '<abbr title="'+ msg.sender_token + '">user</abbr>';
- }
- $p.append('<div class="msg-info-box" id="msg-info-box-' + msg.id + '">' + info_text + '</div>');
- if (message_root.children) {
- $litem.append(extract_replies(message_root.children, depth+1, is_archive));
- }
- return $litem;
- };
-
- var show_available_messages = function(data, anim_duration) {
- var messages = data.messages;
- _username = data.username;
- var $output = $message_list_element;
- if (anim_duration > 0) {
- $output.stop(true,true).fadeOut(anim_duration, function(){
- render_available_messages(data, anim_duration);
- });
- } else {
- render_available_messages(data, anim_duration);
- }
- };
-
- // render allows animation (if required) to hide messages before repainting and then revealing them
- var render_available_messages = function(data, anim_duration) {
- var $output = $message_list_element;
- $output.empty();
- var archive = data.messages_for_this_report;
- var $archive = "";
- var i, litem;
- if (archive instanceof Array) {
- var $arch_ul = $('<ul class="mm-root mm-archive"/>');
- for(i=0; i< archive.length; i++) {
- litem = get_message_li(archive[i], 0, true);
- $arch_ul.append(litem);
- }
- $output.append($arch_ul);
- }
- var messages = data.messages;
- _username = data.username;
- if (messages instanceof Array) {
- var $ul = $('<ul class="mm-root mm-current"/>');
- if (messages.length === 0) {
- $output.append('<p class="mm-empty">No messages available.</p>');
- } else {
- for(i=0; i< messages.length; i++) {
- litem = get_message_li(messages[i], 0, false);
- $ul.append(litem);
- }
- }
- $output.append($ul);
- } else {
- $output.html('<p>No messages (server did not send a list).</p>');
- }
- if (anim_duration > 0) {
- $output.slideDown(anim_duration);
- }
- };
-
- // accept an element (e.g., message_list) and add the click event to the *radio button* within it
- // A bit specific to expect li's perhaps.
- // options are passed through to the lock
- var setup_click_listener = function(options) {
- $message_list_element.on('click', 'input[type=radio]', function(event) {
- var $li = $(this).closest('li');
- var id = $li.attr('id').replace(_msg_prefix, '');
- if ($li.hasClass('msg-is-locked')) {
- say_status(get_msg(msg_trying_for_lock), true);
- } else if ($li.hasClass('msg-is-owned')) {
- say_status(get_msg(msg_checking_lock), true);
- } else {
- say_status(get_msg(msg_claiming_lock), true);
- }
- request_lock(id, options);
- });
- // clicking the reply button loads the id into the (modal/fancybox) reply form
- $message_list_element.on('click', '.mm-rep', function(event) {
- $('#reply_to_msg_id').val($(this).closest('li').attr('id').replace(_msg_prefix, ''));
- });
- // clicking the hide button loads the id into the (modal/fancybox) hide form
- $message_list_element.on('click', '.mm-hide', function(event) {
- $('#hide_msg_id').val($(this).closest('li').attr('id').replace(_msg_prefix, ''));
- // $('#hide-form-message-text').val(TODO);
- });
- // clicking the detach button loads the id into the (modal/fancybox) detach form
- $message_list_element.on('click', '.mm-detach', function(event) {
- $('#detach_msg_id').val($(this).closest('li').attr('id').replace(_msg_prefix, ''));
- });
- };
-
- // gets messages or else requests login
- // options: suggest_username, if provided, is preloaded into the login form if provided
- // anim_duration: duration of fade/reveal (0, by defaut, does no animation)
- // fms_id: if provided, display an archive of messages for this username
- var get_available_messages = function(options) {
- var base_auth = get_current_auth_credentials();
- var suggest_username = "";
- var anim_duration = 0;
- var callback = null;
- var fms_id = null;
- if (options) {
- if (typeof(options.callback) === 'function') {
- callback = options.callback;
- }
- if (typeof options.suggest_username === 'string') {
- suggest_username = options.suggest_username;
- }
- if (typeof options.anim_duration === 'string' || typeof options.anim_duration === 'number') {
- anim_duration = parseInt(options.anim_duration, 10);
- if (isNaN(anim_duration)) {
- anim_duration = 0;
- }
- }
- if (typeof options.fms_id === 'string' || typeof options.fms_id === 'number') {
- fms_id = parseInt(options.fms_id, 10);
- if (isNaN(fms_id)) {
- fms_id = 0;
- }
- }
- }
- if (base_auth === "") {
- show_login_form(suggest_username);
- return;
- }
- $login_element.stop(true,true).hide();
- if (_url_root.length === 0) {
- say_status(msg_no_config_err);
- } else {
- var ajax_url = _url_root +"messages/available.json";
- if (fms_id) {
- ajax_url += "?fms_id=" + fms_id;
- }
- say_status("Fetching messages...", true);
- $.ajax({
- dataType: "json",
- type: "get",
- url: ajax_url,
- beforeSend: function (xhr){
- xhr.setRequestHeader('Authorization', get_current_auth_credentials());
- xhr.withCredentials = true;
- },
- success: function(data, textStatus) {
- show_available_messages(data, anim_duration);
- say_status("Fetching messages... done, OK", false); // loaded OK
- if (typeof(callback) === "function") {
- callback.call($(this), data); // execute callback
- }
- },
- error: function(jqXHR, textStatus, errorThrown) {
- var st = jqXHR.status;
- var msg_is_html = false;
- if (st == 401 || st == 403) {
- var msg = (st == 401 ? "Invalid username or password for" : "Access denied: please log in to") + " " + _mm_name;
- say_status(msg);
- show_login_form(suggest_username);
- } else {
- var err_msg = "Unable to load messages: ";
- if (st === 0 && textStatus === 'error') { // x-domain hard to detect, sometimes intermittent?
- if (_url_root.indexOf('https')===0 && ! location.protocol != 'https:') {
- var surl = location.href.replace(/^http:/, 'https:');
- err_msg += 'this is an insecure URL.<br/><a href="' + surl + '">Try from HTTPS instead?</a>';
- msg_is_html = true;
- } else {
- err_msg += "maybe try refreshing page?";
- }
- } else {
- err_msg += textStatus + " (" + st + ")";
- }
- say_status(err_msg, false, msg_is_html);
- }
- }
- });
- }
- };
-
- var request_lock = function(msg_id, options) {
- var $li = $('#' + _msg_prefix + msg_id);
- var lock_unique = _want_unique_locks;
- var callback = null;
- if (options) {
- if (typeof(options.callback) === 'function') {
- callback = options.callback;
- }
- if (typeof(options.lock_unique) !== undefined && options.lock_unique !== undefined) {
- lock_unique = options.lock_unique;
- }
- }
- $li.addClass('msg-is-busy');
- $.ajax({
- dataType:"json",
- type:"post",
- url: _url_root +"messages/" +
- (lock_unique? "lock_unique" : "lock") +
- "/" + msg_id + ".json",
- beforeSend: function (xhr){
- xhr.setRequestHeader('Authorization', get_current_auth_credentials());
- xhr.withCredentials = true;
- },
- success:function(data, textStatus) {
- if (data.success) {
- if (lock_unique) {
- $('.msg-is-owned', $message_list_element).removeClass('msg-is-owned');
- }
- $li.removeClass('msg-is-busy msg-is-locked').addClass('msg-is-owned');
- say_status(get_msg(msg_lock_granted_ok)); // to data['data']['Lockkeeper']['username']?
- } else {
- $li.removeClass('msg-is-busy').addClass('msg-is-locked');
- say_status(get_msg(msg_lock_denied) || ("lock failed: " + data.error));
- }
- if (typeof(callback) === "function") { // note callbacks must check data['success']
- callback.call($(this), data); // returned data['data'] is 'Message', 'Source', 'Lockkeeper' for success
- }
- },
- error: function(jqXHR, textStatus, errorThrown) {
- $li.removeClass('msg-is-busy');
- say_status("error: " + textStatus + ": " + errorThrown);
- }
- });
- };
-
- var assign_fms_id = function(msg_id, fms_id, options) {
- var check_li_exists = false;
- var is_async = true;
- var callback = null;
- if (options) {
- if (typeof(options.callback) === 'function') {
- callback = options.callback;
- }
- if (typeof(options.check_li_exists) !== undefined && options.check_li_exists !== undefined) {
- check_li_exists = true; // MM dummy
- }
- if (typeof(options.is_async) !== undefined && options.is_async !== undefined) {
- is_async = options.is_async;
- }
- }
- var $li = $('#' + _msg_prefix + msg_id);
- if (check_li_exists) {
- if ($li.size() === 0) {
- say_status("Couldn't find message with ID " + msg_id);
- return;
- }
- }
- if (isNaN(parseInt(fms_id,10))) {
- say_status("missing FMS id");
- return;
- }
- $li.addClass('msg-is-busy');
- $.ajax({
- async:is_async,
- dataType:"json",
- type:"post",
- data: {fms_id: fms_id},
- url: _url_root +"messages/assign_fms_id/" + msg_id + ".json",
- beforeSend: function (xhr){
- xhr.setRequestHeader('Authorization', get_current_auth_credentials());
- xhr.withCredentials = true;
- },
- success:function(data, textStatus) {
- if (data.success) {
- $li.removeClass('msg-is-busy msg-is-locked').addClass('msg-is-owned').fadeOut('slow'); // no longer available
- say_status("OK: report ID was assigned to message.");
- if (typeof(callback) === "function") {
- callback.call($(this), data.data); // returned data['data'] is 'Message', 'Source', 'Lockkeeper' for success
- }
- } else {
- $li.removeClass('msg-is-busy').addClass('msg-is-locked');
- say_status("failed: " + data.error);
- }
- },
- error: function(jqXHR, textStatus, errorThrown) {
- say_status("error: " + textStatus + ": " + errorThrown);
- $li.removeClass('msg-is-busy');
- }
- });
- };
-
- var reply = function(msg_id, reply_text, options) {
- if (_use_fancybox){
- $.fancybox.close();
- }
- var callback = null;
- var check_li_exists = false;
- if (options) {
- if (typeof(options.callback) === 'function') {
- callback = options.callback;
- }
- if (typeof(options.check_li_exists) !== undefined && options.check_li_exists !== undefined) {
- check_li_exists = true; // MM dummy
- }
- }
- var $li = $('#' + _msg_prefix + msg_id);
- if (check_li_exists) {
- if ($li.size() === 0) {
- say_status("Couldn't find message with ID " + msg_id);
- return;
- }
- }
- reply_text = $.trim(reply_text);
- if (reply_text === '') {
- say_status("No reply sent: message was empty!");
- return;
- }
- $li.addClass('msg-is-busy');
- $.ajax({
- dataType:"json",
- type:"post",
- data: {reply_text: reply_text},
- url: _url_root +"messages/reply/" + msg_id + ".json",
- beforeSend: function (xhr){
- xhr.setRequestHeader('Authorization', get_current_auth_credentials());
- xhr.withCredentials = true;
- },
- success:function(data, textStatus) {
- if (data.success) {
- $li.removeClass('msg-is-busy msg-is-locked').addClass('msg-is-owned'); // no longer available
- say_status("Reply sent OK");
- if (typeof(callback) === "function") {
- callback.call($(this), data.data); // returned data['data'] is null but may change in future
- }
- } else {
- $li.removeClass('msg-is-busy').addClass('msg-is-locked');
- say_status("Reply failed: " + data.error);
- }
- },
- error: function(jqXHR, textStatus, errorThrown) {
- say_status("Reply error: " + textStatus + ": " + errorThrown);
- $li.removeClass('msg-is-busy');
- }
- });
- };
-
- var hide = function(msg_id, reason_text, options) {
- if (_use_fancybox){
- $.fancybox.close();
- }
- var callback = null;
- var check_li_exists = false;
- if (options) {
- if (typeof(options.callback) === 'function') {
- callback = options.callback;
- }
- if (typeof(options.check_li_exists) !== undefined && options.check_li_exists !== undefined) {
- check_li_exists = true; // MM dummy
- }
- }
- var $li = $('#' + _msg_prefix + msg_id);
- if (check_li_exists) {
- if ($li.size() === 0) {
- say_status("Couldn't find message with ID " + msg_id);
- return;
- }
- }
- reason_text = $.trim(reason_text);
- $li.addClass('msg-is-busy');
- $.ajax({
- dataType:"json",
- type:"post",
- data: {reason_text: reason_text},
- url: _url_root +"messages/hide/" + msg_id + ".json",
- beforeSend: function (xhr){
- xhr.setRequestHeader('Authorization', get_current_auth_credentials());
- xhr.withCredentials = true;
- },
- success:function(data, textStatus) {
- if (data.success) {
- $li.removeClass('msg-is-busy msg-is-locked').addClass('msg-is-owned').fadeOut('slow'); // no longer available
- say_status("Message hidden");
- if (typeof(callback) === "function") {
- callback.call($(this), data.data);
- }
- } else {
- $li.removeClass('msg-is-busy').addClass('msg-is-locked');
- say_status("Hide failed: " + data.error);
- }
- },
- error: function(jqXHR, textStatus, errorThrown) {
- say_status("Hide error: " + textStatus + ": " + errorThrown);
- $li.removeClass('msg-is-busy');
- }
- });
- };
-
- var show_info = function(msg_id) {
- var $info = $("#msg-info-box-" + msg_id);
- if ($info.size()==1) {
- if ($info.is(':hidden')) {
- $info.slideDown();
- } else {
- $info.slideUp();
- }
- }
- };
-
- var mark_as_not_a_reply = function(msg_id, options) {
- if (_use_fancybox){
- $.fancybox.close();
- }
- var callback = null;
- var check_li_exists = false;
- if (options) {
- if (typeof(options.callback) === 'function') {
- callback = options.callback;
- }
- if (typeof(options.check_li_exists) !== undefined && options.check_li_exists !== undefined) {
- check_li_exists = true; // MM dummy
- }
- }
- var $li = $('#' + _msg_prefix + msg_id);
- if (check_li_exists) {
- if ($li.size() === 0) {
- say_status("Couldn't find message with ID " + msg_id);
- return;
- }
- }
- $li.addClass('msg-is-busy');
- $.ajax({
- dataType:"json",
- type:"post",
- data: {},
- url: _url_root +"messages/mark_as_not_a_reply/" + msg_id + ".json",
- beforeSend: function (xhr){
- xhr.setRequestHeader('Authorization', get_current_auth_credentials());
- xhr.withCredentials = true;
- },
- success:function(data, textStatus) {
- if (data.success) {
- $li.removeClass('msg-is-busy msg-is-locked').addClass('msg-is-owned').fadeOut('slow'); // no longer available
- say_status("Message no longer marked as a reply");
- if (typeof(callback) === "function") {
- callback.call($(this), data.data);
- }
- } else {
- $li.removeClass('msg-is-busy').addClass('msg-is-locked');
- say_status("Hide failed: " + data.error);
- }
- },
- error: function(jqXHR, textStatus, errorThrown) {
- say_status("Detach error: " + textStatus + ": " + errorThrown);
- $li.removeClass('msg-is-busy');
- }
- });
- };
-
- // if boilerplate is not already in local storage, make ajax call and load them
- // otherwise, populate the boilerplate select lists: these are currently the
- // reasons for hiding a message, and pre-loaded replies.message-manager.dev.mysociety.org
- // NB no auth required on this call
- var populate_boilerplate_strings = function(boilerplate_type, options) {
- if (Modernizr.sessionstorage && sessionStorage.getItem('boilerplate_' + boilerplate_type)) {
- populate_boilerplate(boilerplate_type, sessionStorage.getItem('boilerplate_' + boilerplate_type));
- return;
- }
- var callback = null;
- if (options) {
- if (typeof(options.callback) === 'function') {
- callback = options.callback;
- }
- }
- $.ajax({
- dataType:"json",
- type:"get",
- url: _url_root +"boilerplate_strings/index/" + boilerplate_type + ".json",
- success:function(data, textStatus) {
- if (data.success) {
- var raw_data = data.data;
- var select_html = get_select_tag_html(data.data, boilerplate_type);
- if (Modernizr.sessionstorage) {
- sessionStorage.setItem('boilerplate_' + boilerplate_type, select_html);
- }
- populate_boilerplate(boilerplate_type, select_html);
- if (typeof(callback) === "function") {
- callback.call($(this), data.data);
- }
- } else {
- // console.log("failed to load boilerplate");
- }
- },
- error: function(jqXHR, textStatus, errorThrown) {
- // console.log("boilerplate error: " + textStatus + ": " + errorThrown);
- }
- });
- };
-
- // TODO flatten all HTML in boilerplate text
- var get_select_tag_html = function(boilerplate_data, boilerplate_type) {
- var html = "<option value=''>--none--</option>\n";
- var qty_langs = 0;
- var qty_strings = 0;
- if (boilerplate_data.langs) {
- for (var i=0; i< boilerplate_data.langs.length; i++) {
- var lang = boilerplate_data.langs[i];
- var options = "";
- for (var j in boilerplate_data[lang]) {
- if (boilerplate_data[lang].hasOwnProperty(j)) {
- options += "<option>" + boilerplate_data[lang][j] + "</option>\n";
- qty_strings++;
- }
- }
- if (boilerplate_data.langs.length > 1) { // really need pretty name for language
- options = '<optgroup label="' + lang + '">\n' + options + '</optgroup>\n';
- }
- html += options;
- }
- }
- if (qty_strings === 0) {
- html = '';
- }
- return html;
- };
-
- // actually load the select tag
- var populate_boilerplate = function(boilerplate_type, html) {
- var $target = null;
- switch(boilerplate_type) {
- case 'hide-reason': $target = $hide_reasons; break;
- case 'reply': $target = $boilerplate_replies; break;
- }
- if ($target) {
- if (html) {
- $target.show().find('select').html(html);
- } else {
- $target.hide();
- }
- }
- };
-
- // revealed public methods:
- return {
- config: config,
- setup_click_listener: setup_click_listener,
- get_available_messages: get_available_messages,
- request_lock: request_lock,
- assign_fms_id: assign_fms_id,
- reply: reply,
- hide: hide,
- show_info: show_info,
- sign_out: sign_out,
- populate_boilerplate_strings: populate_boilerplate_strings,
- say_status: say_status,
- mark_as_not_a_reply: mark_as_not_a_reply
- };
-})();
diff --git a/web/cobrands/fixmybarangay/messages.js b/web/cobrands/fixmybarangay/messages.js
deleted file mode 100644
index aebf35156..000000000
--- a/web/cobrands/fixmybarangay/messages.js
+++ /dev/null
@@ -1,26 +0,0 @@
-$(function(){
-
- var mm = $('#message_manager');
-
- $.getJSON('/cobrands/fixmybarangay/test-texts.json', function(data) {
- var items = [];
- $.each(data, function(k, v) {
- var item = $('<input type="radio"/>').attr({
- 'id': 'mm_text_' + v.id,
- 'name': 'mm_text',
- 'value': v.text
- }).wrap('<p/>').parent().html();
- var label = $('<label/>', {
- 'class': 'inline',
- 'for': 'mm_text_' + v.id
- }).text(v.text).wrap('<p/>').parent().html();
- item = '<li><p>' + item + ' ' + label + '</p></li>';
- items.push(item);
- });
- mm.html(items.join(''));
- mm.find('input').click(function(){
- $('#form_detail').val( $('input[name=mm_text]:checked').val() );
- });
- });
-
-});
diff --git a/web/cobrands/fixmybarangay/position_map.js b/web/cobrands/fixmybarangay/position_map.js
deleted file mode 100644
index 753b5f854..000000000
--- a/web/cobrands/fixmybarangay/position_map.js
+++ /dev/null
@@ -1,22 +0,0 @@
-function position_map_box() {
- var $html = $('html');
- if ($html.hasClass('ie6')) {
- $('#map_box').prependTo('.wrapper').css({
- zIndex: 0, position: 'absolute',
- top: 0, left: 0, right: 0, bottom: 0,
- width: '100%', height: $(window).height(),
- margin: 0
- });
- } else {
- $('#map_box').prependTo('.wrapper').css({
- zIndex: 0, position: 'fixed',
- top: 0, left: 0, right: 0, bottom: 0,
- width: '100%', height: '100%',
- margin: 0
- });
- }
-}
-
-function map_fix() {}
-var slide_wards_down = 0;
-
diff --git a/web/cobrands/fixmybarangay/test-texts.json b/web/cobrands/fixmybarangay/test-texts.json
deleted file mode 100644
index 7acde1e32..000000000
--- a/web/cobrands/fixmybarangay/test-texts.json
+++ /dev/null
@@ -1,17 +0,0 @@
-[
- {
- "id" : 1,
- "number" : "032-9999999",
- "text" : "Pothole on corner of G. De Vera and T. Padilla"
- },
- {
- "id" : 2,
- "number" : "032-1234567",
- "text" : "Broken street light on Rahmann Street"
- },
- {
- "id" : 3,
- "number" : "+63 917 0000000",
- "text" : "F. Manalo giant pothole"
- }
-]
diff --git a/web/cobrands/zerotb/_colours.scss b/web/cobrands/zerotb/_colours.scss
deleted file mode 100644
index a5eb83b71..000000000
--- a/web/cobrands/zerotb/_colours.scss
+++ /dev/null
@@ -1,24 +0,0 @@
-/* COLOURS */
-
-$white: #ffffff;
-$black: #000000;
-
-$primary: $black;
-$primary_b: $black;
-$primary_text: $white;
-
-$base_bg: $white;
-$base_fg: #000;
-
-$map_nav_bg: $black;
-$nav_fg: #ffffff;
-$nav_fg_hover: #000;
-
-$col_click_map: $black;
-$col_click_map_dark: darken($black, 10%);
-
-$col_fixed_label: #00BD08;
-$col_fixed_label_dark: #4B8304;
-
-$button-color: #FF5308;
-$alt-background: #f5f5f5;
diff --git a/web/cobrands/zerotb/base.scss b/web/cobrands/zerotb/base.scss
deleted file mode 100644
index db612094d..000000000
--- a/web/cobrands/zerotb/base.scss
+++ /dev/null
@@ -1,120 +0,0 @@
-@import "../sass/h5bp";
-@import "./_colours";
-@import "../sass/mixins";
-@import "compass";
-
-@import url(http://fonts.googleapis.com/css?family=Lato:300,700);
-
-$body-font: 'Lato', sans-serif !default;
-$meta-font: 'Lato', sans-serif !default;
-$heading-font: 'Lato', sans-serif !default;
-
-@import "../sass/base";
-
-body {
- font-weight: 300;
-}
-
-input {
- background-color: $alt-background;
-}
-
-#front-main {
- h2 {
- font-weight: 300;
- }
-
- #postcodeForm {
- div {
- border: 0px;
- background: $primary_b;
- select#clinic,
- input#pc {
- background-color: $alt-background;
- }
- select#clinic {
- border: 0;
- border-radius: 0px;
- display: table-cell;
- line-height: 1.5em;
- padding: 0.25em 2%;
- }
- .select2-container,
- select#clinic,
- input#pc {
- border: 0px;
- border-radius: 0px;
- box-shadow: none;
- width: 80%;
- }
- input#sub {
- background-color: $button-color;
- border: 1px solid $alt-background;
- border-radius: 5px;
- color: white;
- margin-left: 5px;
- }
- input#show_report {
- width: 14%;
- margin-left: 5px;
- }
- .select2-container {
- display: inline-block;
- text-align: left;
- a {
- line-height: 1.5em;
- padding: 0.25em 2%;
- }
- }
- .select2-display-none {
- display: none;
- }
- }
- }
-}
-
-#site-logo {
- background: none;
- text-indent: 0px;
- text-transform: uppercase;
- width: auto;
- margin-right: 80px;
- @media( min-width: 350px ) {
- margin-top: 0.5em;
- }
- a {
- color: white;
- &:hover {
- text-decoration: none;
- }
- }
- p {
- font-weight: 300;
- margin-bottom: 0em;
- }
- .orange {
- color: $button-color;
- font-weight: bold;
- }
- #brought-to-you {
- display: none;
- }
-}
-
-button.green-btn,
-input.green-btn,
-.green-btn {
- background: none;
- background-color: $button-color;
- border: 1px solid $alt-background;
- border-radius: 5px;
- color: white;
-}
-
-button.green-btn:hover,
-input.green-btn:hover,
-.green-btn:hover {
- background: none;
- background-color: darken( $button-color, 10% );
- border: 1px solid $alt-background;
-}
diff --git a/web/cobrands/zerotb/config.rb b/web/cobrands/zerotb/config.rb
deleted file mode 100644
index cab97b18f..000000000
--- a/web/cobrands/zerotb/config.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# Require any additional compass plugins here.
-
-# Set this to the root of your project when deployed:
-http_path = "/"
-css_dir = ""
-sass_dir = ""
-images_dir = ""
-javascripts_dir = ""
-
-# You can select your preferred output style here (can be overridden via the command line):
-# output_style = :expanded or :nested or :compact or :compressed
-
-# To enable relative paths to assets via compass helper functions. Uncomment:
-# relative_assets = true
-
-# To disable debugging comments that display the original location of your selectors. Uncomment:
-# line_comments = false
-
-# If you prefer the indented syntax, you might want to regenerate this
-# project again passing --syntax sass, or you can uncomment this:
-# preferred_syntax = :sass
-# and then run:
-# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
-
-line_comments = false # by Compass.app
diff --git a/web/cobrands/zerotb/images/pin-clinic-big.png b/web/cobrands/zerotb/images/pin-clinic-big.png
deleted file mode 100644
index c1e359828..000000000
--- a/web/cobrands/zerotb/images/pin-clinic-big.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/zerotb/images/pin-clinic.png b/web/cobrands/zerotb/images/pin-clinic.png
deleted file mode 100644
index 5cc0828fd..000000000
--- a/web/cobrands/zerotb/images/pin-clinic.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/zerotb/images/pin-shadow-big.png b/web/cobrands/zerotb/images/pin-shadow-big.png
deleted file mode 100644
index 113184b94..000000000
--- a/web/cobrands/zerotb/images/pin-shadow-big.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/zerotb/images/pin-shadow.png b/web/cobrands/zerotb/images/pin-shadow.png
deleted file mode 100644
index 8b470592a..000000000
--- a/web/cobrands/zerotb/images/pin-shadow.png
+++ /dev/null
Binary files differ
diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss
deleted file mode 100644
index c8afa3abc..000000000
--- a/web/cobrands/zerotb/layout.scss
+++ /dev/null
@@ -1,105 +0,0 @@
-@import "_colours";
-@import "../sass/layout";
-
-body {
- &.frontpage {
- .nav-wrapper-2 {
- background-color: $primary;
- color: $primary_text;
- height: auto;
- }
-
- #site-header {
- background-color: $base_bg;
- }
-
- #site-logo {
- background: none;
- color: black;
- width: auto;
- a {
- color: black;
- }
- p {
- font-size: 2em;
- font-weight: 300;
- }
- #brought-to-you {
- display: block;
- font-size: 0.75em;
- }
- }
- }
- &.mappage {
- .nav-menu--main {
- a, a.report-a-problem-btn, span {
- padding: 0.25em;
- margin: 0.5em;
- }
- }
- .nav-wrapper-2 {
- min-height: 4em;
- }
- }
-}
-
-.nav-wrapper {
- .nav-wrapper-2 {
- border: none;
- min-height: 0;
- }
-}
-
-.nav-menu--mysoc a {
- color: $primary_text;
-}
-.nav-menu--main span {
- color: $primary_text;
-}
-
-#site-header {
- background: $primary;
- height: auto;
-}
-
-.container {
- padding: 0em 1em;
-}
-
-#front-main {
- #front-main-container {
- max-width: 40em;
- h2 {
- text-align: left;
- }
- }
- #postcodeForm {
- div {
- width: 30em;
- .select2-container,
- select#clinic,
- input#pc {
- max-width: none;
- width: 27em;
- }
- input#show_report {
- display: block;
- float: right;
- width: 3em;
- }
- }
- }
-
- .select2-container {
- a {
- color: #444;
- text-align: left;
- text-decoration: none;
- }
- }
-}
-
-.content {
- background-color: $alt-background;
- box-shadow: none;
-}