@@ -6,4 +6,10 @@ | |||||
body | body | ||||
{ | { | ||||
margin: 0 auto; | margin: 0 auto; | ||||
} | |||||
a, a:visited | |||||
{ | |||||
color: #000; | |||||
background-color: #fff; | |||||
} | } |
@@ -120,3 +120,10 @@ tr | |||||
{ | { | ||||
border: 0; | border: 0; | ||||
} | } | ||||
.download a, .download a:visited | |||||
{ | |||||
margin: 15px 0; | |||||
padding: 7px; | |||||
background-color: red; | |||||
} |
@@ -36,3 +36,5 @@ | |||||
%a{ :href => '/suppliers' } Suppliers | %a{ :href => '/suppliers' } Suppliers | ||||
%p | %p | ||||
%a{ :href => '/about' } About this website | %a{ :href => '/about' } About this website | ||||
%p | |||||
%a{ :href => 'http://adrianshort.co.uk/' } Designed by Adrian Short |
@@ -8,7 +8,7 @@ | |||||
%a{ :href => '/services' } Services | %a{ :href => '/services' } Services | ||||
%li | %li | ||||
= @service.name | = @service.name | ||||
%p | |||||
%p.noprint.download | |||||
%a{ :href => "/services/#{@service.id}.csv" } | %a{ :href => "/services/#{@service.id}.csv" } | ||||
Download data as CSV | Download data as CSV | ||||
@@ -9,7 +9,7 @@ | |||||
%li | %li | ||||
= @supplier.name | = @supplier.name | ||||
%p.noprint | |||||
%p.noprint.download | |||||
%a{ :href => "/suppliers/#{@supplier.id}.csv" } | %a{ :href => "/suppliers/#{@supplier.id}.csv" } | ||||
Download data as CSV | Download data as CSV | ||||