瀏覽代碼

Resized geo ward map

tags/last-sinatra-version
Adrian Short 14 年之前
父節點
當前提交
c7a19ed196
共有 3 個檔案被更改,包括 9 行新增12 行删除
  1. 二進制
      public/sutton-council-elections-2010-ward-map.png
  2. +8
    -10
      views/home.haml
  3. +1
    -2
      views/layout.haml

二進制
public/sutton-council-elections-2010-ward-map.png 查看文件

Before After
Width: 940  |  Height: 1012  |  Size: 795 KiB Width: 740  |  Height: 797  |  Size: 515 KiB

+ 8
- 10
views/home.haml 查看文件

@@ -107,14 +107,13 @@
%td.blank
%td.blank
%td.blank
#map
%p
%img{ :src => 'sutton-council-elections-2010-ward-map.png', :width =>940, :height => 1013 }
%p
Geographical results by ward map by Marshall Keene and Claire Rollo at
%a{ :href => 'http://www.sutton.gov.uk/' } Sutton Council
GIS Team

%p
%img{ :src => 'sutton-council-elections-2010-ward-map.png', :width => 740, :height => 797 }
%p
Geographical results by ward map by Marshall Keene and Claire Rollo at
%a{ :href => 'http://www.sutton.gov.uk/' } Sutton Council
GIS Team.

-#
- for ward in @wards
@@ -143,5 +142,4 @@
%label{ :for => "postcode" } My postcode is
%input{ :type => 'text', :name => 'postcode', :value => 'SM1 1EA', :size => 8, :maxlength => 8 }
%input{ :type => 'submit', :value => "Find it" }
.grid_3

+ 1
- 2
views/layout.haml 查看文件

@@ -10,8 +10,7 @@
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
%body
.container_12
#main
= yield
= yield
.clear
#footer
.grid_12


Loading…
取消
儲存