Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
adrianshort
/
suttonelections
espelho de
https://github.com/adrianshort/suttonelections.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
2
Wiki
Trabalho
Ver a proveniência
Tidied up total vote counts
tags/last-sinatra-version
Adrian Short
há 16 anos
ascendente
4a3e8d5a6f
cometimento
4b429fafba
4 ficheiros alterados
com
31 adições
e
13 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+5
-0
public/style.css
+8
-5
views/home.haml
+9
-4
views/resultssuttoncouncil.haml
+9
-4
views/resultsukparliament.haml
+ 5
- 0
public/style.css
Ver ficheiro
@@ -129,4 +129,9 @@ tr
color: white;
padding: 2px 2px;
font-weight: normal;
}
.noborder
{
border: 0;
}
+ 8
- 5
views/home.haml
Ver ficheiro
@@ -40,11 +40,14 @@
0%
%td.right= result[1]
%td.right= sprintf("%0.1f%%", result[1].to_f / @total_votes * 100)
%p
Total votes:
= @total_votes
%tr.noborder
%td
%td
%td.right 54
%td
%td.right.strong= @total_votes
%td
%h2 Sutton Council Results by Ward
+ 9
- 4
views/resultssuttoncouncil.haml
Ver ficheiro
@@ -44,7 +44,12 @@
%td
- if count < 4
.elected ELECTED
%p
Total votes:
= @total_2010
%tr.noborder
%td
%td
%td
%td= @total_2010
%td
%td
%td
+ 9
- 4
views/resultsukparliament.haml
Ver ficheiro
@@ -46,7 +46,12 @@
%td
- if count == 1
.elected ELECTED
%p
Total votes:
= @total_2010
%tr.noborder
%td
%td
%td
%td= @total_2010
%td
%td
%td
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar