Permalink
Browse files

upgraded to 2.3.11

  • Loading branch information...
1 parent 82bb107 commit 00386695ee9571c7d143a7644258941174d23da1 @noctivityinc committed Jul 25, 2011
Showing with 3,706 additions and 1,507 deletions.
  1. +36 −4 .rvmrc
  2. +9 −0 .rvmrc.07.25.2011-11:38:23
  3. +41 −0 .rvmrc.07.25.2011-11:38:24
  4. +2 −15 Gemfile
  5. +97 −0 Gemfile.lock
  6. +243 −0 README
  7. +44 −0 app/controllers/invites_controller.rb
  8. +0 −1 app/controllers/user_sessions_controller.rb
  9. +6 −6 app/stylesheets/partials/_base.sass
  10. +9 −9 app/stylesheets/partials/_boxes.sass
  11. +306 −274 app/stylesheets/partials/_formtastic_base.sass
  12. +4 −4 app/stylesheets/partials/_skintastic.sass
  13. +24 −25 app/stylesheets/public.sass
  14. +24 −0 app/views/invites/_form.html.haml
  15. +8 −0 app/views/invites/edit.html.haml
  16. +21 −0 app/views/invites/index.html.haml
  17. +5 −0 app/views/invites/new.html.haml
  18. +24 −0 app/views/invites/show.html.haml
  19. +21 −0 app/views/layouts/_toolbar.html.haml
  20. 0 app/views/layouts/null
  21. +3 −0 app/views/postoffice/forgot_password.haml
  22. +3 −0 app/views/postoffice/share.haml
  23. 0 app/views/public/todos/null
  24. +12 −0 app/views/tag_groups/_form.html.haml
  25. +8 −0 app/views/tag_groups/edit.html.haml
  26. +15 −0 app/views/tag_groups/index.html.haml
  27. +5 −0 app/views/tag_groups/new.html.haml
  28. +15 −0 app/views/tag_groups/show.html.haml
  29. +1 −1 config/environment.rb
  30. +17 −0 db/migrate/20100416214801_create_shares.rb
  31. +0 −52 default.gems
  32. +63 −0 lib/postgres_extensions.rb
  33. +2,229 −0 public/javascripts/cached/all.js
  34. +81 −89 public/stylesheets/compiled/ie.css
  35. +81 −315 public/stylesheets/compiled/print.css
  36. +103 −127 public/stylesheets/compiled/public.css
  37. +83 −584 public/stylesheets/compiled/screen.css
  38. +62 −0 public/stylesheets/jquery.contextMenu.css
  39. +1 −1 vendor/plugins/haml/init.rb
