이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
adrianshort
/
suttonelections
의 미러
https://github.com/adrianshort/suttonelections.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
2
위키
활동
소스 검색
Tidied up total vote counts
tags/last-sinatra-version
Adrian Short
16 년 전
부모
4a3e8d5a6f
커밋
4b429fafba
4개의 변경된 파일
과
31개의 추가작업
그리고
13개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
파일 보기
@@ -129,4 +129,9 @@ tr
color: white;
padding: 2px 2px;
font-weight: normal;
}
.noborder
{
border: 0;
}
+ 8
- 5
views/home.haml
파일 보기
@@ -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
파일 보기
@@ -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
파일 보기
@@ -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
쓰기
미리보기
불러오는 중...
취소
저장