Permalink
Browse files

Added accessibility and CSS styling.

  • Loading branch information...
1 parent 8769dcc commit ff1f229f633e521bd9c3973618bec948f79b639e @robertmilner committed Mar 26, 2012
@@ -40,13 +40,13 @@ $(document).ready(function($) {
}
});
-
- $(document.documentElement).keydown(function (event) {
- if (event.keyCode == 32) {
- $('.carousel').carousel('next');
- event.preventDefault();
- }
- });
+ // Spacebar Key
+ // $(document.documentElement).keypress(function (event) {
+ // if (event.keyCode == 32) {
+ // $('.carousel').carousel('next');
+ // event.preventDefault();
+ // }
+ // });
// Pages - Favorite Buttom
$('.btn-favorite').click(function(e) {
@@ -43,6 +43,13 @@ a {
cursor: pointer;
}
}
+::selection {
+ background: $green;
+}
+::-moz-selection {
+ background: $blue;
+}
+
.clearfix {
clear: both;
}
@@ -3,7 +3,7 @@
section {
- height: 100%;
+ // height: 100%;
#carousel-excuses {
height: 100%;
.carousel-previous-button, .carousel-forward-button {
@@ -1,7 +1,7 @@
class UsersController < ApplicationController
# filters
- before_filter :require_login
+ before_filter :require_login, :except => [:new, :create]
before_filter :current_user
# GET /users
View
@@ -81,7 +81,8 @@ def tag_names
def assign_tags
if @tag_names
- self.tags = @tag_names.split.map do |name|
+ self.tags = @tag_names.split(',').map do |name|
+ name = name.strip
Tag.find_or_create_by_name(name)
end
end
View
@@ -0,0 +1,9 @@
+desc "Oh, Excuses Code Academy Presentation Excuses"
+task :excuses => :environment do
+
+ puts "Start time: #{Time.now}"
+
+ # ...
+
+ puts "End time: #{Time.now}"
+end

0 comments on commit ff1f229

Please sign in to comment.