Permalink
Browse files

styles

  • Loading branch information...
1 parent bac0919 commit e7f7c73f9fa1ad11771b620d76739fe8e4c016ae @paulanthonywilson paulanthonywilson committed Apr 13, 2012
View
13 app/assets/stylesheets/application.css
@@ -146,7 +146,18 @@ th{padding: 0 0 5px 5px; background-color: #f6f6f6;}
border: 1px solid paleGoldenRod;
}
-.page-break { display:block; page-break-before:always; clear:both;}
+.page-break{
+ display:block;
+ page-break-after:always;
+ clear:both;
+ background: pink;
+ margin-bottom: 90px;
+ }
+
+@media print
+{
+ .page-break { display:block; page-break-before:always; }
+}
/* mail */
View
3 app/assets/stylesheets/print.css
@@ -1 +1,4 @@
div#hd{ display: none;}
+.page-break {
+ background: cyan;
+}
View
2 app/views/admin/ratings/print_cards.html.erb
@@ -18,7 +18,7 @@
</div>
</div>
<% if (i + 1) % 6 == 0 %>
- <div class="page-break"></div>
+ <div class="page-break">B</div>
<% end %>
<% end %>
</div>
View
8 config/deploy.rb
@@ -13,9 +13,11 @@
set :scm, :git
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
-role :web, "submissionreview2.scottishrubyconference.com"
-role :app, "submissionreview2.scottishrubyconference.com"
-role :db, "submissionreview2.scottishrubyconference.com", :primary=>true
+host="109.107.37.124"
+
+role :web, host
+role :app, host
+role :db, host
default_environment["PATH"] = "/home/ubuntu/.rvm/gems/ruby-1.9.3-p0/bin:/home/ubuntu/.rvm/gems/ruby-1.9.3-p0@global/bin:/home/ubuntu/.rvm/rubies/ruby-1.9.3-p0/bin:/home/ubuntu/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
default_environment["GEM_HOME"] = "/home/ubuntu/.rvm/gems/ruby-1.9.3-p0"
View
2 test/functional/admin/proposals_controller_test.rb
@@ -2,7 +2,7 @@
class Admin::ProposalsControllerTest < ActionController::TestCase
- def setup
+ def setup
logon('arnold', :admin=>true)
end

0 comments on commit e7f7c73

Please sign in to comment.