Permalink
Browse files

Merge branch 'master' of github.com:kevinmcmahon/chicagostreetart

  • Loading branch information...
2 parents 80ff9db + 6d68403 commit 9de4d93b2ab5a480c2e74e5b2220268c07099679 Kevin McMahon committed Apr 27, 2012
Showing with 10 additions and 0 deletions.
  1. +5 −0 public/stylesheets/layout.css
  2. +5 −0 views/photos.haml
@@ -84,6 +84,11 @@ body {
font-weight: 400;
}
+.detail-note {
+ font-style: italic;
+ margin-bottom:40px;
+}
+
#map_canvas {
height: 400px;
width: 100%;
View
@@ -2,17 +2,22 @@
%h2.centered Closest Street Art
.twelve.columns.offset-by-two
#map_canvas
+ .detail-note.centered
+ Click on the marker to see an image of the art.
%table
%tbody
%tr.blue
%th.centered Distance (mi)
%th.centered Title
+ %th.centered Thumbnail
- @photos.each do |row|
%tr
%td.centered= ("%0.2f" % row[:dist]).to_f
%td
%a{ :href=> '/photo/'+ row[:id].to_s }
=row[:title]
+ %td
+ %img{ :src => row[:url], :width=> '160' }
.row
.twelve.columns.offset-by-two
%footer

0 comments on commit 9de4d93

Please sign in to comment.