View
40 .rvmrc
@@ -1,9 +1,41 @@
#!/usr/bin/env bash
-# .rvmrc file for tdt application
+# This is an RVM Project .rvmrc file, used to automatically load the ruby
+# development environment upon cd'ing into the directory
-if [[ "Darwin" = "$(uname)" ]] ; then
- rvm ruby-1.9.1@todo
+# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
+environment_id="ruby-1.9.2-p180@todopia"
+
+#
+# First we attempt to load the desired environment directly from the environment
+# file. This is very fast and efficient compared to running through the entire
+# CLI and selector. If you want feedback on which environment was used then
+# insert the word 'use' after --create as this triggers verbose mode.
+#
+if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
+then
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
+
+ if [[ -s ".rvm/hooks/after_use" ]]
+ then
+ . ".rvm/hooks/after_use"
+ fi
else
- rvm ruby-1.9.1@todo
+ # If the environment file has not yet been created, use the RVM CLI to select.
+ if ! rvm --create "$environment_id"
+ then
+ echo "Failed to create RVM environment 'ruby-1.9.2-p180@instaback'."
+ fi
fi
+
+#
+# If you use an RVM gemset file to install a list of gems (*.gems), you can have
+# it be automatically loaded. Uncomment the following and adjust the filename if
+# necessary.
+#
+# filename=".gems"
+# if [[ -s "$filename" ]] ; then
+# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
+# fi
+
View
9 .rvmrc.07.25.2011-11:38:23
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+# .rvmrc file for tdt application
+
+if [[ "Darwin" = "$(uname)" ]] ; then
+ rvm ruby-1.9.1@todo
+else
+ rvm ruby-1.9.1@todo
+fi
View
41 .rvmrc.07.25.2011-11:38:24
@@ -0,0 +1,41 @@
+#!/usr/bin/env bash
+
+# This is an RVM Project .rvmrc file, used to automatically load the ruby
+# development environment upon cd'ing into the directory
+
+# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
+environment_id="ruby-1.9.2-p180@todopia"
+
+#
+# First we attempt to load the desired environment directly from the environment
+# file. This is very fast and efficient compared to running through the entire
+# CLI and selector. If you want feedback on which environment was used then
+# insert the word 'use' after --create as this triggers verbose mode.
+#
+if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
+then
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
+
+ if [[ -s ".rvm/hooks/after_use" ]]
+ then
+ . ".rvm/hooks/after_use"
+ fi
+else
+ # If the environment file has not yet been created, use the RVM CLI to select.
+ if ! rvm --create "$environment_id"
+ then
+ echo "Failed to create RVM environment ''."
+ fi
+fi
+
+#
+# If you use an RVM gemset file to install a list of gems (*.gems), you can have
+# it be automatically loaded. Uncomment the following and adjust the filename if
+# necessary.
+#
+# filename=".gems"
+# if [[ -s "$filename" ]] ; then
+# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
+# fi
+
View
17 Gemfile
@@ -1,21 +1,15 @@
-source 'http://rubygems.org'
-source 'http://gems.github.com'
source :gemcutter
-gem 'bundler', :require => nil
-gem 'rubygems-update', :require => nil
+gem 'rails', '2.3.11'
-gem 'rails', '2.3.8', :require => nil
-
-gem 'pg', '0.8.0'
+gem 'pg'
gem "authlogic"
gem 'haml'
gem 'compass'
gem 'acts-as-taggable-on'
gem "friendly_id", "~> 2.3"
gem 'formtastic'
-gem 'annotate-models'
gem 'hoptoad_notifier'
gem 'chronic'
gem 'whenever'
@@ -29,15 +23,8 @@ gem 'unicorn'
# Bundle the extra gems:
gem 'nokogiri'
-gem 'hpricot'
gem 'hirb'
-# Bundle gems for certain environments:
-# gem 'rspec', :group => :test
-# group :test do
-# gem 'webrat'
-# end
-
group :development do
gem 'ruby-debug19'
end
View
97 Gemfile.lock
@@ -0,0 +1,97 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ RedCloth (4.2.7)
+ aaronh-chronic (0.3.9)
+ actionmailer (2.3.11)
+ actionpack (= 2.3.11)
+ actionpack (2.3.11)
+ activesupport (= 2.3.11)
+ rack (~> 1.1.0)
+ activerecord (2.3.11)
+ activesupport (= 2.3.11)
+ activeresource (2.3.11)
+ activesupport (= 2.3.11)
+ activesupport (2.3.11)
+ acts-as-taggable-on (2.0.6)
+ archive-tar-minitar (0.5.2)
+ authlogic (2.1.6)
+ activesupport
+ builder (3.0.0)
+ chronic (0.6.1)
+ chunky_png (1.2.0)
+ columnize (0.3.4)
+ compass (0.11.5)
+ chunky_png (~> 1.2)
+ fssm (>= 0.2.7)
+ sass (~> 3.1)
+ formtastic (1.2.4)
+ actionpack (>= 2.3.7)
+ activesupport (>= 2.3.7)
+ i18n (~> 0.4)
+ friendly_id (2.3.4)
+ activerecord (>= 2.2)
+ activesupport (>= 2.2)
+ fssm (0.2.7)
+ haml (3.1.2)
+ hirb (0.4.5)
+ hoptoad_notifier (2.4.11)
+ activesupport
+ builder
+ i18n (0.6.0)
+ kgio (2.6.0)
+ linecache19 (0.5.12)
+ ruby_core_source (>= 0.1.4)
+ nifty-generators (0.4.6)
+ nokogiri (1.5.0)
+ pg (0.11.0)
+ rack (1.1.2)
+ rails (2.3.11)
+ actionmailer (= 2.3.11)
+ actionpack (= 2.3.11)
+ activerecord (= 2.3.11)
+ activeresource (= 2.3.11)
+ activesupport (= 2.3.11)
+ rake (>= 0.8.3)
+ raindrops (0.7.0)
+ rake (0.9.2)
+ ruby-debug-base19 (0.11.25)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby_core_source (>= 0.1.4)
+ ruby-debug19 (0.11.6)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby-debug-base19 (>= 0.11.19)
+ ruby_core_source (0.1.5)
+ archive-tar-minitar (>= 0.5.2)
+ sass (3.1.4)
+ unicorn (4.0.1)
+ kgio (~> 2.4)
+ rack
+ raindrops (~> 0.6)
+ whenever (0.6.8)
+ aaronh-chronic (>= 0.3.9)
+ activesupport (>= 2.3.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ RedCloth
+ acts-as-taggable-on
+ authlogic
+ chronic
+ compass
+ formtastic
+ friendly_id (~> 2.3)
+ haml
+ hirb
+ hoptoad_notifier
+ nifty-generators
+ nokogiri
+ pg
+ rails (= 2.3.11)
+ ruby-debug19
+ unicorn
+ whenever
View
243 README
@@ -0,0 +1,243 @@
+== Welcome to Rails
+
+Rails is a web-application framework that includes everything needed to create
+database-backed web applications according to the Model-View-Control pattern.
+
+This pattern splits the view (also called the presentation) into "dumb" templates
+that are primarily responsible for inserting pre-built data in between HTML tags.
+The model contains the "smart" domain objects (such as Account, Product, Person,
+Post) that holds all the business logic and knows how to persist themselves to
+a database. The controller handles the incoming requests (such as Save New Account,
+Update Product, Show Post) by manipulating the model and directing data to the view.
+
+In Rails, the model is handled by what's called an object-relational mapping
+layer entitled Active Record. This layer allows you to present the data from
+database rows as objects and embellish these data objects with business logic
+methods. You can read more about Active Record in
+link:files/vendor/rails/activerecord/README.html.
+
+The controller and view are handled by the Action Pack, which handles both
+layers by its two parts: Action View and Action Controller. These two layers
+are bundled in a single package due to their heavy interdependence. This is
+unlike the relationship between the Active Record and Action Pack that is much
+more separate. Each of these packages can be used independently outside of
+Rails. You can read more about Action Pack in
+link:files/vendor/rails/actionpack/README.html.
+
+
+== Getting Started
+
+1. At the command prompt, start a new Rails application using the <tt>rails</tt> command
+ and your application name. Ex: rails myapp
+2. Change directory into myapp and start the web server: <tt>script/server</tt> (run with --help for options)
+3. Go to http://localhost:3000/ and get "Welcome aboard: You're riding the Rails!"
+4. Follow the guidelines to start developing your application
+
+
+== Web Servers
+
+By default, Rails will try to use Mongrel if it's are installed when started with script/server, otherwise Rails will use WEBrick, the webserver that ships with Ruby. But you can also use Rails
+with a variety of other web servers.
+
+Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is
+suitable for development and deployment of Rails applications. If you have Ruby Gems installed,
+getting up and running with mongrel is as easy as: <tt>gem install mongrel</tt>.
+More info at: http://mongrel.rubyforge.org
+
+Say other Ruby web servers like Thin and Ebb or regular web servers like Apache or LiteSpeed or
+Lighttpd or IIS. The Ruby web servers are run through Rack and the latter can either be setup to use
+FCGI or proxy to a pack of Mongrels/Thin/Ebb servers.
+
+== Apache .htaccess example for FCGI/CGI
+
+# General Apache options
+AddHandler fastcgi-script .fcgi
+AddHandler cgi-script .cgi
+Options +FollowSymLinks +ExecCGI
+
+# If you don't want Rails to look in certain directories,
+# use the following rewrite rules so that Apache won't rewrite certain requests
+#
+# Example:
+# RewriteCond %{REQUEST_URI} ^/notrails.*
+# RewriteRule .* - [L]
+
+# Redirect all requests not available on the filesystem to Rails
+# By default the cgi dispatcher is used which is very slow
+#
+# For better performance replace the dispatcher with the fastcgi one
+#
+# Example:
+# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
+RewriteEngine On
+
+# If your Rails application is accessed via an Alias directive,
+# then you MUST also set the RewriteBase in this htaccess file.
+#
+# Example:
+# Alias /myrailsapp /path/to/myrailsapp/public
+# RewriteBase /myrailsapp
+
+RewriteRule ^$ index.html [QSA]
+RewriteRule ^([^.]+)$ $1.html [QSA]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
+
+# In case Rails experiences terminal errors
+# Instead of displaying this message you can supply a file here which will be rendered instead
+#
+# Example:
+# ErrorDocument 500 /500.html
+
+ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
+
+
+== Debugging Rails
+
+Sometimes your application goes wrong. Fortunately there are a lot of tools that
+will help you debug it and get it back on the rails.
+
+First area to check is the application log files. Have "tail -f" commands running
+on the server.log and development.log. Rails will automatically display debugging
+and runtime information to these files. Debugging info will also be shown in the
+browser on requests from 127.0.0.1.
+
+You can also log your own messages directly into the log file from your code using
+the Ruby logger class from inside your controllers. Example:
+
+ class WeblogController < ActionController::Base
+ def destroy
+ @weblog = Weblog.find(params[:id])
+ @weblog.destroy
+ logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
+ end
+ end
+
+The result will be a message in your log file along the lines of:
+
+ Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1
+
+More information on how to use the logger is at http://www.ruby-doc.org/core/
+
+Also, Ruby documentation can be found at http://www.ruby-lang.org/ including:
+
+* The Learning Ruby (Pickaxe) Book: http://www.ruby-doc.org/docs/ProgrammingRuby/
+* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
+
+These two online (and free) books will bring you up to speed on the Ruby language
+and also on programming in general.
+
+
+== Debugger
+
+Debugger support is available through the debugger command when you start your Mongrel or
+Webrick server with --debugger. This means that you can break out of execution at any point
+in the code, investigate and change the model, AND then resume execution!
+You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
+Example:
+
+ class WeblogController < ActionController::Base
+ def index
+ @posts = Post.find(:all)
+ debugger
+ end
+ end
+
+So the controller will accept the action, run the first line, then present you
+with a IRB prompt in the server window. Here you can do things like:
+
+ >> @posts.inspect
+ => "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>,
+ #<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
+ >> @posts.first.title = "hello from a debugger"
+ => "hello from a debugger"
+
+...and even better is that you can examine how your runtime objects actually work:
+
+ >> f = @posts.first
+ => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
+ >> f.
+ Display all 152 possibilities? (y or n)
+
+Finally, when you're ready to resume execution, you enter "cont"
+
+
+== Console
+
+You can interact with the domain model by starting the console through <tt>script/console</tt>.
+Here you'll have all parts of the application configured, just like it is when the
+application is running. You can inspect domain models, change values, and save to the
+database. Starting the script without arguments will launch it in the development environment.
+Passing an argument will specify a different environment, like <tt>script/console production</tt>.
+
+To reload your controllers and models after launching the console run <tt>reload!</tt>
+
+== dbconsole
+
+You can go to the command line of your database directly through <tt>script/dbconsole</tt>.
+You would be connected to the database with the credentials defined in database.yml.
+Starting the script without arguments will connect you to the development database. Passing an
+argument will connect you to a different database, like <tt>script/dbconsole production</tt>.
+Currently works for mysql, postgresql and sqlite.
+
+== Description of Contents
+
+app
+ Holds all the code that's specific to this particular application.
+
+app/controllers
+ Holds controllers that should be named like weblogs_controller.rb for
+ automated URL mapping. All controllers should descend from ApplicationController
+ which itself descends from ActionController::Base.
+
+app/models
+ Holds models that should be named like post.rb.
+ Most models will descend from ActiveRecord::Base.
+
+app/views
+ Holds the template files for the view that should be named like
+ weblogs/index.html.erb for the WeblogsController#index action. All views use eRuby
+ syntax.
+
+app/views/layouts
+ Holds the template files for layouts to be used with views. This models the common
+ header/footer method of wrapping views. In your views, define a layout using the
+ <tt>layout :default</tt> and create a file named default.html.erb. Inside default.html.erb,
+ call <% yield %> to render the view using this layout.
+
+app/helpers
+ Holds view helpers that should be named like weblogs_helper.rb. These are generated
+ for you automatically when using script/generate for controllers. Helpers can be used to
+ wrap functionality for your views into methods.
+
+config
+ Configuration files for the Rails environment, the routing map, the database, and other dependencies.
+
+db
+ Contains the database schema in schema.rb. db/migrate contains all
+ the sequence of Migrations for your schema.
+
+doc
+ This directory is where your application documentation will be stored when generated
+ using <tt>rake doc:app</tt>
+
+lib
+ Application specific libraries. Basically, any kind of custom code that doesn't
+ belong under controllers, models, or helpers. This directory is in the load path.
+
+public
+ The directory available for the web server. Contains subdirectories for images, stylesheets,
+ and javascripts. Also contains the dispatchers and the default HTML files. This should be
+ set as the DOCUMENT_ROOT of your web server.
+
+script
+ Helper scripts for automation and generation.
+
+test
+ Unit and functional tests along with fixtures. When using the script/generate scripts, template
+ test files will be generated for you and placed in this directory.
+
+vendor
+ External libraries that the application depends on. Also includes the plugins subdirectory.
+ If the app has frozen rails, those gems also go here, under vendor/rails/.
+ This directory is in the load path.
View
44 app/controllers/invites_controller.rb
@@ -0,0 +1,44 @@
+class InvitesController < ApplicationController
+ def index
+ @invites = Invite.all
+ end
+
+ def show
+ @invite = Invite.find(params[:id])
+ end
+
+ def new
+ @invite = Invite.new
+ end
+
+ def create
+ @invite = Invite.new(params[:invite])
+ if @invite.save
+ flash[:notice] = "Successfully created invite."
+ redirect_to @invite
+ else
+ render :action => 'new'
+ end
+ end
+
+ def edit
+ @invite = Invite.find(params[:id])
+ end
+
+ def update
+ @invite = Invite.find(params[:id])
+ if @invite.update_attributes(params[:invite])
+ flash[:notice] = "Successfully updated invite."
+ redirect_to @invite
+ else
+ render :action => 'edit'
+ end
+ end
+
+ def destroy
+ @invite = Invite.find(params[:id])
+ @invite.destroy
+ flash[:notice] = "Successfully destroyed invite."
+ redirect_to invites_url
+ end
+end
View
1 app/controllers/user_sessions_controller.rb
@@ -2,7 +2,6 @@ class UserSessionsController < ApplicationController
layout 'public'
def new
- debugger
@user_session = UserSession.new
end
View
12 app/stylesheets/partials/_base.sass
@@ -1,10 +1,10 @@
-!screen_width = 99%
-!primary_color = #fff
-!labelHighlight_color = #999
+$screen_width : 99%
+$primary_color : #fff
+$labelHighlight_color : #999
-!toolbar_color = #205BAB
-!dialog_color = #C4AA5D
-!list_color = #F0F0F0
+$toolbar_color : #205BAB
+$dialog_color : #C4AA5D
+$list_color : #F0F0F0
=alt
:font-family "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif
View
18 app/stylesheets/partials/_boxes.sass
@@ -1,25 +1,25 @@
-=rounded(!radius = 4px)
- :border-radius = !radius
- :-moz-border-radius = !radius
- :-webkit-border-radius = !radius
+=rounded($radius : 4px)
+ border-radius : $radius
+ -moz-border-radius : $radius
+ -webkit-border-radius : $radius
margin: .25em
-=button(!bg_color = gray, !color = white)
+=button($bg_color : gray, $color : white)
+rounded
- background= !bg_color
+ background: $bg_color
margin: .10em
text-decoration: none
padding: .5em .75em
- color= !color
+ color: $color
font-size: .85em
.dialog
+rounded
- background= !dialog_color
+ background: $dialog_color
.list
+rounded
- background= !list_color
+ background: $list_color
padding: .25em
.button
View
580 app/stylesheets/partials/_formtastic_base.sass
@@ -1,7 +1,7 @@
//
// FORMTASTIC SASS
// Flexible styling for formtastic forms
-// http://www.github.com/active-stylus/formtastic-sass
+// http://www.github.com/activestylus/formtastic-sass
//
//--------------------------------------------------------
// STACKED FORMS
@@ -20,23 +20,29 @@
//
// Default Settings:
//
-!stacked_fieldset=100%
+$stacked_fieldset: 100%
+
// Full width of the fieldset
//
-!stacked_input="auto"
+$stacked_input: auto
+
// "auto" = automatic widths
// "full" = same width as form
// "960px" = custom width
//
-!stacked_padding=0
+$stacked_padding: 0
+
// Left padding on all labels and inputs
//
-!stacked_button_align="buttons-left"
+$stacked_button_align: buttons-left
+
// "buttons-left" = float submit button left
// "buttons-right" = float submit button right
+// "buttons-center" = no float, auto width
// "buttons-full" = submit button matches input width
//
-!stacked_select_width = "select-auto"
+$stacked_select_width: select-auto
+
// "select-auto" = default width
// "select-full" = same as specified input width
//
@@ -62,29 +68,37 @@
// Default Settings:
// (do not mix units because calculations are made)
//
-!floated_total_width = 100%
+$floated_total_width: 100%
+
// Total Width of form
//
-!floated_input_width = 70%
+$floated_input_width: 70%
+
// Width of inputs
//
-!floated_label_width = 20%
+$floated_label_width: 20%
+
// Width of Label
//
-!floated_label_padding_x = 0
+$floated_label_padding_x: 0
+
// How far labels are spaced from inputs
//
-!floated_button_align = "buttons-left"
+$floated_button_align: buttons-left
+
// "buttons-left" = float submit button left
// "buttons-right" = float submit button right
+// "buttons-center" = no float, auto width
// "buttons-full" = submit button matches input width
//
-!floated_label_text_align = "left"
+$floated_label_text_align: left
+
// "left"
// "right"
// "center"
//
-!floated_select_width = "select-auto"
+$floated_select_width: select-auto
+
// "select-auto" = default width
// "select-full" = same as specified input width
//
@@ -93,14 +107,15 @@
// Note: Be careful when modifying widths and
// horizontal padding/margins as you can break layouts
//========================================================
-=clearfix
+=formtastic_clearfix
*display: inline-block
&:after
content: " "
display: block
height: 0
clear: both
visibility: hidden
+
//
//
//
@@ -115,376 +130,391 @@
//--------------------------------------------------------
// Generic Mixins
//--------------------------------------------------------
-=float-labels(!width,!padding=0,!direction="left")
- :width = !width - !padding
- :text-align = !direction
- :display inline
- :float left
- :clear none
- @if !padding == 0
- :padding 0
+=float-labels($width, $padding: 0, $direction: left)
+ width: $width - $padding
+ text-align: $direction
+ display: inline
+ float: left
+ clear: none
+ @if $padding == 0
+ padding: 0
@else
- :padding-#{!direction} = !padding
-=block(!block_float="clear")
- :display block
- @if !block_float=="clear"
- :clear both
- :float none
+ padding-#{$direction}: $padding
+
+=block($block_float: clear)
+ display: block
+ @if $block_float == "clear"
+ clear: both
+ float: none
@else
- :float = !block_float
-=inline(!float="none",!clear="none")
- :display inline
- :float = !float
- :clear = !clear
+ float: $block_float
+
+=inline($float: none, $clear: none)
+ display: inline
+ float: $float
+ clear: $clear
+
=reset-form
// Reset elements
ul, ol, legend, p
- :margin 0
- :padding 0
+ margin: 0
+ padding: 0
li
- :margin-left 0px
- :margin-right 0px
- :padding-left 0px
- :padding-right 0px
+ margin-left: 0px
+ margin-right: 0px
+ padding-left: 0px
+ padding-right: 0px
// Clearfix fieldsets
fieldset
- :display block
- +clearfix
+ display: block
+ +formtastic_clearfix
// * fields
abbr, acronym
- :border 0
- :font-variant normal
- :font-weight normal
+ border: 0
+ font-variant: normal
+ font-weight: normal
// Reset list styles
ol, ul
- :list-style none
+ list-style: none
// Clearfix label
label
- :display block
- +clearfix
+ display: block
+ +formtastic_clearfix
// Align Inputs
input, textarea
- :vertical-align middle
+ vertical-align: middle
// Make Labels Clickable
.check_boxes, .radio
input
- :margin 0
+ margin: 0
label
- :cursor pointer
+ cursor: pointer
// Hide hidden fields
.hidden
- :display none
+ display: none
// Date Time Selects shown inline
.date, .time, .datetime
li
- :float left
- :width auto
- :clear none
+ float: left
+ width: auto
+ clear: none
label
- :display none
- :width auto
+ display: none
+ width: auto
input
- :display inline
- :margin 0
- :padding 0
+ display: inline
+ margin: 0
+ padding: 0
// Error lists for each input
.errors
- :list-style square
+ list-style: square
li
- :padding 0
- :border none
- :display list-item
- :float none
- :clear both
+ padding: 0
+ border: none
+ display: list-item
+ float: none
+ clear: both
.inputs
- :z-index 99
+ z-index: 99
// Float Submit Buttons
.buttons li
- :float left
+ float: left
// Reset Nested Fieldset & Legends
li
- +clearfix
- :display block
+ +formtastic_clearfix
+ display: block
fieldset
- :border none
- :position relative
- :margin-top 0px
+ border: none
+ position: relative
+ margin-top: 0px
legend
- :display block
- :margin-bottom 0
+ display: block
+ margin-bottom: 0
.label
- :display block
- :clear both
- :background transparent
+ display: block
+ clear: both
+ background: transparent
// Reset lists for checkboxes and radio buttons
ol
- :float left
- :margin 0
+ float: left
+ margin: 0
li
- :padding 0
- :border 0
- :display inline
+ padding: 0
+ border: 0
+ display: inline
+
//
//--------------------------------------------------------
// Form Stack
//--------------------------------------------------------
//
-=stack-form(!stacked_fieldset, !stacked_input, !stacked_padding, !stacked_button_align, !stacked_select_width)
+=stack-form($stacked_fieldset, $stacked_input, $stacked_padding, $stacked_button_align, $stacked_select_width)
+reset-form
fieldset
- :width = !stacked_fieldset
+ width: $stacked_fieldset
ol
- :padding-left = !stacked_padding
+ padding-left: $stacked_padding
input
- :clear both
- :float none
+ clear: both
+ float: none
li
+block
- :width = !stacked_fieldset
+ width: $stacked_fieldset
ol
- :padding 0
+ padding: 0
li
- :clear none
- :width auto
+ clear: none
+ width: auto
fieldset
legend, legend .label
- :display block
- :clear both
+ display: block
+ clear: both
.label
- :position relative
+ position: relative
label, input
- :width auto
+ width: auto
.date, .time, .datetime
ol
- :width = !stacked_fieldset
+ width: $stacked_fieldset
li
- :display inline
- :clear none
- :float left
- :padding-right = !stacked_padding / 2
+ display: inline
+ clear: none
+ float: left
+ padding-right: $stacked_padding / 2
.checkbox, .radio
li
- :display block
+ display: block
input
- :border none
+ border: none
label
+block
- :width = !stacked_input
+ width: $stacked_input
input, textarea
- @if !stacked_input=="full"
- :width = !stacked_fieldset - !stacked_padding
+ @if $stacked_input == "full"
+ width: $stacked_fieldset - $stacked_padding
@else
- :width = !stacked_input
+ width: $stacked_input
select
- @if !stacked_select_width == "select-auto"
- :width auto
+ @if $stacked_select_width == "select-auto"
+ width: auto
@else
- :width = !stacked_input
+ width: $stacked_input
.errors li
- :display list-item
+ display: list-item
.buttons
ol
- :padding-left = !stacked_padding
- :padding-right = !stacked_padding
+ padding-left: $stacked_padding
+ padding-right: $stacked_padding
li
- @if !stacked_button_align == "buttons-left"
- :float left
- @if !stacked_button_align == "buttons-right"
- :float right
- :width auto
- :clear none
- :display inline
+ @if $stacked_button_align == "buttons-left"
+ float: left
+ @if $stacked_button_align == "buttons-right"
+ float: right
+ @if $stacked_button_align == "buttons-center"
+ float: none
+ width: auto
+ clear: none
+ display: inline
input
- @if !stacked_button_align == "buttons-full"
- :width = !stacked_fieldset
+ @if $stacked_button_align == "buttons-full"
+ width: $stacked_fieldset
@else
- :width auto
+ width: auto
#errorExplanation
- :width = !stacked_fieldset - !stacked_padding
+ width: $stacked_fieldset - $stacked_padding
.label
// Legend Left Margin Hack for IE
- :#left -0.5em
- :#position relative
+ #left: -0.5em
+ #position: relative
+
//
//--------------------------------------------------------
// Float Form Core
//--------------------------------------------------------
//
-=float-form(!floated_total_width,!floated_label_width,!floated_input_width,!floated_label_padding_x, !floated_button_align, !floated_label_text_align, !floated_select_width )
+=float-form($floated_total_width, $floated_label_width, $floated_input_width, $floated_label_padding_x, $floated_button_align, $floated_label_text_align, $floated_select_width)
+reset-form
fieldset
- :width = !floated_total_width
+ width: $floated_total_width
label
- :float left
- :width = !floated_label_width - !floated_label_padding_x
- :text-align = !floated_label_text_align
- :padding-#{!floated_label_text_align} = !floated_label_padding_x
+ float: left
+ width: $floated_label_width - $floated_label_padding_x
+ text-align: $floated_label_text_align
+ padding-#{$floated_label_text_align}: $floated_label_padding_x
li
ol
- :padding = 0 ( !floated_total_width - (!floated_input_width + !floated_label_width)) 0 !floated_label_width
+ padding: 0 $floated_total_width - $floated_input_width + $floated_label_width 0 $floated_label_width
fieldset
legend, legend .label
- :display block
+ display: block
legend
- +float-labels(!floated_label_width,!floated_label_padding_x,!floated_label_text_align)
- :width = !floated_total_width - !floated_label_padding_x
+ +float-labels($floated_label_width, $floated_label_padding_x, $floated_label_text_align)
+ width: $floated_total_width - $floated_label_padding_x
.label
- :position absolute
- :width = !floated_label_width - !floated_label_padding_x
- :top 0px
- @if !floated_label_text_align=="right"
- :left 0
+ position: absolute
+ width: $floated_label_width - $floated_label_padding_x
+ top: 0px
+ @if $floated_label_text_align == "right"
+ left: 0
@else
- :left = !floated_label_padding_x
+ left: $floated_label_padding_x
label
- :padding-left 0
+ padding-left: 0
label, input
- :width auto
- :display inline
- :clear none
- :text-align left
+ width: auto
+ display: inline
+ clear: none
+ text-align: left
select
- :padding 0
- :clear both
- :display block
+ padding: 0
+ clear: both
+ display: block
.inline-hints, .inline-errors, .errors
- :margin = 0 0 0 !floated_label_width
+ margin: 0 0 0 $floated_label_width
input, textarea
- :width = !floated_input_width
+ width: $floated_input_width
select
- @if !floated_select_width=="select-auto"
- :width auto
+ @if $floated_select_width == "select-auto"
+ width: auto
@else
- :width = !floated_input_width
+ width: $floated_input_width
.checkbox, .radio
li
- :display block
- :clear both
+ display: block
+ clear: both
input
- :border none
+ border: none
.buttons
- :padding-left = !floated_label_width
- :width = !floated_total_width - !floated_label_width
+ padding-left: $floated_label_width
+ width: $floated_total_width - $floated_label_width
input
- :width auto
+ width: auto
ol
- @if !floated_button_align == "buttons-right"
- :padding-right = !floated_label_padding_x
+ @if $floated_button_align == "buttons-right"
+ padding-right: $floated_label_padding_x
li
- :width auto
- @if !floated_button_align == "buttons-right"
- :float right
+ width: auto
+ @if $floated_button_align == "buttons-right"
+ float: right
@else
- :float left
- @if !floated_button_align == "full-buttons"
+ float: left
+ @if $floated_button_align == "full-buttons"
input
- :width = !floated_input_width
+ width: $floated_input_width
@else
- :display inline
+ display: inline
#errorExplanation
- :margin-left = !floated_label_width
- :width = !floated_input_width
+ margin-left: $floated_label_width
+ width: $floated_input_width
+
//
//--------------------------------------------------------
// Float Form Left/Right
//--------------------------------------------------------
//
-=float-form-left(!floated_total_width,!floated_label_width,!floated_input_width,!floated_label_padding_x, !floated_button_align)
- +float-form(!floated_total_width,!floated_label_width,!floated_input_width,!floated_label_padding_x, !floated_button_align,"left")
+=float-form-left($floated_total_width, $floated_label_width, $floated_input_width, $floated_label_padding_x, $floated_button_align)
+ +float-form($floated_total_width, $floated_label_width, $floated_input_width, $floated_label_padding_x, $floated_button_align, left)
-=float-form-right(!floated_total_width,!floated_label_width,!floated_input_width,!floated_label_padding_x, !floated_button_align)
- +float-form(!floated_total_width,!floated_label_width,!floated_input_width,!floated_label_padding_x, !floated_button_align,"right")
+=float-form-right($floated_total_width, $floated_label_width, $floated_input_width, $floated_label_padding_x, $floated_button_align)
+ +float-form($floated_total_width, $floated_label_width, $floated_input_width, $floated_label_padding_x, $floated_button_align, right)
//
//--------------------------------------------------------
// Float Inputs
//--------------------------------------------------------
//
-=float-inputs(!margin_right=10px,!line_height=150%)
+=float-inputs($margin_right: 10px, $line_height: 150%)
.radio, .check_boxes
ol
- +inline("left")
+ +inline(left)
li
- :width auto
- +inline("left","none")
+ width: auto
+ +inline(left, none)
input
- :float none
- :display inline
+ float: none
+ display: inline
label
- :display block
- :clear none
- :width auto
- :padding-left 0
- :line-height = !line_height
- :margin-right = !margin_right
+ display: block
+ clear: none
+ width: auto
+ padding-left: 0
+ line-height: $line_height
+ margin-right: $margin_right
+
//
-=float-inputs-for(!dom_target,!margin_right=10px,!line_height=150%)
- #{!dom_target}
- +float-inputs-core(!margin_right,!line_height)
+=float-inputs-for($dom_target, $margin_right: 10px, $line_height: 150%)
+ #{$dom_target}
+ +float-inputs-core($margin_right, $line_height)
+
//
//--------------------------------------------------------
// Grid Inputs
//--------------------------------------------------------
//
-=grid-inputs(!width=100px,!line_height=150%)
+=grid-inputs($width: 100px, $line_height: 150%)
.radio, .check_boxes
ol
- +inline("left")
+ +inline(left)
li
- +inline("left","none")
- :width = !width
+ +inline(left, none)
+ width: $width
label
- +inline("left","none")
- :width auto
- :line-height = !line_height
+ +inline(left, none)
+ width: auto
+ line-height: $line_height
-=grid-inputs-for(!dom_target,!width=100px,!line_height=150%)
- #{!dom_target}
- +grid-inputs-core(!width,!line_height)
+=grid-inputs-for($dom_target, $width: 100px, $line_height: 150%)
+ #{$dom_target}
+ +grid-inputs-core($width, $line_height)
//--------------------------------------------------------
// Labels
//--------------------------------------------------------
-=bold-labels(!select="all")
+=bold-labels($select: all)
li
- @if !select == "all"
+ @if $select == "all"
label, legend span.label
- :font-weight bold
+ font-weight: bold
li
label
- :font-weight normal
- @if !select == "required"
+ font-weight: normal
+ @if $select == "required"
&.required
label, .label
- :font-weight bold
+ font-weight: bold
li
label
- :font-weight normal
-
+ font-weight: normal
//---------------------------------------------------
// Original Mixin (deprecated!)
//
-!form_layout="float"
+$form_layout: float
+
// Set the general layout of the form
// "float" will use two column layout with labels on the left
// "clear" will have labels above the inputs
//
-!total_width=100%
+$total_width: 100%
+
// Set width of entire fieldset
//
// Set label widths and hint/error left margins
-!label_width=24%
+$label_width: 24%
+
//
-!input_width=70%
+$input_width: 70%
+
// Set width of inputs, textareas and selects
//
-!label_pad=2%
+$label_pad: 2%
+
// Set horizontal padding for labels
//
-!label_float="left"
+$label_float: left
+
// Set alignment of labels
// "clear" puts labels above inputs
// "left" floats labels left and aligns text left
@@ -493,10 +523,12 @@
//
// Set widths of all inputs, textareas and selects (all aligned)
// False will preserve auto width
-!full_width_inputs=true
+$full_width_inputs: true
+
//
// Set float direction of form buttons ("right" or "left")
-!button_float="left"
+$button_float: left
+
// Installation ------------------------------------------
//
//$ sudo gem install haml
@@ -527,83 +559,83 @@
// Note: When using pixel values be sure to pad total width by 10px
// Still looking for a way to make this cleaner
//--------------------------------------------------------
-=formtastic(!total_width,!label_width,!input_width,!label_pad,!label_float,!button_float,!full_width_inputs)
+=formtastic($total_width, $label_width, $input_width, $label_pad, $label_float, $button_float, $full_width_inputs)
fieldset
- :width = !total_width
+ width: $total_width
ol li
label
- @if !label_float=="clear"
- :display block
- :clear both
- :float none
+ @if $label_float == "clear"
+ display: block
+ clear: both
+ float: none
@else
- :float left
- :width = !label_width - !label_pad
- @if !label_float=="left"
- :padding-left = !label_pad
- :text-align left
+ float: left
+ width: $label_width - $label_pad
+ @if $label_float == "left"
+ padding-left: $label_pad
+ text-align: left
@else
- :text-align right
+ text-align: right
fieldset
legend
- @if !label_float=="clear"
- :display block
- :clear both
- :float none
+ @if $label_float == "clear"
+ display: block
+ clear: both
+ float: none
span.label
- :display block
- :clear both
- :float none
-
+ display: block
+ clear: both
+ float: none
@else
- :width = !label_width - !label_pad
- @if !label_float=="left"
- :padding-left = !label_pad
+ width: $label_width - $label_pad
+ @if $label_float == "left"
+ padding-left: $label_pad
@else
- :padding-right = !label_pad
- :text-align right
+ padding-right: $label_pad
+ text-align: right
span.label
- :position absolute
- :width = !label_width - !label_pad
+ position: absolute
+ width: $label_width - $label_pad
ol
- @if !label_float=="clear"
- :padding 0
+ @if $label_float == "clear"
+ padding: 0
@else
- :padding = 0 ( !total_width - (!input_width + !label_width)) 0 !label_width
- @if !label_float == "clear"
+ padding: 0 $total_width - $input_width + $label_width 0 $label_width
+ @if $label_float == "clear"
&.string input, &.password input, &.numeric input, &.text textarea, select
- :width = !input_width
+ width: $input_width
@else
p.inline-hints, p.inline-errors, ul.errors
- :margin = 0 0 0 !label_width
- @if !full_width_inputs
+ margin: 0 0 0 $label_width
+ @if $full_width_inputs
&.string input, &.password input, &.numeric input, &.text textarea, select
- :width = !input_width
+ width: $input_width
&.boolean label
- :padding-left = !label_width
+ padding-left: $label_width
fieldset
&.buttons
- @if !label_float == "clear"
- :width = !total_width
+ @if $label_float == "clear"
+ width: $total_width
@else
- :padding-left = !label_width
- :width = !input_width
- @if !button_float == "left"
+ padding-left: $label_width
+ width: $input_width
+ @if $button_float == "left"
ol
li
- :display inline
- :width auto
- :float left
- @if !button_float == "right"
+ display: inline
+ width: auto
+ float: left
+ @if $button_float == "right"
ol
- :padding-left 0
- @if !label_float == "clear"
- :width = !input_width
+ padding-left: 0
+ @if $label_float == "clear"
+ width: $input_width
li
- :float right
- :width auto
- @if !label_float != "clear"
- :padding-left = !label_pad
+ float: right
+ width: auto
+ @if $label_float != "clear"
+ padding-left: $label_pad
+
//--------------------------------------------------------
// Formtastic Errors on top (aligned with label)
//
@@ -612,13 +644,13 @@
// Best used with right-aligned labels
// +formtastic(100%,20%,70%,4%,"right")
//--------------------------------------------------------
-=formtastic-errors-on-top(!label_vertical_margin=21px)
+=formtastic-errors-on-top($label_vertical_margin: 21px)
ol li.error
p.inline-errors
- :margin-top 0px
+ margin-top: 0px
label, span.label
- :margin-top = "-#{!label_vertical_margin}"
- :padding-bottom 18px
+ margin-top: unquote("-#{$label_vertical_margin}")
+ padding-bottom: 18px
fieldset label
- :margin-top 0
- :padding-bottom 0
+ margin-top: 0
+ padding-bottom: 0
View
8 app/stylesheets/partials/_skintastic.sass
@@ -1,12 +1,12 @@
#user, #user_session, #reset_password
#new, #edit
- !floated_total_width = 300px
+ $floated_total_width : 300px
// Total Width of form
//
- !floated_input_width = 300px
+ $floated_input_width : 300px
// Width of inputs
//
- !floated_label_width = 300px
+ $floated_label_width : 300px
+stack-form
@@ -94,7 +94,7 @@
//--------------------------------------------------------
// Feedback (Requirements, Errors and Hints)
// Add horizontal margin/padding with care as it can
- // break the layout on floats!
+ // break the layout on floats$
//--------------------------------------------------------
#errorExplanation
li
View
49 app/stylesheets/public.sass
@@ -1,35 +1,34 @@
-// This import applies a global reset to any page that imports this stylesheet.
-@import blueprint/reset.sass
-@import blueprint/interaction.sass
-@import partials/base.sass
-@import compass/css3/gradient.sass
-@import compass/utilities.sass
-@import partials/boxes.sass
-@import partials/formtastic_base.sass
-@import partials/skintastic.sass
-@import partials/textbox.sass
-@import partials/textbox.autocomplete.sass
-@import partials/facebox.sass
-@import partials/slidebox.sass
-@import partials/jquery.date_input.sass
-@import partials/jquery.contextMenu.sass
-
-@import partials/todos.sass
-@import partials/notes.sass
-@import partials/histories.sass
-@import partials/user_session.sass
-@import partials/users.sass
+@import "blueprint/reset"
+@import blueprint/interaction
+@import partials/base
+@import compass/css3/gradient
+@import compass/utilities
+@import partials/boxes
+@import partials/formtastic_base
+@import partials/skintastic
+@import partials/textbox
+@import partials/textbox.autocomplete
+@import partials/facebox
+@import partials/slidebox
+@import partials/jquery.date_input
+@import partials/jquery.contextMenu
+
+@import partials/todos
+@import partials/notes
+@import partials/histories
+@import partials/user_session
+@import partials/users
html, body
margin: 0px
padding: 0px .20em
body
- :background-color = !primary_color
+ background-color: $primary_color
:font
:family Verdana, Helvetica, Arial
:size 14px
- :width = !screen_width
+ width: $screen_width
a
:color #0000FF
@@ -43,12 +42,12 @@ body
:overflow hidden
.labelHighlight
- :color = !labelHighlight_color
+ color : $labelHighlight_color
:text-align right
.toolbar
+rounded
- background= !toolbar_color
+ background: $toolbar_color
padding: .50em .25em
min-width: 400px
View
24 app/views/invites/_form.html.haml
@@ -0,0 +1,24 @@
+- form_for @invite do |f|
+ = f.error_messages
+ %p
+ = f.label :inviter_id
+ %br
+ = f.text_field :inviter_id
+ %p
+ = f.label :email
+ %br
+ = f.text_field :email
+ %p
+ = f.label :name
+ %br
+ = f.text_field :name
+ %p
+ = f.label :token
+ %br
+ = f.text_field :token
+ %p
+ = f.label :accepted_at
+ %br
+ = f.datetime_select :accepted_at
+ %p
+ = f.submit "Submit"
View
8 app/views/invites/edit.html.haml
@@ -0,0 +1,8 @@
+- title "Edit Invite"
+
+= render :partial => 'form'
+
+%p
+ = link_to "Show", invite_path(@invite)
+ |
+ = link_to "View All", invites_path
View
21 app/views/invites/index.html.haml
@@ -0,0 +1,21 @@
+- title "Invites"
+
+%table
+ %tr
+ %th Inviter
+ %th Email
+ %th Name
+ %th Token
+ %th Accepted at
+ - for invite in @invites
+ %tr
+ %td= h invite.inviter_id
+ %td= h invite.email
+ %td= h invite.name
+ %td= h invite.token
+ %td= h invite.accepted_at
+ %td= link_to 'Show', invite
+ %td= link_to 'Edit', edit_invite_path(invite)
+ %td= link_to 'Destroy', invite, :confirm => 'Are you sure?', :method => :delete
+
+%p= link_to "New Invite", new_invite_path
View
5 app/views/invites/new.html.haml
@@ -0,0 +1,5 @@
+- title "New Invite"
+
+= render :partial => 'form'
+
+%p= link_to "Back to List", invites_path
View
24 app/views/invites/show.html.haml
@@ -0,0 +1,24 @@
+- title "Invite"
+
+%p
+ %strong Inviter:
+ =h @invite.inviter_id
+%p
+ %strong Email:
+ =h @invite.email
+%p
+ %strong Name:
+ =h @invite.name
+%p
+ %strong Token:
+ =h @invite.token
+%p
+ %strong Accepted At:
+ =h @invite.accepted_at
+
+%p
+ = link_to "Edit", edit_invite_path(@invite)
+ |
+ = link_to "Destroy", @invite, :confirm => 'Are you sure?', :method => :delete
+ |
+ = link_to "View All", invites_path
View
21 app/views/layouts/_toolbar.html.haml
@@ -0,0 +1,21 @@
+%table
+ %tr
+ %td.left
+ - if current_user
+ = link_to "Log Out", logout_path, :class => 'button'
+ - else
+ - if params[:controller] == 'public/users'
+ = link_to "Log In", login_path, :class => 'yellow-button'
+ - elsif params[:controller] == 'user_sessions'
+ = link_to "Sign Up", signup_path, :class => 'yellow-button'
+ = link_to "Options", '#', :class => 'slide-options button'
+ %td.center
+ = image_tag "big_spinner.gif", :title => "please wait...", :class => 'spinner'
+ - if show_title?
+ %h1.screen_only
+ =h yield(:title)
+ %h1.print_only
+ =h yield(:print_title)
+ %td.right
+ - if current_user
+ = link_to "+ New", '#', :id => 'todo_toggle', :class => 'button', :rel => new_user_todo_path(current_user)
View
0 app/views/layouts/null
No changes.
View
3 app/views/postoffice/forgot_password.haml
@@ -0,0 +1,3 @@
+Postoffice#forgot_password
+
+Find me in app/views/postoffice/forgot_password.erb
View
3 app/views/postoffice/share.haml
@@ -0,0 +1,3 @@
+Postoffice#share
+
+Find me in app/views/postoffice/share.erb
View
0 app/views/public/todos/null
No changes.
View
12 app/views/tag_groups/_form.html.haml
@@ -0,0 +1,12 @@
+- form_for @tag_group do |f|
+ = f.error_messages
+ %p
+ = f.label :tag
+ %br
+ = f.text_field :tag
+ %p
+ = f.label :user_id
+ %br
+ = f.text_field :user_id
+ %p
+ = f.submit "Submit"
View
8 app/views/tag_groups/edit.html.haml
@@ -0,0 +1,8 @@
+- title "Edit Tag Group"
+
+= render :partial => 'form'
+
+%p
+ = link_to "Show", tag_group_path(@tag_group)
+ |
+ = link_to "View All", tag_groups_path
View
15 app/views/tag_groups/index.html.haml
@@ -0,0 +1,15 @@
+- title "Tag Groups"
+
+%table
+ %tr
+ %th Tag
+ %th User
+ - for tag_group in @tag_groups
+ %tr
+ %td= h tag_group.tag
+ %td= h tag_group.user_id
+ %td= link_to 'Show', tag_group
+ %td= link_to 'Edit', edit_tag_group_path(tag_group)
+ %td= link_to 'Destroy', tag_group, :confirm => 'Are you sure?', :method => :delete
+
+%p= link_to "New Tag Group", new_tag_group_path
View
5 app/views/tag_groups/new.html.haml
@@ -0,0 +1,5 @@
+- title "New Tag Group"
+
+= render :partial => 'form'
+
+%p= link_to "Back to List", tag_groups_path
View
15 app/views/tag_groups/show.html.haml
@@ -0,0 +1,15 @@
+- title "Tag Group"
+
+%p
+ %strong Tag:
+ =h @tag_group.tag
+%p
+ %strong User:
+ =h @tag_group.user_id
+
+%p
+ = link_to "Edit", edit_tag_group_path(@tag_group)
+ |
+ = link_to "Destroy", @tag_group, :confirm => 'Are you sure?', :method => :delete
+ |
+ = link_to "View All", tag_groups_path
View
2 config/environment.rb
@@ -1,7 +1,7 @@
# Be sure to restart your server when you modify this file
# Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
View
17 db/migrate/20100416214801_create_shares.rb
@@ -0,0 +1,17 @@
+class CreateShares < ActiveRecord::Migration
+ def self.up
+ create_table :shares do |t|
+ t.integer :user_id
+ t.string :tag
+ t.integer :sharee_id
+ t.boolean :can_complete
+ t.integer :invite_id
+
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :shares
+ end
+end
View
52 default.gems
@@ -1,52 +0,0 @@
-# default.gems generated gem export file. Note that any env variable settings will be missing. Append these after using a ';' field separator
-abstract -v1.0.0
-actionmailer -v2.3.8
-actionmailer -v2.3.7
-actionpack -v2.3.8
-actionpack -v2.3.7
-activerecord -v2.3.8
-activerecord -v2.3.7
-activeresource -v2.3.8
-activeresource -v2.3.7
-activesupport -v2.3.8
-activesupport -v2.3.7
-acts-as-taggable-on -v2.0.6
-annotate-models -v1.0.4
-archive-tar-minitar -v0.5.2
-authlogic -v2.1.4
-bundler -v0.9.25
-chronic -v0.2.3
-columnize -v0.3.1
-compass -v0.10.1
-erubis -v2.6.5
-formtastic -v0.9.8
-friendly_id -v3.0.4
-friendly_id -v2.3.4
-haml -v3.0.6
-haml -v3.0.5
-hirb -v0.3.2
-hoe -v2.6.0
-hoptoad_notifier -v2.2.2
-hpricot -v0.8.2
-json_pure -v1.4.3
-linecache19 -v0.5.11
-newgem -v1.5.3
-nifty-generators -v0.4.0
-nokogiri -v1.4.2
-pg -v0.9.0
-pg -v0.8.0
-rack -v1.1.0
-rails -v2.3.8
-rails -v2.3.7
-RedCloth -v4.2.3
-rubigen -v1.5.4
-ruby-debug-base19 -v0.11.23
-ruby-debug19 -v0.11.6
-ruby_core_source -v0.1.4
-ruby_parser -v2.0.4
-rubyforge -v2.0.4
-rubygems-update -v1.3.7
-sexp_processor -v3.0.4
-syntax -v1.0.0
-unicorn -v0.99.0
-whenever -v0.4.2
View
63 lib/postgres_extensions.rb
@@ -0,0 +1,63 @@
+module ActiveRecord
+ module ConnectionAdapters
+ module Quoting
+ # Convert dates and times to UTC so that the following two will be equivalent:
+ # Event.all(:conditions => ["start_time > ?", Time.zone.now])
+ # Event.all(:conditions => ["start_time > ?", Time.now])
+ def quoted_date(value)
+ value.respond_to?(:utc) ? value.utc.to_s(:db) : value.to_s(:db)
+ end
+ end
+
+
+ module SchemaStatements
+
+ # Adds timestamps (created_at and updated_at) WITH TIME ZONE columns to the named table.
+ # ===== Examples
+ # add_timestampstz(:suppliers)
+ def add_timestampstz(table_name)
+ add_column table_name, :created_at, :timestamptz
+ add_column table_name, :updated_at, :timestamptz
+ end
+
+ end
+
+ class Table
+ def timestampstz
+ @base.add_timestampstz(@table_name)
+ end
+ end
+
+ end
+end
+
+class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter < ActiveRecord::ConnectionAdapters::AbstractAdapter
+ def native_database_types
+ {
+ :primary_key => "serial primary key".freeze,
+ :string => { :name => "character varying", :limit => 255 },
+ :text => { :name => "text" },
+ :integer => { :name => "integer" },
+ :float => { :name => "float" },
+ :decimal => { :name => "decimal" },
+ :datetime => { :name => "timestamp with time zone" },
+ :timestamp => { :name => "timestamp with time zone" },
+ :timestamptz => { :name => "timestamp with time zone" },
+ :time => { :name => "time" },
+ :date => { :name => "date" },
+ :binary => { :name => "bytea" },
+ :boolean => { :name => "boolean" }
+ }
+ end
+
+ def quoted_date(value) #:nodoc:
+ if value.acts_like?(:time)
+ usec = sprintf(".%06d", value.usec) if value.respond_to?(:usec)
+ zone = " #{value.zone}" if value.respond_to?(:zone)
+ "#{super}#{usec}#{zone}"
+ else
+ super
+ end
+ end
+
+end
View
2,229 public/javascripts/cached/all.js
2,229 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
170 public/stylesheets/compiled/ie.css
@@ -1,89 +1,81 @@
-/* line 7, ../../../app/stylesheets/ie.sass */
-body.bp {
- text-align: center;
-}
-/* line 48, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-* html body.bp legend {
- margin: 0px -8px 16px 0;
- padding: 0;
-}
-/* line 52, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-html > body.bp p code {
- *white-space: normal;
-}
-/* line 67, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp .container {
- text-align: left;
-}
-/* line 69, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp sup {
- vertical-align: text-top;
-}
-/* line 71, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp sub {
- vertical-align: text-bottom;
-}
-/* line 73, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp hr {
- margin: -8px auto 11px;
-}
-/* line 75, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp img {
- -ms-interpolation-mode: bicubic;
-}
-/* line 77, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp fieldset {
- padding-top: 0;
-}
-/* line 79, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp textarea {
- overflow: auto;
-}
-/* line 82, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp input.text {
- margin: 0.5em 0;
- background-color: white;
- border: 1px solid #bbbbbb;
-}
-/* line 86, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp input.text:focus {
- border: 1px solid #666666;
-}
-/* line 88, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp input.title {
- margin: 0.5em 0;
- background-color: white;
- border: 1px solid #bbbbbb;
-}
-/* line 92, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp input.title:focus {
- border: 1px solid #666666;
-}
-/* line 94, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp input.checkbox {
- position: relative;
- top: 0.25em;
-}
-/* line 97, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp input.radio {
- position: relative;
- top: 0.25em;
-}
-/* line 100, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp input.button {
- position: relative;
- top: 0.25em;
-}
-/* line 103, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp textarea {
- margin: 0.5em 0;
-}
-/* line 105, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp select {
- margin: 0.5em 0;
-}
-/* line 107, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/_ie.scss */
-body.bp button {
- position: relative;
- top: 0.25em;
-}
+/*
+Syntax error: File to import not found or unreadable: blueprint.sass.
+ Load paths:
+ Compass::SpriteImporter
+ /Users/jlippiner/Projects/todopia/public/stylesheets/sass
+ /Users/jlippiner/Projects/todopia/app/stylesheets
+ /Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/compass-0.11.5/frameworks/blueprint/stylesheets
+ /Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/compass-0.11.5/frameworks/compass/stylesheets
+ on line 1 of /Users/jlippiner/Projects/todopia/app/stylesheets/ie.sass
+
+1: @import blueprint.sass
+2:
+3: // To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
+4: // +blueprint-ie
+5:
+6: //Recommended Blueprint configuration with scoping and semantic layout:
+
+Backtrace:
+/Users/jlippiner/Projects/todopia/app/stylesheets/ie.sass:1
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/import_node.rb:64:in `rescue in import'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/import_node.rb:42:in `import'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/import_node.rb:25:in `imported_file'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:148:in `rescue in visit_import'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:153:in `visit_import'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/base.rb:37:in `visit'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:18:in `visit'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/base.rb:53:in `map'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/base.rb:53:in `visit_children'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:27:in `block in visit_children'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:39:in `with_environment'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:26:in `visit_children'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/base.rb:37:in `block in visit'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:47:in `visit_root'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/base.rb:37:in `visit'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:18:in `visit'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/visitors/perform.rb:7:in `visit'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/tree/root_node.rb:20:in `render'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/engine.rb:291:in `_render'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/engine.rb:239:in `block in render'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/util.rb:297:in `silence_sass_warnings'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/engine.rb:239:in `render'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin/compiler.rb:319:in `update_stylesheet'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin/compiler.rb:181:in `block (2 levels) in update_stylesheets'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin/compiler.rb:175:in `each'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin/compiler.rb:175:in `block in update_stylesheets'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin/compiler.rb:173:in `each'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin/compiler.rb:173:in `update_stylesheets'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin.rb:81:in `update_stylesheets'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin.rb:54:in `check_for_updates'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/sass-3.1.4/lib/sass/plugin/rack.rb:51:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/actionpack-2.3.11/lib/action_controller/string_coercion.rb:25:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/head.rb:9:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/actionpack-2.3.11/lib/action_controller/params_parser.rb:15:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:99:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/rack.rb:27:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/actionpack-2.3.11/lib/action_controller/failsafe.rb:26:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/user_informer.rb:12:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/lock.rb:11:in `block in call'
+<internal:prelude>:10:in `synchronize'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:114:in `block in call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/actionpack-2.3.11/lib/action_controller/reloader.rb:34:in `run'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:108:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rails-2.3.11/lib/rails/rack/static.rb:31:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/urlmap.rb:47:in `block in call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `each'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rails-2.3.11/lib/rails/rack/debugger.rb:19:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:17:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/content_length.rb:13:in `call'
+/Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/rack-1.1.2/lib/rack/handler/webrick.rb:48:in `service'
+/Users/jlippiner/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
+/Users/jlippiner/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
+/Users/jlippiner/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
+*/
+body:before {
+ white-space: pre;
+ font-family: monospace;
+ content: "Syntax error: File to import not found or unreadable: blueprint.sass.\A Load paths:\A Compass::SpriteImporter\A /Users/jlippiner/Projects/todopia/public/stylesheets/sass\A /Users/jlippiner/Projects/todopia/app/stylesheets\A /Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/compass-0.11.5/frameworks/blueprint/stylesheets\A /Users/jlippiner/.rvm/gems/ruby-1.9.2-p180@todopia/gems/compass-0.11.5/frameworks/compass/stylesheets\A on line 1 of /Users/jlippiner/Projects/todopia/app/stylesheets/ie.sass\A \A 1: @import blueprint.sass\A 2: \A 3: // To generate css equivalent to the blueprint css but with your configuration applied, uncomment:\A 4: // +blueprint-ie\A 5: \A 6: //Recommended Blueprint configuration with scoping and semantic layout:"; }
View
396 public/stylesheets/compiled/print.css
@@ -1,315 +1,81 @@
-/* line 4, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-html, body {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
-}
-
-/* line 6, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-html {
- font-size: 100.01%;
-}
-
-/* line 16, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
-pre, a, abbr, acronym, address, code, del, dfn, em, img,
-dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
-}
-
-/* line 18, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-blockquote, q {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
- quotes: "" "";
-}
-/* line 45, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-blockquote:before, blockquote:after, q:before, q:after {
- content: "";
-}
-
-/* line 20, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-th, td, caption {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
- text-align: left;
- font-weight: normal;
- vertical-align: middle;
-}
-
-/* line 22, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-table {
- margin: 0;
- padding: 0;
- border: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
- border-collapse: separate;
- border-spacing: 0;
- vertical-align: middle;
-}
-
-/* line 24, ../../../../../.rvm/gems/ruby-1.9.1-p378@todo/gems/compass-0.10.1/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss */
-a img {
- border: none;
-}
-
-/* line 14, ../../../app/stylesheets/partials/_base.sass */
-.right {
- text-align: right;
-}
-
-/* line 17, ../../../app/stylesheets/partials/_base.sass */
-.left {
- text-align: left;
-}
-
-/* line 20, ../../../app/stylesheets/partials/_base.sass */
-.center {
- text-align: center;