From 1bc2bcd35c9027b91f31ae13b48a279b9cf1a004 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Feb 2013 17:21:10 -0800 Subject: [PATCH 1/3] modified donate link to increase visibility --- app/views/industry/donate.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/industry/donate.html.haml b/app/views/industry/donate.html.haml index 9a399de..241cfa4 100644 --- a/app/views/industry/donate.html.haml +++ b/app/views/industry/donate.html.haml @@ -6,6 +6,6 @@ #donation-info %p - Thank you for considering donating to IEEE! To continue, please click - = link_to 'HERE', :action => 'new', :controller => 'donations' + Thank you for considering donating to IEEE! + %u= link_to 'Click here to continue', :action => 'new', :controller => 'donations' From 67fccf3aa786568191fc73db9cdb5b7a9fcd9e36 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Feb 2013 18:04:53 -0800 Subject: [PATCH 2/3] modified donate link to increase visibility --- app/views/industry/donate.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/industry/donate.html.haml b/app/views/industry/donate.html.haml index 241cfa4..483c441 100644 --- a/app/views/industry/donate.html.haml +++ b/app/views/industry/donate.html.haml @@ -7,5 +7,5 @@ #donation-info %p Thank you for considering donating to IEEE! - %u= link_to 'Click here to continue', :action => 'new', :controller => 'donations' + %u= link_to 'Please click here to continue', :action => 'new', :controller => 'donations' From 930a9c271515fa27ab40a78fda8972a04376fe04 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 23 Feb 2013 22:44:04 -0800 Subject: [PATCH 3/3] styled donate link to look like a button --- app/views/industry/donate.html.haml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/app/views/industry/donate.html.haml b/app/views/industry/donate.html.haml index 483c441..c453e3c 100644 --- a/app/views/industry/donate.html.haml +++ b/app/views/industry/donate.html.haml @@ -1,4 +1,14 @@ -%h1 Donations +%h1 nations + +:css + #donate:link { + border-style: solid; + border-width : 1px 4px 4px 1px; + text-decoration : none; + padding : 2px; + border-color : #69f #00f #00f #69f; + } + #donate:hover { border-color: #ccc; } %div#industry_nav - %w(information sponsors donate).each do |name| @@ -6,6 +16,5 @@ #donation-info %p - Thank you for considering donating to IEEE! - %u= link_to 'Please click here to continue', :action => 'new', :controller => 'donations' - + Thank you for considering donating to IEEE! To continue, please click + %a{:id => "donate"}= link_to 'HERE', { :controller => 'donations', :action => 'new' }, :id => "donate"