muck-activities 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/controllers/muck/activities_controller.rb +7 -36
- data/app/views/activities/_activity_feed.html.erb +0 -1
- data/app/views/activities/_status_update.html.erb +5 -5
- data/app/views/activities/create.js.erb +12 -0
- data/app/views/activities/destroy.js.erb +6 -0
- data/app/views/activities/permission_denied.js.erb +1 -0
- data/muck-activities.gemspec +375 -4
- data/public/javascripts/muck_activities.js +1 -1
- data/test/rails_root/app/controllers/application_controller.rb +15 -0
- data/test/rails_root/app/views/layouts/global/_head.html.erb +23 -0
- data/test/rails_root/app/views/users/show.html.erb +36 -0
- data/test/rails_root/config/environment.rb +3 -1
- data/test/rails_root/config/global_config.yml +3 -0
- data/test/rails_root/config/routes.rb +0 -4
- data/test/rails_root/db/migrate/20100123035450_create_access_codes.rb +19 -0
- data/test/rails_root/db/migrate/20100123233654_create_access_code_requests.rb +14 -0
- data/test/rails_root/lib/tasks/muck.rake +1 -1
- data/test/rails_root/public/images/admin/Home.gif +0 -0
- data/test/rails_root/public/images/admin/roles.gif +0 -0
- data/test/rails_root/public/images/admin/source/Home.png +0 -0
- data/test/rails_root/public/images/admin/source/User.png +0 -0
- data/test/rails_root/public/images/admin/source/roles.png +0 -0
- data/test/rails_root/public/images/admin/user.gif +0 -0
- data/test/rails_root/public/images/service_icons/16/amazon.png +0 -0
- data/test/rails_root/public/images/service_icons/16/ask.png +0 -0
- data/test/rails_root/public/images/service_icons/16/bibsonomy.png +0 -0
- data/test/rails_root/public/images/service_icons/16/bing.png +0 -0
- data/test/rails_root/public/images/service_icons/16/blogger.png +0 -0
- data/test/rails_root/public/images/service_icons/16/bloglines.png +0 -0
- data/test/rails_root/public/images/service_icons/16/citeulike.png +0 -0
- data/test/rails_root/public/images/service_icons/16/clipmarks.png +0 -0
- data/test/rails_root/public/images/service_icons/16/connotea.png +0 -0
- data/test/rails_root/public/images/service_icons/16/dailymotion.png +0 -0
- data/test/rails_root/public/images/service_icons/16/delicious.png +0 -0
- data/test/rails_root/public/images/service_icons/16/digg.png +0 -0
- data/test/rails_root/public/images/service_icons/16/diigo.png +0 -0
- data/test/rails_root/public/images/service_icons/16/facebook.png +0 -0
- data/test/rails_root/public/images/service_icons/16/feed.png +0 -0
- data/test/rails_root/public/images/service_icons/16/fireeagle.png +0 -0
- data/test/rails_root/public/images/service_icons/16/flickr.png +0 -0
- data/test/rails_root/public/images/service_icons/16/fotolog.png +0 -0
- data/test/rails_root/public/images/service_icons/16/friendfeed.png +0 -0
- data/test/rails_root/public/images/service_icons/16/friendster.png +0 -0
- data/test/rails_root/public/images/service_icons/16/furl.png +0 -0
- data/test/rails_root/public/images/service_icons/16/goodreads.png +0 -0
- data/test/rails_root/public/images/service_icons/16/google.png +0 -0
- data/test/rails_root/public/images/service_icons/16/googleblog.png +0 -0
- data/test/rails_root/public/images/service_icons/16/googlenews.png +0 -0
- data/test/rails_root/public/images/service_icons/16/icerocket.png +0 -0
- data/test/rails_root/public/images/service_icons/16/identica.png +0 -0
- data/test/rails_root/public/images/service_icons/16/joost.png +0 -0
- data/test/rails_root/public/images/service_icons/16/lastfm.png +0 -0
- data/test/rails_root/public/images/service_icons/16/librarything.png +0 -0
- data/test/rails_root/public/images/service_icons/16/linkedin.png +0 -0
- data/test/rails_root/public/images/service_icons/16/livejournal.png +0 -0
- data/test/rails_root/public/images/service_icons/16/magnolia.png +0 -0
- data/test/rails_root/public/images/service_icons/16/mendeley.png +0 -0
- data/test/rails_root/public/images/service_icons/16/metacafe.png +0 -0
- data/test/rails_root/public/images/service_icons/16/mixx.png +0 -0
- data/test/rails_root/public/images/service_icons/16/myspace.png +0 -0
- data/test/rails_root/public/images/service_icons/16/netflix.png +0 -0
- data/test/rails_root/public/images/service_icons/16/netvibes.png +0 -0
- data/test/rails_root/public/images/service_icons/16/newsvine.png +0 -0
- data/test/rails_root/public/images/service_icons/16/oai.png +0 -0
- data/test/rails_root/public/images/service_icons/16/odeo.png +0 -0
- data/test/rails_root/public/images/service_icons/16/opml.png +0 -0
- data/test/rails_root/public/images/service_icons/16/pandora.png +0 -0
- data/test/rails_root/public/images/service_icons/16/photobucket.png +0 -0
- data/test/rails_root/public/images/service_icons/16/picasa.png +0 -0
- data/test/rails_root/public/images/service_icons/16/polyvore.png +0 -0
- data/test/rails_root/public/images/service_icons/16/pownce.png +0 -0
- data/test/rails_root/public/images/service_icons/16/reddit.png +0 -0
- data/test/rails_root/public/images/service_icons/16/simpy.png +0 -0
- data/test/rails_root/public/images/service_icons/16/smugmug.png +0 -0
- data/test/rails_root/public/images/service_icons/16/stumbleupon.png +0 -0
- data/test/rails_root/public/images/service_icons/16/tag.png +0 -0
- data/test/rails_root/public/images/service_icons/16/technorati.png +0 -0
- data/test/rails_root/public/images/service_icons/16/tumblr.png +0 -0
- data/test/rails_root/public/images/service_icons/16/twine.png +0 -0
- data/test/rails_root/public/images/service_icons/16/twitter.png +0 -0
- data/test/rails_root/public/images/service_icons/16/vimeo.png +0 -0
- data/test/rails_root/public/images/service_icons/16/webshots.png +0 -0
- data/test/rails_root/public/images/service_icons/16/wordpress.png +0 -0
- data/test/rails_root/public/images/service_icons/16/xanga.png +0 -0
- data/test/rails_root/public/images/service_icons/16/yahoo.png +0 -0
- data/test/rails_root/public/images/service_icons/16/yelp.png +0 -0
- data/test/rails_root/public/images/service_icons/16/youtube.png +0 -0
- data/test/rails_root/public/images/service_icons/16/zooomr.png +0 -0
- data/test/rails_root/public/images/service_icons/16/zotero.png +0 -0
- data/test/rails_root/public/images/service_icons/24/amazon.png +0 -0
- data/test/rails_root/public/images/service_icons/24/ask.png +0 -0
- data/test/rails_root/public/images/service_icons/24/bibsonomy.png +0 -0
- data/test/rails_root/public/images/service_icons/24/bing.png +0 -0
- data/test/rails_root/public/images/service_icons/24/blogger.png +0 -0
- data/test/rails_root/public/images/service_icons/24/bloglines.png +0 -0
- data/test/rails_root/public/images/service_icons/24/citeulike.png +0 -0
- data/test/rails_root/public/images/service_icons/24/clipmarks.png +0 -0
- data/test/rails_root/public/images/service_icons/24/connotea.png +0 -0
- data/test/rails_root/public/images/service_icons/24/dailymotion.png +0 -0
- data/test/rails_root/public/images/service_icons/24/delicious.png +0 -0
- data/test/rails_root/public/images/service_icons/24/digg.png +0 -0
- data/test/rails_root/public/images/service_icons/24/diigo.png +0 -0
- data/test/rails_root/public/images/service_icons/24/facebook.png +0 -0
- data/test/rails_root/public/images/service_icons/24/feed.png +0 -0
- data/test/rails_root/public/images/service_icons/24/fireeagle.png +0 -0
- data/test/rails_root/public/images/service_icons/24/flickr.png +0 -0
- data/test/rails_root/public/images/service_icons/24/fotolog.png +0 -0
- data/test/rails_root/public/images/service_icons/24/friendfeed.png +0 -0
- data/test/rails_root/public/images/service_icons/24/friendster.png +0 -0
- data/test/rails_root/public/images/service_icons/24/furl.png +0 -0
- data/test/rails_root/public/images/service_icons/24/goodreads.png +0 -0
- data/test/rails_root/public/images/service_icons/24/google.png +0 -0
- data/test/rails_root/public/images/service_icons/24/googleblog.png +0 -0
- data/test/rails_root/public/images/service_icons/24/googlenews.png +0 -0
- data/test/rails_root/public/images/service_icons/24/icerocket.png +0 -0
- data/test/rails_root/public/images/service_icons/24/identica.png +0 -0
- data/test/rails_root/public/images/service_icons/24/joost.png +0 -0
- data/test/rails_root/public/images/service_icons/24/lastfm.png +0 -0
- data/test/rails_root/public/images/service_icons/24/librarything.png +0 -0
- data/test/rails_root/public/images/service_icons/24/linkedin.png +0 -0
- data/test/rails_root/public/images/service_icons/24/livejournal.png +0 -0
- data/test/rails_root/public/images/service_icons/24/magnolia.png +0 -0
- data/test/rails_root/public/images/service_icons/24/mendeley.png +0 -0
- data/test/rails_root/public/images/service_icons/24/metacafe.png +0 -0
- data/test/rails_root/public/images/service_icons/24/mixx.png +0 -0
- data/test/rails_root/public/images/service_icons/24/myspace.png +0 -0
- data/test/rails_root/public/images/service_icons/24/netflix.png +0 -0
- data/test/rails_root/public/images/service_icons/24/netvibes.png +0 -0
- data/test/rails_root/public/images/service_icons/24/newsvine.png +0 -0
- data/test/rails_root/public/images/service_icons/24/oai.png +0 -0
- data/test/rails_root/public/images/service_icons/24/odeo.png +0 -0
- data/test/rails_root/public/images/service_icons/24/opml.png +0 -0
- data/test/rails_root/public/images/service_icons/24/pandora.png +0 -0
- data/test/rails_root/public/images/service_icons/24/photobucket.png +0 -0
- data/test/rails_root/public/images/service_icons/24/picasa.png +0 -0
- data/test/rails_root/public/images/service_icons/24/polyvore.png +0 -0
- data/test/rails_root/public/images/service_icons/24/pownce.png +0 -0
- data/test/rails_root/public/images/service_icons/24/reddit.png +0 -0
- data/test/rails_root/public/images/service_icons/24/simpy.png +0 -0
- data/test/rails_root/public/images/service_icons/24/smugmug.png +0 -0
- data/test/rails_root/public/images/service_icons/24/stumbleupon.png +0 -0
- data/test/rails_root/public/images/service_icons/24/tag.png +0 -0
- data/test/rails_root/public/images/service_icons/24/technorati.png +0 -0
- data/test/rails_root/public/images/service_icons/24/tumblr.png +0 -0
- data/test/rails_root/public/images/service_icons/24/twine.png +0 -0
- data/test/rails_root/public/images/service_icons/24/twitter.png +0 -0
- data/test/rails_root/public/images/service_icons/24/vimeo.png +0 -0
- data/test/rails_root/public/images/service_icons/24/webshots.png +0 -0
- data/test/rails_root/public/images/service_icons/24/wordpress.png +0 -0
- data/test/rails_root/public/images/service_icons/24/xanga.png +0 -0
- data/test/rails_root/public/images/service_icons/24/yahoo.png +0 -0
- data/test/rails_root/public/images/service_icons/24/yelp.png +0 -0
- data/test/rails_root/public/images/service_icons/24/youtube.png +0 -0
- data/test/rails_root/public/images/service_icons/24/zooomr.png +0 -0
- data/test/rails_root/public/images/service_icons/24/zotero.png +0 -0
- data/test/rails_root/public/images/service_icons/48/amazon.png +0 -0
- data/test/rails_root/public/images/service_icons/48/ask.png +0 -0
- data/test/rails_root/public/images/service_icons/48/bibsonomy.png +0 -0
- data/test/rails_root/public/images/service_icons/48/bing.png +0 -0
- data/test/rails_root/public/images/service_icons/48/blogger.png +0 -0
- data/test/rails_root/public/images/service_icons/48/bloglines.png +0 -0
- data/test/rails_root/public/images/service_icons/48/citeulike.png +0 -0
- data/test/rails_root/public/images/service_icons/48/clipmarks.png +0 -0
- data/test/rails_root/public/images/service_icons/48/connotea.png +0 -0
- data/test/rails_root/public/images/service_icons/48/dailymotion.png +0 -0
- data/test/rails_root/public/images/service_icons/48/delicious.png +0 -0
- data/test/rails_root/public/images/service_icons/48/digg.png +0 -0
- data/test/rails_root/public/images/service_icons/48/diigo.png +0 -0
- data/test/rails_root/public/images/service_icons/48/facebook.png +0 -0
- data/test/rails_root/public/images/service_icons/48/feed.png +0 -0
- data/test/rails_root/public/images/service_icons/48/fireeagle.png +0 -0
- data/test/rails_root/public/images/service_icons/48/flickr.png +0 -0
- data/test/rails_root/public/images/service_icons/48/fotolog.png +0 -0
- data/test/rails_root/public/images/service_icons/48/friendfeed.png +0 -0
- data/test/rails_root/public/images/service_icons/48/friendster.png +0 -0
- data/test/rails_root/public/images/service_icons/48/furl.png +0 -0
- data/test/rails_root/public/images/service_icons/48/goodreads.png +0 -0
- data/test/rails_root/public/images/service_icons/48/google.png +0 -0
- data/test/rails_root/public/images/service_icons/48/googleblog.png +0 -0
- data/test/rails_root/public/images/service_icons/48/googlenews.png +0 -0
- data/test/rails_root/public/images/service_icons/48/icerocket.png +0 -0
- data/test/rails_root/public/images/service_icons/48/identica.png +0 -0
- data/test/rails_root/public/images/service_icons/48/joost.png +0 -0
- data/test/rails_root/public/images/service_icons/48/lastfm.png +0 -0
- data/test/rails_root/public/images/service_icons/48/librarything.png +0 -0
- data/test/rails_root/public/images/service_icons/48/linkedin.png +0 -0
- data/test/rails_root/public/images/service_icons/48/livejournal.png +0 -0
- data/test/rails_root/public/images/service_icons/48/magnolia.png +0 -0
- data/test/rails_root/public/images/service_icons/48/mendeley.png +0 -0
- data/test/rails_root/public/images/service_icons/48/metacafe.png +0 -0
- data/test/rails_root/public/images/service_icons/48/mixx.png +0 -0
- data/test/rails_root/public/images/service_icons/48/myspace.png +0 -0
- data/test/rails_root/public/images/service_icons/48/netflix.png +0 -0
- data/test/rails_root/public/images/service_icons/48/netvibes.png +0 -0
- data/test/rails_root/public/images/service_icons/48/newsvine.png +0 -0
- data/test/rails_root/public/images/service_icons/48/oai.png +0 -0
- data/test/rails_root/public/images/service_icons/48/odeo.png +0 -0
- data/test/rails_root/public/images/service_icons/48/opml.png +0 -0
- data/test/rails_root/public/images/service_icons/48/pandora.png +0 -0
- data/test/rails_root/public/images/service_icons/48/photobucket.png +0 -0
- data/test/rails_root/public/images/service_icons/48/picasa.png +0 -0
- data/test/rails_root/public/images/service_icons/48/polyvore.png +0 -0
- data/test/rails_root/public/images/service_icons/48/pownce.png +0 -0
- data/test/rails_root/public/images/service_icons/48/reddit.png +0 -0
- data/test/rails_root/public/images/service_icons/48/simpy.png +0 -0
- data/test/rails_root/public/images/service_icons/48/smugmug.png +0 -0
- data/test/rails_root/public/images/service_icons/48/stumbleupon.png +0 -0
- data/test/rails_root/public/images/service_icons/48/tag.png +0 -0
- data/test/rails_root/public/images/service_icons/48/technorati.png +0 -0
- data/test/rails_root/public/images/service_icons/48/tumblr.png +0 -0
- data/test/rails_root/public/images/service_icons/48/twine.png +0 -0
- data/test/rails_root/public/images/service_icons/48/twitter.png +0 -0
- data/test/rails_root/public/images/service_icons/48/vimeo.png +0 -0
- data/test/rails_root/public/images/service_icons/48/webshots.png +0 -0
- data/test/rails_root/public/images/service_icons/48/wordpress.png +0 -0
- data/test/rails_root/public/images/service_icons/48/xanga.png +0 -0
- data/test/rails_root/public/images/service_icons/48/yahoo.png +0 -0
- data/test/rails_root/public/images/service_icons/48/yelp.png +0 -0
- data/test/rails_root/public/images/service_icons/48/youtube.png +0 -0
- data/test/rails_root/public/images/service_icons/48/zooomr.png +0 -0
- data/test/rails_root/public/images/service_icons/48/zotero.png +0 -0
- data/test/rails_root/public/images/service_icons/60/amazon.png +0 -0
- data/test/rails_root/public/images/service_icons/60/ask.png +0 -0
- data/test/rails_root/public/images/service_icons/60/bibsonomy.png +0 -0
- data/test/rails_root/public/images/service_icons/60/bing.png +0 -0
- data/test/rails_root/public/images/service_icons/60/blogger.png +0 -0
- data/test/rails_root/public/images/service_icons/60/bloglines.png +0 -0
- data/test/rails_root/public/images/service_icons/60/citeulike.png +0 -0
- data/test/rails_root/public/images/service_icons/60/clipmarks.png +0 -0
- data/test/rails_root/public/images/service_icons/60/connotea.png +0 -0
- data/test/rails_root/public/images/service_icons/60/dailymotion.png +0 -0
- data/test/rails_root/public/images/service_icons/60/delicious.png +0 -0
- data/test/rails_root/public/images/service_icons/60/digg.png +0 -0
- data/test/rails_root/public/images/service_icons/60/diigo.png +0 -0
- data/test/rails_root/public/images/service_icons/60/facebook.png +0 -0
- data/test/rails_root/public/images/service_icons/60/feed.png +0 -0
- data/test/rails_root/public/images/service_icons/60/fireeagle.png +0 -0
- data/test/rails_root/public/images/service_icons/60/flickr.png +0 -0
- data/test/rails_root/public/images/service_icons/60/fotolog.png +0 -0
- data/test/rails_root/public/images/service_icons/60/friendfeed.png +0 -0
- data/test/rails_root/public/images/service_icons/60/friendster.png +0 -0
- data/test/rails_root/public/images/service_icons/60/furl.png +0 -0
- data/test/rails_root/public/images/service_icons/60/goodreads.png +0 -0
- data/test/rails_root/public/images/service_icons/60/google.png +0 -0
- data/test/rails_root/public/images/service_icons/60/googleblog.png +0 -0
- data/test/rails_root/public/images/service_icons/60/googlenews.png +0 -0
- data/test/rails_root/public/images/service_icons/60/icerocket.png +0 -0
- data/test/rails_root/public/images/service_icons/60/identica.png +0 -0
- data/test/rails_root/public/images/service_icons/60/joost.png +0 -0
- data/test/rails_root/public/images/service_icons/60/lastfm.png +0 -0
- data/test/rails_root/public/images/service_icons/60/librarything.png +0 -0
- data/test/rails_root/public/images/service_icons/60/linkedin.png +0 -0
- data/test/rails_root/public/images/service_icons/60/livejournal.png +0 -0
- data/test/rails_root/public/images/service_icons/60/magnolia.png +0 -0
- data/test/rails_root/public/images/service_icons/60/mendeley.png +0 -0
- data/test/rails_root/public/images/service_icons/60/metacafe.png +0 -0
- data/test/rails_root/public/images/service_icons/60/mixx.png +0 -0
- data/test/rails_root/public/images/service_icons/60/myspace.png +0 -0
- data/test/rails_root/public/images/service_icons/60/netflix.png +0 -0
- data/test/rails_root/public/images/service_icons/60/netvibes.png +0 -0
- data/test/rails_root/public/images/service_icons/60/newsvine.png +0 -0
- data/test/rails_root/public/images/service_icons/60/oai.png +0 -0
- data/test/rails_root/public/images/service_icons/60/odeo.png +0 -0
- data/test/rails_root/public/images/service_icons/60/opml.png +0 -0
- data/test/rails_root/public/images/service_icons/60/pandora.png +0 -0
- data/test/rails_root/public/images/service_icons/60/photobucket.png +0 -0
- data/test/rails_root/public/images/service_icons/60/picasa.png +0 -0
- data/test/rails_root/public/images/service_icons/60/polyvore.png +0 -0
- data/test/rails_root/public/images/service_icons/60/pownce.png +0 -0
- data/test/rails_root/public/images/service_icons/60/reddit.png +0 -0
- data/test/rails_root/public/images/service_icons/60/simpy.png +0 -0
- data/test/rails_root/public/images/service_icons/60/smugmug.png +0 -0
- data/test/rails_root/public/images/service_icons/60/stumbleupon.png +0 -0
- data/test/rails_root/public/images/service_icons/60/tag.png +0 -0
- data/test/rails_root/public/images/service_icons/60/technorati.png +0 -0
- data/test/rails_root/public/images/service_icons/60/tumblr.png +0 -0
- data/test/rails_root/public/images/service_icons/60/twine.png +0 -0
- data/test/rails_root/public/images/service_icons/60/twitter.png +0 -0
- data/test/rails_root/public/images/service_icons/60/vimeo.png +0 -0
- data/test/rails_root/public/images/service_icons/60/webshots.png +0 -0
- data/test/rails_root/public/images/service_icons/60/wordpress.png +0 -0
- data/test/rails_root/public/images/service_icons/60/xanga.png +0 -0
- data/test/rails_root/public/images/service_icons/60/yahoo.png +0 -0
- data/test/rails_root/public/images/service_icons/60/yelp.png +0 -0
- data/test/rails_root/public/images/service_icons/60/youtube.png +0 -0
- data/test/rails_root/public/images/service_icons/60/zooomr.png +0 -0
- data/test/rails_root/public/images/service_icons/60/zotero.png +0 -0
- data/test/rails_root/public/images/service_icons/facebook_friend_links.jpg +0 -0
- data/test/rails_root/public/images/service_icons/facebook_my_links.jpg +0 -0
- data/test/rails_root/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/Google.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/Quake 9 Design.webloc +0 -0
- data/test/rails_root/public/images/service_icons/source/ReadMe.rtf +52 -0
- data/test/rails_root/public/images/service_icons/source/amazon.png +0 -0
- data/test/rails_root/public/images/service_icons/source/aquaticus.social.png +0 -0
- data/test/rails_root/public/images/service_icons/source/ask.png +0 -0
- data/test/rails_root/public/images/service_icons/source/ask.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/bibsonomy.png +0 -0
- data/test/rails_root/public/images/service_icons/source/bibsonomy.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/bing.png +0 -0
- data/test/rails_root/public/images/service_icons/source/bing.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/blogger.png +0 -0
- data/test/rails_root/public/images/service_icons/source/bloglines.png +0 -0
- data/test/rails_root/public/images/service_icons/source/bloglines.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/citeulike.png +0 -0
- data/test/rails_root/public/images/service_icons/source/clipmarks.png +0 -0
- data/test/rails_root/public/images/service_icons/source/connotea.png +0 -0
- data/test/rails_root/public/images/service_icons/source/connotea.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/dailymotion.png +0 -0
- data/test/rails_root/public/images/service_icons/source/delicious.png +0 -0
- data/test/rails_root/public/images/service_icons/source/digg.png +0 -0
- data/test/rails_root/public/images/service_icons/source/diigo.png +0 -0
- data/test/rails_root/public/images/service_icons/source/facebook.png +0 -0
- data/test/rails_root/public/images/service_icons/source/feed.png +0 -0
- data/test/rails_root/public/images/service_icons/source/fireeagle.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/flickr.png +0 -0
- data/test/rails_root/public/images/service_icons/source/fotolog.png +0 -0
- data/test/rails_root/public/images/service_icons/source/friendfeed.png +0 -0
- data/test/rails_root/public/images/service_icons/source/friendster.png +0 -0
- data/test/rails_root/public/images/service_icons/source/furl.png +0 -0
- data/test/rails_root/public/images/service_icons/source/goodreads.png +0 -0
- data/test/rails_root/public/images/service_icons/source/google.png +0 -0
- data/test/rails_root/public/images/service_icons/source/googleblog.png +0 -0
- data/test/rails_root/public/images/service_icons/source/googlenews.png +0 -0
- data/test/rails_root/public/images/service_icons/source/icerocket.png +0 -0
- data/test/rails_root/public/images/service_icons/source/icerocket.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/identica.png +0 -0
- data/test/rails_root/public/images/service_icons/source/joost.png +0 -0
- data/test/rails_root/public/images/service_icons/source/lastfm.png +0 -0
- data/test/rails_root/public/images/service_icons/source/librarything.png +0 -0
- data/test/rails_root/public/images/service_icons/source/linkedin.png +0 -0
- data/test/rails_root/public/images/service_icons/source/livejournal.png +0 -0
- data/test/rails_root/public/images/service_icons/source/magnolia.png +0 -0
- data/test/rails_root/public/images/service_icons/source/mendeley.png +0 -0
- data/test/rails_root/public/images/service_icons/source/metacafe.png +0 -0
- data/test/rails_root/public/images/service_icons/source/metacafe.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/mixx.png +0 -0
- data/test/rails_root/public/images/service_icons/source/myspace.png +0 -0
- data/test/rails_root/public/images/service_icons/source/netflix.png +0 -0
- data/test/rails_root/public/images/service_icons/source/netvibes.png +0 -0
- data/test/rails_root/public/images/service_icons/source/newsvine.png +0 -0
- data/test/rails_root/public/images/service_icons/source/oai.png +0 -0
- data/test/rails_root/public/images/service_icons/source/odeo.png +0 -0
- data/test/rails_root/public/images/service_icons/source/opml.png +0 -0
- data/test/rails_root/public/images/service_icons/source/pandora.png +0 -0
- data/test/rails_root/public/images/service_icons/source/photobucket.png +0 -0
- data/test/rails_root/public/images/service_icons/source/picasa.png +0 -0
- data/test/rails_root/public/images/service_icons/source/polyvore.png +0 -0
- data/test/rails_root/public/images/service_icons/source/pownce.png +0 -0
- data/test/rails_root/public/images/service_icons/source/reddit.png +0 -0
- data/test/rails_root/public/images/service_icons/source/simpy.png +0 -0
- data/test/rails_root/public/images/service_icons/source/smugmug.png +0 -0
- data/test/rails_root/public/images/service_icons/source/stumbleupon.png +0 -0
- data/test/rails_root/public/images/service_icons/source/tag.png +0 -0
- data/test/rails_root/public/images/service_icons/source/technorati.png +0 -0
- data/test/rails_root/public/images/service_icons/source/template.png +0 -0
- data/test/rails_root/public/images/service_icons/source/tumblr.png +0 -0
- data/test/rails_root/public/images/service_icons/source/twine.png +0 -0
- data/test/rails_root/public/images/service_icons/source/twine.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/twitter.png +0 -0
- data/test/rails_root/public/images/service_icons/source/vimeo.png +0 -0
- data/test/rails_root/public/images/service_icons/source/webshots.png +0 -0
- data/test/rails_root/public/images/service_icons/source/wordpress.png +0 -0
- data/test/rails_root/public/images/service_icons/source/xanga.png +0 -0
- data/test/rails_root/public/images/service_icons/source/yahoo.png +0 -0
- data/test/rails_root/public/images/service_icons/source/yelp.png +0 -0
- data/test/rails_root/public/images/service_icons/source/youtube.png +0 -0
- data/test/rails_root/public/images/service_icons/source/zooomr.png +0 -0
- data/test/rails_root/public/images/service_icons/source/zotero.png +0 -0
- data/test/rails_root/public/javascripts/jquery/jquery.form.js +495 -472
- data/test/rails_root/public/javascripts/jquery/jquery.jgrowl.js +9 -2
- data/test/rails_root/public/javascripts/jquery/jquery.tips.js +7 -2
- data/test/rails_root/public/javascripts/muck-countries.js +50 -0
- data/test/rails_root/public/javascripts/muck-users.js +18 -0
- data/test/rails_root/public/javascripts/muck.js +61 -97
- data/test/rails_root/public/javascripts/muck_activities.js +1 -1
- data/test/rails_root/public/stylesheets/admin.css +36 -8
- data/test/rails_root/public/stylesheets/jquery/cupertino/jquery-ui-1.7.2.custom.css +160 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/jquery-ui-1.7.2.custom.css +160 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/jquery-ui-1.7.2.custom.css +160 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.2.custom.css +160 -0
- data/test/rails_root/public/stylesheets/styles.css +14 -9
- data/test/rails_root/vendor/plugins/geokit-rails/init.rb +1 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/README +43 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +62 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +132 -0
- metadata +374 -3
- data/test/rails_root/app/views/layouts/default.html.erb +0 -26
@@ -1,2 +1,9 @@
|
|
1
|
-
(function($){$.jGrowl=function(m,o){if($('#jGrowl').size()==0)
|
2
|
-
|
1
|
+
(function($){$.jGrowl=function(m,o){if($('#jGrowl').size()==0)
|
2
|
+
$('<div id="jGrowl"></div>').addClass($.jGrowl.defaults.position).appendTo('body');$('#jGrowl').jGrowl(m,o);};$.fn.jGrowl=function(m,o){if($.isFunction(this.each)){var args=arguments;return this.each(function(){var self=this;if($(this).data('jGrowl.instance')==undefined){$(this).data('jGrowl.instance',$.extend(new $.fn.jGrowl(),{notifications:[],element:null,interval:null}));$(this).data('jGrowl.instance').startup(this);}
|
3
|
+
if($.isFunction($(this).data('jGrowl.instance')[m])){$(this).data('jGrowl.instance')[m].apply($(this).data('jGrowl.instance'),$.makeArray(args).slice(1));}else{$(this).data('jGrowl.instance').create(m,o);}});};};$.extend($.fn.jGrowl.prototype,{defaults:{pool:0,header:'',group:'',sticky:false,position:'top-right',glue:'after',theme:'default',corners:'10px',check:250,life:3000,speed:'normal',easing:'swing',closer:true,closeTemplate:'×',closerTemplate:'<div>[ close all ]</div>',log:function(e,m,o){},beforeOpen:function(e,m,o){},open:function(e,m,o){},beforeClose:function(e,m,o){},close:function(e,m,o){},animateOpen:{opacity:'show'},animateClose:{opacity:'hide'}},notifications:[],element:null,interval:null,create:function(message,o){var o=$.extend({},this.defaults,o);this.notifications.push({message:message,options:o});o.log.apply(this.element,[this.element,message,o]);},render:function(notification){var self=this;var message=notification.message;var o=notification.options;var notification=$('<div class="jGrowl-notification ui-state-highlight ui-corner-all'+
|
4
|
+
((o.group!=undefined&&o.group!='')?' '+o.group:'')+'">'+'<div class="close">'+o.closeTemplate+'</div>'+'<div class="header">'+o.header+'</div>'+'<div class="message">'+message+'</div></div>').data("jGrowl",o).addClass(o.theme).children('div.close').bind("click.jGrowl",function(){$(this).parent().trigger('jGrowl.close');}).parent();$(notification).bind("mouseover.jGrowl",function(){$('div.jGrowl-notification',self.element).data("jGrowl.pause",true);}).bind("mouseout.jGrowl",function(){$('div.jGrowl-notification',self.element).data("jGrowl.pause",false);}).bind('jGrowl.beforeOpen',function(){if(o.beforeOpen.apply(notification,[notification,message,o,self.element])!=false){$(this).trigger('jGrowl.open');}}).bind('jGrowl.open',function(){if(o.open.apply(notification,[notification,message,o,self.element])!=false){if(o.glue=='after'){$('div.jGrowl-notification:last',self.element).after(notification);}else{$('div.jGrowl-notification:first',self.element).before(notification);}
|
5
|
+
$(this).animate(o.animateOpen,o.speed,o.easing,function(){if($.browser.msie&&(parseInt($(this).css('opacity'),10)===1||parseInt($(this).css('opacity'),10)===0))
|
6
|
+
this.style.removeAttribute('filter');$(this).data("jGrowl").created=new Date();});}}).bind('jGrowl.beforeClose',function(){if(o.beforeClose.apply(notification,[notification,message,o,self.element])!=false)
|
7
|
+
$(this).trigger('jGrowl.close');}).bind('jGrowl.close',function(){$(this).data('jGrowl.pause',true);$(this).animate(o.animateClose,o.speed,o.easing,function(){$(this).remove();var close=o.close.apply(notification,[notification,message,o,self.element]);if($.isFunction(close))
|
8
|
+
close.apply(notification,[notification,message,o,self.element]);});}).trigger('jGrowl.beforeOpen');if($.fn.corner!=undefined)$(notification).corner(o.corners);if($('div.jGrowl-notification:parent',self.element).size()>1&&$('div.jGrowl-closer',self.element).size()==0&&this.defaults.closer!=false){$(this.defaults.closerTemplate).addClass('jGrowl-closer ui-state-highlight ui-corner-all').addClass(this.defaults.theme).appendTo(self.element).animate(this.defaults.animateOpen,this.defaults.speed,this.defaults.easing).bind("click.jGrowl",function(){$(this).siblings().children('div.close').trigger("click.jGrowl");if($.isFunction(self.defaults.closer)){self.defaults.closer.apply($(this).parent()[0],[$(this).parent()[0]]);}});};},update:function(){$(this.element).find('div.jGrowl-notification:parent').each(function(){if($(this).data("jGrowl")!=undefined&&$(this).data("jGrowl").created!=undefined&&($(this).data("jGrowl").created.getTime()+$(this).data("jGrowl").life)<(new Date()).getTime()&&$(this).data("jGrowl").sticky!=true&&($(this).data("jGrowl.pause")==undefined||$(this).data("jGrowl.pause")!=true)){$(this).trigger('jGrowl.beforeClose');}});if(this.notifications.length>0&&(this.defaults.pool==0||$(this.element).find('div.jGrowl-notification:parent').size()<this.defaults.pool))
|
9
|
+
this.render(this.notifications.shift());if($(this.element).find('div.jGrowl-notification:parent').size()<2){$(this.element).find('div.jGrowl-closer').animate(this.defaults.animateClose,this.defaults.speed,this.defaults.easing,function(){$(this).remove();});}},startup:function(e){this.element=$(e).addClass('jGrowl').append('<div class="jGrowl-notification"></div>');this.interval=setInterval(function(){$(e).data('jGrowl.instance').update();},this.defaults.check);if($.browser.msie&&parseInt($.browser.version)<7&&!window["XMLHttpRequest"]){$(this.element).addClass('ie6');}},shutdown:function(){$(this.element).removeClass('jGrowl').find('div.jGrowl-notification').remove();clearInterval(this.interval);},close:function(){$(this.element).find('div.jGrowl-notification').each(function(){$(this).trigger('jGrowl.beforeClose');});}});$.jGrowl.defaults=$.fn.jGrowl.prototype.defaults;})(jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
jQuery(document).ready(function() {
|
2
|
-
jQuery(".tip-field").focus
|
2
|
+
jQuery(".tip-field").live('focus', function() {
|
3
3
|
jQuery(".active").removeClass("active");
|
4
4
|
var tip_key = jQuery('#' + this.id).siblings('.tip-key');
|
5
5
|
var control_id = this.id;
|
@@ -12,12 +12,17 @@ jQuery(document).ready(function() {
|
|
12
12
|
var tip_text = field.siblings('.tip-text').html();
|
13
13
|
var tip_title = field.siblings('.tip-title').html();
|
14
14
|
var tip_position = field.siblings('.tip-position').html();
|
15
|
+
if(tip_text == null){
|
16
|
+
tip_text = field.parent().siblings('.tip-text').html();
|
17
|
+
tip_title = field.parent().siblings('.tip-title').html();
|
18
|
+
tip_position = field.parent().siblings('.tip-position').html();
|
19
|
+
}
|
15
20
|
if (!tip_position) { tip_position = 'right'; }
|
16
21
|
show_tip(control_id, tip_title, tip_text, tip_position);
|
17
22
|
jQuery("#" + help_id + "-container").addClass("active");
|
18
23
|
});
|
19
24
|
|
20
|
-
jQuery(".tip-field").blur
|
25
|
+
jQuery(".tip-field").live('blur', function() {
|
21
26
|
jQuery('#' + this.id + '-tip').hide(1);
|
22
27
|
});
|
23
28
|
});
|
@@ -0,0 +1,50 @@
|
|
1
|
+
function setup_country(force_load){
|
2
|
+
|
3
|
+
var country_id = jQuery("#countries").val();
|
4
|
+
var state_id = jQuery("#states").val();
|
5
|
+
|
6
|
+
if (country_id == undefined){
|
7
|
+
return;
|
8
|
+
}
|
9
|
+
|
10
|
+
if (country_id == '-1'){
|
11
|
+
jQuery("#states").val('-1');
|
12
|
+
jQuery("#counties").val('-1');
|
13
|
+
}
|
14
|
+
|
15
|
+
if (country_id == '-1' || country_id == ''){
|
16
|
+
jQuery("#states-container").hide();
|
17
|
+
jQuery("#counties-container").hide();
|
18
|
+
return;
|
19
|
+
}
|
20
|
+
|
21
|
+
if(force_load || state_id == '' || state_id == null || state_id == -1) {
|
22
|
+
jQuery.getJSON("/helper/load_states_for_country/" + country_id + ".js", function(data){
|
23
|
+
var options = '';
|
24
|
+
jQuery("#counties-container").hide();
|
25
|
+
jQuery('#states-container label').html(data.label);
|
26
|
+
states = data.states;
|
27
|
+
if(states.length > 0){
|
28
|
+
for (var i = 0; i < states.length; i++) {
|
29
|
+
var state_id = states[i].state.id;
|
30
|
+
if(state_id == undefined) { state_id = ''; }
|
31
|
+
options += '<option value="' + state_id + '">' + states[i].state.name + '</option>';
|
32
|
+
}
|
33
|
+
jQuery("#states-container").show();
|
34
|
+
jQuery("select#states").html(options);
|
35
|
+
} else {
|
36
|
+
jQuery("#states-container").hide();
|
37
|
+
}
|
38
|
+
});
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
jQuery(document).ready(function() {
|
43
|
+
jQuery("#countries-container select").change(function() {
|
44
|
+
setup_country(true);
|
45
|
+
});
|
46
|
+
if(jQuery("#states").val() == '' || jQuery("#states").val() == null) {
|
47
|
+
jQuery("#states-container").hide();
|
48
|
+
}
|
49
|
+
setup_country(false);
|
50
|
+
});
|
@@ -0,0 +1,18 @@
|
|
1
|
+
jQuery(document).ready(function() {
|
2
|
+
jQuery("#user_login").blur(function(){
|
3
|
+
jQuery.post("is_login_available",{ user_login:jQuery(this).val(), format:'js' },function(data){
|
4
|
+
jQuery("#username-availibility").html(data);
|
5
|
+
});
|
6
|
+
});
|
7
|
+
jQuery("#user_login").keydown(function() {
|
8
|
+
jQuery("#username-availibility").html('');
|
9
|
+
});
|
10
|
+
jQuery("#user_email").blur(function(){
|
11
|
+
jQuery.post("is_email_available",{ user_email:jQuery(this).val(), format:'js' },function(data){
|
12
|
+
jQuery("#email-availibility").html(data);
|
13
|
+
});
|
14
|
+
});
|
15
|
+
jQuery("#user_email").keydown(function() {
|
16
|
+
jQuery("#email-availibility").html('');
|
17
|
+
});
|
18
|
+
});
|
@@ -1,8 +1,6 @@
|
|
1
1
|
//jQuery.noConflict();
|
2
2
|
jQuery(document).ajaxSend(function(event, request, settings) {
|
3
|
-
request
|
4
|
-
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
5
|
-
|
3
|
+
add_headers(request);
|
6
4
|
if (settings.type.toUpperCase() == 'GET' || typeof(AUTH_TOKEN) == "undefined") return; // for details see: http://www.justinball.com/2009/07/08/jquery-ajax-get-in-firefox-post-in-internet-explorer/
|
7
5
|
// settings.data is a serialized string like "foo=bar&baz=boink" (or null)
|
8
6
|
settings.data = settings.data || "";
|
@@ -10,11 +8,57 @@ jQuery(document).ajaxSend(function(event, request, settings) {
|
|
10
8
|
settings.data += (settings.data ? "&" : "") + "authenticity_token=" + encodeURIComponent(AUTH_TOKEN);
|
11
9
|
});
|
12
10
|
|
13
|
-
function
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
function apply_ajax_forms() {
|
12
|
+
jQuery('form.ajax').ajaxForm({
|
13
|
+
dataType: 'script',
|
14
|
+
beforeSend: add_headers
|
15
|
+
});
|
16
|
+
jQuery('form.ajax').append('<input type="hidden" name="format" value="js" />');
|
17
|
+
}
|
18
|
+
|
19
|
+
function add_headers(xhr){
|
20
|
+
xhr.setRequestHeader("Accept", "text/javascript");
|
21
|
+
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
|
22
|
+
}
|
23
|
+
|
24
|
+
jQuery(document).ready(function() {
|
25
|
+
|
26
|
+
jQuery('a.ajax-delete').live('click', function() {
|
27
|
+
var title = jQuery(this).attr('title');
|
28
|
+
var do_delete = true;
|
29
|
+
if(title.length > 0){
|
30
|
+
do_delete = confirm(title);
|
31
|
+
}
|
32
|
+
if (do_delete){
|
33
|
+
jQuery.post(this.href, { _method: 'delete', format: 'js' }, null, "script");
|
34
|
+
}
|
35
|
+
return false;
|
36
|
+
});
|
37
|
+
|
38
|
+
jQuery('a.ajax-update').live('click', function() {
|
39
|
+
jQuery.post(this.href, { _method: 'put', format: 'js' }, null, "script");
|
40
|
+
return false;
|
41
|
+
});
|
42
|
+
|
43
|
+
jQuery(".submit-form").click(function() {
|
44
|
+
jQuery(this).parent('form').submit();
|
45
|
+
});
|
46
|
+
|
47
|
+
apply_ajax_forms();
|
48
|
+
|
49
|
+
jQuery('a.fancy-pop').fancybox({'hideOnContentClick':false, 'overlayShow':true, 'frameWidth':600, 'frameHeight':500 });
|
50
|
+
|
51
|
+
jQuery('a.dialog-pop').live('click', function() {
|
52
|
+
var d = jQuery('<div class="dialog"></div>').appendTo("body");
|
53
|
+
d.dialog({ modal: true, autoOpen: false, width: 'auto', title: jQuery(this).attr('title') });
|
54
|
+
d.load(jQuery(this).attr('href'), '', function(){
|
55
|
+
d.dialog("open");
|
56
|
+
apply_ajax_forms();
|
57
|
+
});
|
58
|
+
return false;
|
59
|
+
});
|
60
|
+
|
61
|
+
jQuery(".submit-delete").live('click', function() {
|
18
62
|
jQuery(this).parents('.delete-container').fadeOut();
|
19
63
|
var form = jQuery(this).parents('form');
|
20
64
|
jQuery.post(form.attr('action') + '.json', form.serialize(),
|
@@ -26,10 +70,8 @@ function setup_submit_delete(){
|
|
26
70
|
});
|
27
71
|
return false;
|
28
72
|
});
|
29
|
-
|
30
|
-
|
31
|
-
// return false;
|
32
|
-
// }
|
73
|
+
|
74
|
+
jQuery(".submit-delete-js").live('click', function() {
|
33
75
|
jQuery(this).parents('.delete-container').fadeOut();
|
34
76
|
var form = jQuery(this).parents('form');
|
35
77
|
jQuery.post(form.attr('action') + '.js', form.serialize(),
|
@@ -37,91 +79,13 @@ function setup_submit_delete(){
|
|
37
79
|
});
|
38
80
|
return false;
|
39
81
|
});
|
40
|
-
}
|
41
|
-
|
42
|
-
function show_hide_obj (ary_objs_to_show, ary_objs_to_hide)
|
43
|
-
{
|
44
|
-
for (i=0;i<ary_objs_to_show.length;i++) {
|
45
|
-
if (obj_to_show = document.getElementById(ary_objs_to_show[i])) obj_to_show.style.display="";
|
46
|
-
if (tab = document.getElementById('anchor'+ary_objs_to_show[i])) tab.className = 'curTab';
|
47
|
-
}
|
48
|
-
for (i=0;i<ary_objs_to_hide.length;i++) {
|
49
|
-
if (obj_to_hide = document.getElementById(ary_objs_to_hide[i])) obj_to_hide.style.display="none";
|
50
|
-
if (tab = document.getElementById('anchor'+ary_objs_to_hide[i])) tab.className = '';
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
function setup_country(force_load){
|
55
|
-
|
56
|
-
var country_id = jQuery("#countries").val();
|
57
|
-
var state_id = jQuery("#states").val();
|
58
|
-
|
59
|
-
if (country_id == undefined){
|
60
|
-
return;
|
61
|
-
}
|
62
|
-
|
63
|
-
if (country_id == '-1'){
|
64
|
-
jQuery("#states").val('-1');
|
65
|
-
jQuery("#counties").val('-1');
|
66
|
-
}
|
67
|
-
|
68
|
-
if (country_id == '-1' || country_id == ''){
|
69
|
-
jQuery("#states-container").hide();
|
70
|
-
jQuery("#counties-container").hide();
|
71
|
-
return;
|
72
|
-
}
|
73
|
-
|
74
|
-
if(force_load || state_id == '' || state_id == null || state_id == -1) {
|
75
|
-
jQuery.getJSON("/helper/load_states_for_country/" + country_id + ".js", function(data){
|
76
|
-
var options = '';
|
77
|
-
jQuery("#counties-container").hide();
|
78
|
-
jQuery('#states-container label').html(data.label);
|
79
|
-
states = data.states;
|
80
|
-
if(states.length > 0){
|
81
|
-
for (var i = 0; i < states.length; i++) {
|
82
|
-
var state_id = states[i].state.id;
|
83
|
-
if(state_id == undefined) { state_id = ''; }
|
84
|
-
options += '<option value="' + state_id + '">' + states[i].state.name + '</option>';
|
85
|
-
}
|
86
|
-
jQuery("#states-container").show();
|
87
|
-
jQuery("select#states").html(options);
|
88
|
-
} else {
|
89
|
-
jQuery("#states-container").hide();
|
90
|
-
}
|
91
|
-
});
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
jQuery.jGrowl.defaults.position = 'center';
|
96
|
-
|
97
|
-
jQuery.jGrowl.info = function(msg){
|
98
|
-
jQuery.jGrowl(msg);
|
99
|
-
}
|
100
|
-
|
101
|
-
jQuery.jGrowl.warn = function(msg){
|
102
|
-
jQuery.jGrowl(msg);
|
103
|
-
}
|
104
|
-
|
105
|
-
jQuery.jGrowl.error = function(msg){
|
106
|
-
jQuery.jGrowl(msg, {sticky:true,header:"Please correct the following errors:"});
|
107
|
-
}
|
108
82
|
|
109
|
-
jQuery(document).ready(function() {
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
});
|
116
|
-
jQuery("#quick-login-submit").click(function() {
|
117
|
-
jQuery("#quick-login").submit();
|
118
|
-
});
|
119
|
-
|
120
|
-
jQuery("#countries-container select").change(function() {
|
121
|
-
setup_country(true);
|
83
|
+
jQuery(document).ready(function() {
|
84
|
+
jQuery('.waiting').hide();
|
85
|
+
jQuery(".wait-button").click(function() {
|
86
|
+
jQuery('.waiting').show();
|
87
|
+
jQuery(this).hide();
|
88
|
+
});
|
122
89
|
});
|
123
|
-
|
124
|
-
jQuery("#states-container").hide();
|
125
|
-
}
|
126
|
-
setup_country(false);
|
90
|
+
|
127
91
|
});
|
@@ -7,7 +7,7 @@ function apply_activity_ajax_methods(){
|
|
7
7
|
hide_comment_boxes();
|
8
8
|
apply_comment_hover();
|
9
9
|
apply_activity_hover();
|
10
|
-
jQuery('.activity-no-comments').hide();
|
10
|
+
jQuery('.activity-no-comments').hide();
|
11
11
|
jQuery('.activity-has-comments').find('textarea').click(function(){
|
12
12
|
show_comment_box(this);
|
13
13
|
});
|
@@ -1,12 +1,40 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
.navigation ul
|
1
|
+
/* header */
|
2
|
+
a {color:#000;}
|
3
|
+
fieldset {border:none;}
|
4
|
+
#main-navigation{}
|
5
|
+
#account-navigation {}
|
6
|
+
.navigation ul{padding:2px;margin:0;}
|
7
|
+
.navigation ul li{list-style:none;font-weight:bold;display:inline-block;}
|
7
8
|
.navigation ul li a{float:left;text-decoration:none;font-weight:bold;}
|
8
9
|
.navigation ul li a:hover{text-decoration:underline;}
|
9
|
-
|
10
|
+
ul.inline{padding:0;margin:0;}
|
11
|
+
ul.inline li{list-style:none;}
|
12
|
+
ul.admin-list li {list-style:none;}
|
13
|
+
ul.admin-list li a{font-size:1.2em;}
|
14
|
+
#header{border-bottom:solid 2px #333;}
|
15
|
+
#admin-account{width:100%;float:right;}
|
16
|
+
#admin-account ul{float:right;}
|
17
|
+
#admin-account ul li{margin:1px;padding:0 4px;float:left;}
|
18
|
+
/*#admin-nav li a{background-repeat:no-repeat;height:20px;margin:0 4px;padding-top:35px;text-align:center;width:40px;}*/
|
19
|
+
#admin-nav li a{margin:0 12px 0 0;}
|
20
|
+
#sub-header{width:100%;float:left;}
|
21
|
+
/* dashboard widgets */
|
22
|
+
.dashboard-widget{padding:5px;}
|
23
|
+
.dashboard-widget h2{font-size:12px;border-bottom:solid 1px #555;}
|
10
24
|
/* themes */
|
11
25
|
#current-theme{clear:both;float:left;width:100%;}
|
12
|
-
.theme-block{width:250px;height:300px;float:left;clear:none;margin:10px;}
|
26
|
+
.theme-block{width:250px;height:300px;float:left;clear:none;margin:10px;}
|
27
|
+
/* errors, message */
|
28
|
+
.notify-box{font-size:1.2em;color:#555;width:100%}
|
29
|
+
.error,.notice,.success {margin:0;}
|
30
|
+
#errorExplanation #field-errors{margin:0;padding:0.4em 1.5em;width:96%;border:2px solid #ddd;background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
|
31
|
+
#admin-messages{display:none;}
|
32
|
+
/* ui elements */
|
33
|
+
#ui-datepicker-div{z-index:2005;}
|
34
|
+
/* tables */
|
35
|
+
.adminTable{margin:5px 0 0 0;padding:0 0 40px 0px;width:980px;}
|
36
|
+
.adminTable a{color:#000;text-decoration:none;font-weight:bold;}
|
37
|
+
.adminTable a:hover{;text-decoration:underline;}
|
38
|
+
.adminTable tr{background-color:#fff;}
|
39
|
+
.adminTable table{border:2px solid #c4ad63;}
|
40
|
+
.adminTable tr td{font-size:1.1em;font-weight:bold;padding:5px;border-bottom:1px solid #eee;}
|
@@ -0,0 +1,160 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI CSS Framework
|
3
|
+
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
|
4
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
5
|
+
*/
|
6
|
+
|
7
|
+
/* Layout helpers
|
8
|
+
----------------------------------*/
|
9
|
+
.ui-helper-hidden { display: none; }
|
10
|
+
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
|
11
|
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
12
|
+
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
13
|
+
.ui-helper-clearfix { display: inline-block; }
|
14
|
+
/* required comment for clearfix to work in Opera \*/
|
15
|
+
* html .ui-helper-clearfix { height:1%; }
|
16
|
+
.ui-helper-clearfix { display:block; }
|
17
|
+
/* end clearfix */
|
18
|
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
19
|
+
|
20
|
+
|
21
|
+
/* Interaction Cues
|
22
|
+
----------------------------------*/
|
23
|
+
.ui-state-disabled { cursor: default !important; }
|
24
|
+
|
25
|
+
|
26
|
+
/* Icons
|
27
|
+
----------------------------------*/
|
28
|
+
|
29
|
+
/* states and images */
|
30
|
+
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
31
|
+
|
32
|
+
|
33
|
+
/* Misc visuals
|
34
|
+
----------------------------------*/
|
35
|
+
|
36
|
+
/* Overlays */
|
37
|
+
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }/* Accordion
|
38
|
+
----------------------------------*/
|
39
|
+
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
40
|
+
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
41
|
+
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
42
|
+
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; }
|
43
|
+
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
44
|
+
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
|
45
|
+
.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker
|
46
|
+
----------------------------------*/
|
47
|
+
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
|
48
|
+
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
49
|
+
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
50
|
+
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
51
|
+
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
52
|
+
.ui-datepicker .ui-datepicker-next { right:2px; }
|
53
|
+
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
54
|
+
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
55
|
+
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
56
|
+
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
57
|
+
.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
|
58
|
+
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
59
|
+
.ui-datepicker select.ui-datepicker-month,
|
60
|
+
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
61
|
+
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
|
62
|
+
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
63
|
+
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
64
|
+
.ui-datepicker td { border: 0; padding: 1px; }
|
65
|
+
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
66
|
+
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
67
|
+
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
68
|
+
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
69
|
+
|
70
|
+
/* with multiple calendars */
|
71
|
+
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
72
|
+
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
73
|
+
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
74
|
+
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
75
|
+
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
76
|
+
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
77
|
+
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
78
|
+
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
79
|
+
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
80
|
+
.ui-datepicker-row-break { clear:both; width:100%; }
|
81
|
+
|
82
|
+
/* RTL support */
|
83
|
+
.ui-datepicker-rtl { direction: rtl; }
|
84
|
+
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
85
|
+
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
86
|
+
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
87
|
+
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
88
|
+
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
89
|
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
90
|
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
91
|
+
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
92
|
+
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
93
|
+
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
94
|
+
|
95
|
+
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
96
|
+
.ui-datepicker-cover {
|
97
|
+
display: none; /*sorry for IE5*/
|
98
|
+
display/**/: block; /*sorry for IE5*/
|
99
|
+
position: absolute; /*must have*/
|
100
|
+
z-index: -1; /*must have*/
|
101
|
+
filter: mask(); /*must have*/
|
102
|
+
top: -4px; /*must have*/
|
103
|
+
left: -4px; /*must have*/
|
104
|
+
width: 200px; /*must have*/
|
105
|
+
height: 200px; /*must have*/
|
106
|
+
}/* Dialog
|
107
|
+
----------------------------------*/
|
108
|
+
.ui-dialog { position: relative; padding: .2em; width: 300px; }
|
109
|
+
.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
|
110
|
+
.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
|
111
|
+
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
112
|
+
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
113
|
+
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
114
|
+
.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
115
|
+
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
116
|
+
.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
|
117
|
+
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
118
|
+
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
119
|
+
/* Progressbar
|
120
|
+
----------------------------------*/
|
121
|
+
.ui-progressbar { height:2em; text-align: left; }
|
122
|
+
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable
|
123
|
+
----------------------------------*/
|
124
|
+
.ui-resizable { position: relative;}
|
125
|
+
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
|
126
|
+
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
127
|
+
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
|
128
|
+
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
|
129
|
+
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
|
130
|
+
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
|
131
|
+
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
132
|
+
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
133
|
+
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
134
|
+
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider
|
135
|
+
----------------------------------*/
|
136
|
+
.ui-slider { position: relative; text-align: left; }
|
137
|
+
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
138
|
+
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
|
139
|
+
|
140
|
+
.ui-slider-horizontal { height: .8em; }
|
141
|
+
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
142
|
+
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
143
|
+
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
144
|
+
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
145
|
+
|
146
|
+
.ui-slider-vertical { width: .8em; height: 100px; }
|
147
|
+
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
148
|
+
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
149
|
+
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
150
|
+
.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs
|
151
|
+
----------------------------------*/
|
152
|
+
.ui-tabs { padding: .2em; zoom: 1; }
|
153
|
+
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
|
154
|
+
.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
|
155
|
+
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
|
156
|
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
|
157
|
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
158
|
+
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
159
|
+
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
|
160
|
+
.ui-tabs .ui-tabs-hide { display: none !important; }
|