Skip to content

Commit

Permalink
added asset files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosuke Tanabe committed Jan 8, 2012
1 parent eb7e32d commit 0185da1
Show file tree
Hide file tree
Showing 490 changed files with 20,981 additions and 24,752 deletions.
2 changes: 1 addition & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--colour -fs
--colour
85 changes: 41 additions & 44 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
source 'http://rubygems.org'
source 'https://rubygems.org'

gem 'rails', '3.0.10'
gem 'rails', '3.2.0.rc2'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'enju_bookmark', :git => 'git://github.com/nabeta/enju_bookmark.git'
gem 'enju_oai', :git => 'git://github.com/nabeta/enju_oai.git'

platforms :ruby do
gem 'pg'
#gem 'mysql2', '~> 0.2.11'
#gem 'mysql2', '~> 0.3'
#gem 'sqlite3'
gem 'ruby-prof', :group => [:development, :test]
gem 'zipruby'
gem 'kgio'
Expand Down Expand Up @@ -35,45 +39,40 @@ gem 'fastercsv' if RUBY_VERSION < '1.9'
gem 'will_paginate', '~> 3.0'
gem 'exception_notification', '~> 2.5.2'
gem 'delayed_job', '>= 2.1.4'
gem 'state_machine'
gem 'sunspot_rails', '~> 1.3.0.rc4'
gem 'sunspot_solr', '~> 1.3.0.rc4'
gem 'state_machine', :git => 'git://github.com/pluginaweek/state_machine.git'
gem 'sunspot_rails', '~> 1.3'
gem 'sunspot_solr', '~> 1.3'
gem 'progress_bar'
gem "friendly_id", "~> 3.3"
gem "friendly_id", "~> 4.0"
gem 'inherited_resources', '~> 1.3'
gem 'has_scope'
gem 'nokogiri'
gem 'marc'
gem 'strongbox', '>= 0.4.8'
gem 'acts-as-taggable-on', '~> 2.1'
#gem 'strongbox', '>= 0.5.0'
gem 'dalli', '~> 1.1'
gem 'sitemap_generator', '~> 2.1'
gem 'sitemap_generator', '~> 2.2'
gem 'ri_cal'
gem 'file_wrapper'
gem 'paper_trail', '~> 2.3'
gem 'paper_trail', '~> 2.5'
gem 'recurrence'
gem 'prism'
gem 'money'
gem 'RedCloth', '>= 4.2.8'
gem 'RedCloth', '>= 4.2.9'
gem 'isbn-tools', :git => 'git://github.com/nabeta/isbn-tools.git', :require => 'isbn/tools'
gem 'attribute_normalizer'
gem 'configatron'
gem 'extractcontent'
gem 'cancan', '>= 1.6.5'
gem 'cancan', '>= 1.6.7'
gem 'scribd_fu'
gem 'devise', '~> 1.4'
gem 'omniauth', '>= 0.2.6'
gem 'devise', '~> 2.0.0.rc'
gem 'omniauth', '~> 1.0'
gem 'addressable'
gem 'paperclip', '~> 2.4'
gem 'whenever', '~> 0.6', :require => false
gem 'amazon-ecs', '>= 2.2.0', :require => 'amazon/ecs'
gem 'aws-s3', :require => 'aws/s3'
gem 'astrails-safe'
gem 'dynamic_form'
gem 'sanitize'
gem 'barby', '~> 0.5'
gem 'rqrcode'
gem 'event-calendar', :require => 'event_calendar'
gem 'jpmobile', '~> 1.0'
gem 'jpmobile', '2.0.4'
#gem 'geokit'
gem 'geocoder'
gem 'acts_as_list', :git => 'git://github.com/swanandp/acts_as_list.git'
Expand All @@ -91,41 +90,39 @@ group :development do
end

group :development, :test do
gem 'rspec-rails'
gem 'rspec-rails', '~> 2.8.1'
gem 'guard-rspec'
gem 'factory_girl_rails', '~> 1.2'
gem 'factory_girl_rails', '~> 1.4'
gem 'spork', '~> 0.9.0.rc9'
gem 'metric_fu', '~> 2.1'
gem 'timecop'
gem 'sunspot-rails-tester'
gem 'vcr', '~> 2.0.0.rc1'
gem 'fakeweb'
end

# Gems used only for assets and not required
# in production environments by default.
#group :assets do
# gem 'sass-rails', " ~> 3.1.0"
# gem 'coffee-rails', "~> 3.1.0"
# gem 'uglifier'
#end
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.0'

gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19'

# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'

# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
# group :development, :test do
# gem 'webrat'
# end
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added app/assets/images/icons/feed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
15 changes: 15 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//= require jquery
//= require jquery-ui
//= require jquery.colorbox
//= require jquery_ujs
//= require jquery.highlight-3
//= require jquery.hotkeys
//= require jquery.cookie
//= require fg.menu
//= require fg.menu.enju
//= require pagination
//= require select_locale
//= require portlets
//= require tab_view
//= require event_calendar
//= require rails.validations
3 changes: 3 additions & 0 deletions app/assets/javascripts/create_types.js.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
37 changes: 37 additions & 0 deletions app/assets/javascripts/event_calendar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Smart event highlighting
* Handles when events span rows, or don't have a background color
*/
jQuery(document).ready(function($) {
var highlight_color = "#2EAC6A";

// highlight events that have a background color
$(".ec-event-bg").live("mouseover", function() {
event_id = $(this).attr("data-event-id");
event_class_name = $(this).attr("data-event-class");
$(".ec-"+event_class_name+"-"+event_id).css("background-color", highlight_color);
});
$(".ec-event-bg").live("mouseout", function() {
event_id = $(this).attr("data-event-id");
event_class_name = $(this).attr("data-event-class");
event_color = $(this).attr("data-color");
$(".ec-"+event_class_name+"-"+event_id).css("background-color", event_color);
});

// highlight events that don't have a background color
$(".ec-event-no-bg").live("mouseover", function() {
ele = $(this);
ele.css("color", "white");
ele.find("a").css("color", "white");
ele.find(".ec-bullet").css("background-color", "white");
ele.css("background-color", highlight_color);
});
$(".ec-event-no-bg").live("mouseout", function() {
ele = $(this);
event_color = $(this).attr("data-color");
ele.css("color", event_color);
ele.find("a").css("color", event_color);
ele.find(".ec-bullet").css("background-color", event_color);
ele.css("background-color", "transparent");
});
});
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 0185da1

Please sign in to comment.