From 42f09000ca6f9553237bd25152ecdb79a6b250f6 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 11 Jan 2012 22:23:15 +0000 Subject: [PATCH] Deleted --- public/od_80x15_blue.png | Bin 446 -> 0 bytes views/_register-to-vote.haml | 12 ------- views/resultssuttoncouncil.haml | 55 ------------------------------ views/resultsukparliament.haml | 57 -------------------------------- views/wardlist.haml | 18 ---------- 5 files changed, 142 deletions(-) delete mode 100644 public/od_80x15_blue.png delete mode 100644 views/_register-to-vote.haml delete mode 100644 views/resultssuttoncouncil.haml delete mode 100644 views/resultsukparliament.haml delete mode 100644 views/wardlist.haml diff --git a/public/od_80x15_blue.png b/public/od_80x15_blue.png deleted file mode 100644 index 6314d594007363e3ff8d2f8e2c2f288bef6fdb8c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 446 zcmV;v0YUzWP)| zQsy-Lnl?ZfhPvyxNgT&11k{D?COXqA5&ISZhUPkMo<=}LYFoH$tNXR#1 zDDo_X069zvCS43e0Ef@}blL`QlP&;@<(kLw`_B6^Us*%DB?w+j0G6wahtYhyHu6k_ z5LY`M4jgE^39)Yx`_@4b$KsJ!#6?9PIZVm2(+B)wxyE)Ap1coU$M-uqZ8zE01+ZG@ z^qs;md&lv#CjcG$+_NONIS>ms)!X&JyrgaaG}} z%% "http://www.aboutmyvote.co.uk/" } About My Vote - website or by phoning Sutton Council on - %span.phone 020 8770 4888. - \ No newline at end of file diff --git a/views/resultssuttoncouncil.haml b/views/resultssuttoncouncil.haml deleted file mode 100644 index f84cb18..0000000 --- a/views/resultssuttoncouncil.haml +++ /dev/null @@ -1,55 +0,0 @@ -.grid_12 - - %p Sutton Council Election 6 May 2010 Results - - %h1= @ward.name + " Ward" - - - @page_title = @ward.name + " Ward Results, Sutton Council Election 6 May 2010" - - - count = 0 - - %table - %tr - %th - %th - %th - %th.right Votes - %th.right % Votes - %th - - - for candidate in @candidates - - count += 1 - %tr.vcard - %td= count - %td{ :style => "background-color: #{candidate.party.colour}" }   - %td - %span.candidate_name.fn - = candidate.forenames.split(' ')[0] - = candidate.surname - %br - %span.candidate_party.org - = candidate.party.name - - %td.right= candidate.votes_2010 - - %td.right - - pc_2010 = candidate.votes_2010.to_f / @total_2010 * 100 - = sprintf("%0.1f%%", pc_2010) - -# - %td.right - - unless candidate.percent_2005.nil? - - change_2010 = pc_2010 - candidate.percent_2005 - = sprintf("%+0.1f%%", change_2010) - - %td - - if count < 4 - .elected ELECTED - - %tr.noborder - %td - %td - %td - %td= @total_2010 - %td - %td - %td diff --git a/views/resultsukparliament.haml b/views/resultsukparliament.haml deleted file mode 100644 index 8fc2d86..0000000 --- a/views/resultsukparliament.haml +++ /dev/null @@ -1,57 +0,0 @@ -.grid_12 - - %p UK Parliament Election 6 May 2010 Results - - %h1= @constituency.name + " Constituency" - - - @page_title = @constituency.name + " Constituency Results, UK Parliament Election 6 May 2010" - - - count = 0 - - %table - %tr - %th - %th - %th - %th.right Votes - %th.right % - %th.right Change - %th - - for candidate in @candidates - - count += 1 - %tr.vcard - %td= count - - %td{ :style => "background-color: #{candidate.party.colour}" }   - - %td - %span.candidate_name.fn - = candidate.forenames.split(' ')[0] - = candidate.surname - %br - %span.candidate_party.org - = candidate.party.name - - %td.right= candidate.votes_2010 - - %td.right - - pc_2010 = candidate.votes_2010.to_f / @total_2010 * 100 - = sprintf("%0.1f%%", pc_2010) - - %td.right - - unless candidate.percent_2005.nil? - - change_2010 = pc_2010 - candidate.percent_2005 - = sprintf("%+0.1f%%", change_2010) - - %td - - if count == 1 - .elected ELECTED - - %tr.noborder - %td - %td - %td - %td= @total_2010 - %td - %td - %td diff --git a/views/wardlist.haml b/views/wardlist.haml deleted file mode 100644 index da714d5..0000000 --- a/views/wardlist.haml +++ /dev/null @@ -1,18 +0,0 @@ -.grid_6 - %h1 Sutton Council Wards - - %p The London Borough of Sutton is divided into 18 areas called wards. Each ward elects three councillors. - - %p You can use this page to see the council candidates in each ward. - - %p - If you don't know which ward you live in, go to the - %a{ :href => '/' }home page - and use your postcode to find out. - -.grid_6 - - for ward in @wards - %p.adr - %a{ :href => "/wards/#{ward.slug}" } - %span.locality - = ward.name \ No newline at end of file