This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
binaryattraction/app/views/home/hall_of_fame.html.haml

21 lines
546 B
Plaintext
Raw Normal View History

2008-10-17 03:36:30 -04:00
- dim = 300
%style{ :type => 'text/css' }
:sass
2008-10-17 03:36:30 -04:00
li
img
:display block
2008-10-17 03:36:30 -04:00
:margin 0px auto
p
:text-align center
%h1 Top oneness
%ol.no_list_style.centered
2008-10-17 03:36:30 -04:00
- @top_oneness.each_with_index do |p, index|
%li
%a{ :href => url(:photo, p) }
%img{ :src => photo_url(p, dim, dim) }
2008-10-17 03:36:30 -04:00
%p== <strong>Oneness:</strong> #{p.oneness}% <strong>Votes 0:</strong> #{p.zero_votes} <strong>Votes 1:</strong> #{p.one_votes} <strong>Total Votes:</strong> #{p.votes_count}
%br{ :style => 'clear: both' }