Made some changes to the css and asset compiling settings

This commit is contained in:
Will Bradley 2013-01-25 07:48:13 -07:00
parent bb7b2aeca5
commit 6d0a7b165a
5 changed files with 16 additions and 14 deletions

View File

@ -11,9 +11,3 @@
*= require_self
*= require_tree .
*/
table { border-spacing: 0; }
td, th { padding: 0.5em; }
.col_highlight { background-color: #ccc; }
dt { font-weight: bold; }
.notice { color: green; }
.alert { color: red; }

View File

@ -67,3 +67,11 @@ div {
list-style: square;
}
}
table { border-spacing: 0; }
td, th { padding: 0.5em; }
.col_highlight { background-color: #ccc; }
dt { font-weight: bold; }
.notice { color: green; }
.alert { color: red; }

View File

@ -46,11 +46,11 @@
</div>
<div class="field">
<%= f.label :member_level, "Desired Member Level" %><br />
<%= f.select :member_level, [["None",0],["Unable",1],["Volunteer",10],["Associate",25],["Basic",50],["Plus",100]] %>
<%= f.select :member_level, [[nil],["None",0],["Unable",1],["Volunteer",10],["Associate",25],["Basic",50],["Plus",100]] %>
</div>
<div class="field">
<%= f.label :payment_method %><br />
<%= f.select :payment_method, [["PayPal"],["Dwolla"],["Bill Pay"],["Check"],["Cash"],["Other"]] %>
<%= f.select :payment_method, [[nil],["PayPal"],["Dwolla"],["Bill Pay"],["Check"],["Cash"],["Other"]] %>
</div>
<div class="field">
<%= f.label :phone %><br />
@ -80,7 +80,7 @@
<% end %>
<div class="field">
<%= f.label :member, "Member?" %><br />
<%= f.select :member, [["No",0],["Inactive",1],["Volunteer",10],["Associate",25],["Basic",50],["Plus",100]] %>
<%= f.select :member, [[nil],["No",0],["Inactive",1],["Volunteer",10],["Associate",25],["Basic",50],["Plus",100]] %>
</div>
<div class="field">
<%= f.label :instructor, "Instructor?" %><br />

View File

@ -4,9 +4,9 @@ require 'rails/all'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(:assets => %w(development test)))
#Bundler.require(*Rails.groups(:assets => %w(development test)))
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
Bundler.require(:default, :assets, Rails.env)
end
module Dooraccess
@ -54,6 +54,6 @@ module Dooraccess
config.assets.enabled = true
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
config.assets.version = '1.1'
end
end

View File

@ -2,7 +2,7 @@ Dooraccess::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = true
config.cache_classes = false
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
@ -15,7 +15,7 @@ Dooraccess::Application.configure do
config.assets.compress = true
# Fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = true
config.assets.compile = false
# Generate digests for assets URLs
config.assets.digest = true