ish_lib_assets 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/app/assets/images/200x200/devops.png +0 -0
- data/app/assets/images/200x200/html5.jpg +0 -0
- data/app/assets/images/200x200/nodejs.png +0 -0
- data/app/assets/images/200x200/project_management.jpg +0 -0
- data/app/assets/images/200x200/ror.jpg +0 -0
- data/app/assets/images/200x200/uiux.jpg +0 -0
- data/app/assets/images/400x400/contact-us.png +0 -0
- data/app/assets/images/400x400/devops.png +0 -0
- data/app/assets/images/400x400/html5.jpg +0 -0
- data/app/assets/images/400x400/nodejs.png +0 -0
- data/app/assets/images/400x400/project_management.jpg +0 -0
- data/app/assets/images/400x400/ror.jpg +0 -0
- data/app/assets/images/400x400/the-cloud.png +0 -0
- data/app/assets/images/400x400/uiux.jpg +0 -0
- data/app/assets/images/backgrounds/10.jpg +0 -0
- data/app/assets/images/backgrounds/11.jpg +0 -0
- data/app/assets/images/backgrounds/12.jpg +0 -0
- data/app/assets/images/backgrounds/6.jpg +0 -0
- data/app/assets/images/backgrounds/7.jpg +0 -0
- data/app/assets/images/backgrounds/8.jpg +0 -0
- data/app/assets/images/backgrounds/9.jpg +0 -0
- data/app/assets/images/backgrounds/970_grey-blue.png +0 -0
- data/app/assets/images/backgrounds/970_white.png +0 -0
- data/app/assets/images/backgrounds/970_yellow.png +0 -0
- data/app/assets/images/backgrounds/bg-circles.png +0 -0
- data/app/assets/images/backgrounds/bg5.jpg +0 -0
- data/app/assets/images/backgrounds/bg6.jpg +0 -0
- data/app/assets/images/backgrounds/bg_texture_dark.jpg +0 -0
- data/app/assets/images/backgrounds/bkg_bg.gif +0 -0
- data/app/assets/images/backgrounds/blue-seamless.jpg +0 -0
- data/app/assets/images/backgrounds/flower_1.jpg +0 -0
- data/app/assets/images/backgrounds/glitch1.jpg +0 -0
- data/app/assets/images/backgrounds/glitch2.jpg +0 -0
- data/app/assets/images/backgrounds/gray-1.jpg +0 -0
- data/app/assets/images/backgrounds/havaianas.jpg +0 -0
- data/app/assets/images/backgrounds/light-purple.jpg +0 -0
- data/app/assets/images/backgrounds/noise.jpg +0 -0
- data/app/assets/images/backgrounds/paper.jpg +0 -0
- data/app/assets/images/backgrounds/pattern_011.gif +0 -0
- data/app/assets/images/backgrounds/pattern_013.gif +0 -0
- data/app/assets/images/backgrounds/pattern_016.gif +0 -0
- data/app/assets/images/backgrounds/pattern_020.gif +0 -0
- data/app/assets/images/backgrounds/pattern_022.gif +0 -0
- data/app/assets/images/backgrounds/pattern_044.gif +0 -0
- data/app/assets/images/backgrounds/pattern_062.gif +0 -0
- data/app/assets/images/backgrounds/pattern_096.gif +0 -0
- data/app/assets/images/backgrounds/pattern_153.gif +0 -0
- data/app/assets/images/backgrounds/pattern_154.gif +0 -0
- data/app/assets/images/backgrounds/pattern_156.gif +0 -0
- data/app/assets/images/backgrounds/pattern_157.gif +0 -0
- data/app/assets/images/backgrounds/skull_1.jpg +0 -0
- data/app/assets/images/backgrounds/sky.jpg +0 -0
- data/app/assets/images/backgrounds/sky2.jpg +0 -0
- data/app/assets/images/backgrounds/sky3.jpg +0 -0
- data/app/assets/images/backgrounds/sky4.jpg +0 -0
- data/app/assets/images/backgrounds/sky5.jpg +0 -0
- data/app/assets/images/backgrounds/transparent_40.png +0 -0
- data/app/assets/images/backgrounds/transparent_70.png +0 -0
- data/app/assets/images/backgrounds/transparent_90.png +0 -0
- data/app/assets/images/backgrounds/white-seamless.jpg +0 -0
- data/app/assets/images/backgrounds/white_970x5.png +0 -0
- data/app/assets/images/backgrounds/white_blue_1.jpg +0 -0
- data/app/assets/images/cac/dot-footer.png +0 -0
- data/app/assets/images/cac/dot-header.png +0 -0
- data/app/assets/images/cac/list-style.png +0 -0
- data/app/assets/images/cac/map.png +0 -0
- data/app/assets/images/cac/phone.png +0 -0
- data/app/assets/images/cac/phone_number.png +0 -0
- data/app/assets/images/cac/screenshots/about.png +0 -0
- data/app/assets/images/cac/screenshots/contact.png +0 -0
- data/app/assets/images/cac/screenshots/home.png +0 -0
- data/app/assets/images/cac/screenshots/home.psd +0 -0
- data/app/assets/images/cac/screenshots/portfolio.png +0 -0
- data/app/assets/images/cac/screenshots/services.png +0 -0
- data/app/assets/images/cac/screenshots/team.png +0 -0
- data/app/assets/images/cac/sfbay.jpg +0 -0
- data/app/assets/images/cac/sprite.png +0 -0
- data/app/assets/images/cac/team/lizza.jpg +0 -0
- data/app/assets/images/cac/team/lizza_raw.jpg +0 -0
- data/app/assets/images/cac/team/piousbox.jpg +0 -0
- data/app/assets/images/close.png +0 -0
- data/app/assets/images/contact.png +0 -0
- data/app/assets/images/controls.png +0 -0
- data/app/assets/images/favicon.gif +0 -0
- data/app/assets/images/favicons/cac.gif +0 -0
- data/app/assets/images/favicons/ish.gif +0 -0
- data/app/assets/images/favicons/manager.ico +0 -0
- data/app/assets/images/favicons/piousbox.gif +0 -0
- data/app/assets/images/favicons/ppf.gif +0 -0
- data/app/assets/images/flags/br.png +0 -0
- data/app/assets/images/flags/en.png +0 -0
- data/app/assets/images/flags/pt.png +0 -0
- data/app/assets/images/flags/ru.png +0 -0
- data/app/assets/images/flags/us.png +0 -0
- data/app/assets/images/grad-hr.png +0 -0
- data/app/assets/images/gradient.png +0 -0
- data/app/assets/images/icons/100x100/hazard.png +0 -0
- data/app/assets/images/icons/100x100/venue.png +0 -0
- data/app/assets/images/icons/10x10/thumbs_down.png +0 -0
- data/app/assets/images/icons/10x10/thumbs_up.png +0 -0
- data/app/assets/images/icons/128x128/manager.png +0 -0
- data/app/assets/images/icons/12x12/tag.png +0 -0
- data/app/assets/images/icons/14x14/bullet.png +0 -0
- data/app/assets/images/icons/16x16/cancel.png +0 -0
- data/app/assets/images/icons/16x16/delete.png +0 -0
- data/app/assets/images/icons/16x16/expand_down.png +0 -0
- data/app/assets/images/icons/16x16/new_16.png +0 -0
- data/app/assets/images/icons/16x16/search.png +0 -0
- data/app/assets/images/icons/16x16/uploadify-cancel.png +0 -0
- data/app/assets/images/icons/20x20/edit.png +0 -0
- data/app/assets/images/icons/20x20/email.gif +0 -0
- data/app/assets/images/icons/20x20/expand.gif +0 -0
- data/app/assets/images/icons/20x20/eye-crossed.png +0 -0
- data/app/assets/images/icons/20x20/eye.png +0 -0
- data/app/assets/images/icons/20x20/facebook.gif +0 -0
- data/app/assets/images/icons/20x20/gmail.gif +0 -0
- data/app/assets/images/icons/20x20/java.gif +0 -0
- data/app/assets/images/icons/20x20/linkedin.png +0 -0
- data/app/assets/images/icons/20x20/lock.gif +0 -0
- data/app/assets/images/icons/20x20/new.png +0 -0
- data/app/assets/images/icons/20x20/pdf.gif +0 -0
- data/app/assets/images/icons/20x20/php.jpg +0 -0
- data/app/assets/images/icons/20x20/private.png +0 -0
- data/app/assets/images/icons/20x20/private2.png +0 -0
- data/app/assets/images/icons/20x20/public.png +0 -0
- data/app/assets/images/icons/20x20/public2.png +0 -0
- data/app/assets/images/icons/20x20/python.png +0 -0
- data/app/assets/images/icons/20x20/search.png +0 -0
- data/app/assets/images/icons/20x20/top.gif +0 -0
- data/app/assets/images/icons/20x20/trash.png +0 -0
- data/app/assets/images/icons/20x20/wiki.gif +0 -0
- data/app/assets/images/icons/20x20/wp.gif +0 -0
- data/app/assets/images/icons/20x20/youtube.png +0 -0
- data/app/assets/images/icons/24x24/configure.png +0 -0
- data/app/assets/images/icons/24x24/customize.png +0 -0
- data/app/assets/images/icons/24x24/edit.png +0 -0
- data/app/assets/images/icons/24x24/trash.png +0 -0
- data/app/assets/images/icons/28x28/customize.png +0 -0
- data/app/assets/images/icons/28x28/expand.png +0 -0
- data/app/assets/images/icons/32x32/comment.png +0 -0
- data/app/assets/images/icons/32x32/delicious.png +0 -0
- data/app/assets/images/icons/32x32/doc.png +0 -0
- data/app/assets/images/icons/32x32/email.png +0 -0
- data/app/assets/images/icons/32x32/expand_down.png +0 -0
- data/app/assets/images/icons/32x32/facebook.png +0 -0
- data/app/assets/images/icons/32x32/github.png +0 -0
- data/app/assets/images/icons/32x32/home.png +0 -0
- data/app/assets/images/icons/32x32/linkedin.png +0 -0
- data/app/assets/images/icons/32x32/list.png +0 -0
- data/app/assets/images/icons/32x32/logout.png +0 -0
- data/app/assets/images/icons/32x32/manager.png +0 -0
- data/app/assets/images/icons/32x32/myspace.png +0 -0
- data/app/assets/images/icons/32x32/new.png +0 -0
- data/app/assets/images/icons/32x32/new_addritem.png +0 -0
- data/app/assets/images/icons/32x32/pdf.png +0 -0
- data/app/assets/images/icons/32x32/photos_new.png +0 -0
- data/app/assets/images/icons/32x32/print.png +0 -0
- data/app/assets/images/icons/32x32/scratchpad.png +0 -0
- data/app/assets/images/icons/32x32/search.png +0 -0
- data/app/assets/images/icons/32x32/sharethis.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_down.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_down_2.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_up.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_up_2.png +0 -0
- data/app/assets/images/icons/32x32/trac.gif +0 -0
- data/app/assets/images/icons/32x32/trash.png +0 -0
- data/app/assets/images/icons/32x32/twitter.png +0 -0
- data/app/assets/images/icons/32x32/upload.png +0 -0
- data/app/assets/images/icons/32x32/word.png +0 -0
- data/app/assets/images/icons/40x40/search_40x40.png +0 -0
- data/app/assets/images/icons/48x48/city.png +0 -0
- data/app/assets/images/icons/48x48/new_photo.png +0 -0
- data/app/assets/images/icons/64x64/extended_forms.png +0 -0
- data/app/assets/images/icons/64x64/facebook.png +0 -0
- data/app/assets/images/icons/64x64/facebook_flat.png +0 -0
- data/app/assets/images/icons/64x64/github.png +0 -0
- data/app/assets/images/icons/64x64/github_flat.png +0 -0
- data/app/assets/images/icons/64x64/google.png +0 -0
- data/app/assets/images/icons/64x64/linkedin.png +0 -0
- data/app/assets/images/icons/64x64/linkedin_flat.png +0 -0
- data/app/assets/images/icons/64x64/manager.png +0 -0
- data/app/assets/images/icons/64x64/my-profile.png +0 -0
- data/app/assets/images/icons/64x64/new_addritem.png +0 -0
- data/app/assets/images/icons/64x64/new_photo.png +0 -0
- data/app/assets/images/icons/64x64/new_report.png +0 -0
- data/app/assets/images/icons/64x64/openid.png +0 -0
- data/app/assets/images/icons/64x64/rails.png +0 -0
- data/app/assets/images/icons/64x64/scratchpad.png +0 -0
- data/app/assets/images/icons/64x64/settings.png +0 -0
- data/app/assets/images/icons/64x64/twitter.png +0 -0
- data/app/assets/images/icons/64x64/yahoo_64.png +0 -0
- data/app/assets/images/icons/64x64/youtube_flat.png +0 -0
- data/app/assets/images/icons/96x96/doc.png +0 -0
- data/app/assets/images/icons/96x96/pdf.png +0 -0
- data/app/assets/images/icons/96x96/venue.png +0 -0
- data/app/assets/images/icons/delete.png +0 -0
- data/app/assets/images/icons/delicious.png +0 -0
- data/app/assets/images/icons/edit.png +0 -0
- data/app/assets/images/icons/email.gif +0 -0
- data/app/assets/images/icons/expand.gif +0 -0
- data/app/assets/images/icons/facebook.gif +0 -0
- data/app/assets/images/icons/gmail.gif +0 -0
- data/app/assets/images/icons/hazard.png +0 -0
- data/app/assets/images/icons/new_16.png +0 -0
- data/app/assets/images/icons/open.png +0 -0
- data/app/assets/images/icons/php.jpg +0 -0
- data/app/assets/images/icons/rails.png +0 -0
- data/app/assets/images/icons/search_40x40.png +0 -0
- data/app/assets/images/icons/tag.png +0 -0
- data/app/assets/images/icons/top.gif +0 -0
- data/app/assets/images/icons/trash/calendar.png +0 -0
- data/app/assets/images/left.png +0 -0
- data/app/assets/images/loading-100x100.gif +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/login_with_facebook.png +0 -0
- data/app/assets/images/logos/100x100/ish.png +0 -0
- data/app/assets/images/logos/100x100/ish_logo_100.png +0 -0
- data/app/assets/images/logos/100x100/logo100x100.png +0 -0
- data/app/assets/images/logos/200x200/ish_logo_200.gif +0 -0
- data/app/assets/images/logos/20x20/ish.gif +0 -0
- data/app/assets/images/logos/400x400/cac.jpg +0 -0
- data/app/assets/images/logos/400x400/ish.png +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.gif +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.jpg +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.png +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.psd +0 -0
- data/app/assets/images/logos/40x40/ish.png +0 -0
- data/app/assets/images/logos/40x40/ish_logo_40.png +0 -0
- data/app/assets/images/logos/45x45/ish.png +0 -0
- data/app/assets/images/logos/60x60/logo_60x60.png +0 -0
- type_on gray].eps +0 -0
- type_on white].eps +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre Shelter_FINAL [image_on gray].eps +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre Shelter_FINAL [image_on white].eps +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image-and-type_on-gray].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image-and-type_on-white].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image_on-gray].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image_on-white].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/logo100x100.png +0 -0
- data/app/assets/images/logos/Infinite Shelter/logo30.jpg +0 -0
- data/app/assets/images/logos/Infinite Shelter/logoGray.png +0 -0
- data/app/assets/images/logos/Infinite Shelter/logoWhite.png +0 -0
- data/app/assets/images/logos/Infinitre-Shelter_FINAL-[image_on-white].png +0 -0
- data/app/assets/images/logos/cac.png +0 -0
- data/app/assets/images/logos/cac/CAC_logo_02_FINAL.eps +0 -0
- data/app/assets/images/logos/cac/cac.jpg +0 -0
- data/app/assets/images/logos/cac/cac.png +0 -0
- data/app/assets/images/logos/cac_long.jpg +0 -0
- data/app/assets/images/logos/ish.png +0 -0
- data/app/assets/images/logos/ish_logo_100.png +0 -0
- data/app/assets/images/logos/ish_logo_20.gif +0 -0
- data/app/assets/images/logos/ish_logo_200.gif +0 -0
- data/app/assets/images/logos/ish_logo_40.gif +0 -0
- data/app/assets/images/logos/ish_logo_40.png +0 -0
- data/app/assets/images/logos/ish_logo_400.gif +0 -0
- data/app/assets/images/logos/ish_logo_400.jpg +0 -0
- data/app/assets/images/logos/ish_logo_400.png +0 -0
- data/app/assets/images/logos/ish_logo_400.psd +0 -0
- data/app/assets/images/logos/logo.png +0 -0
- data/app/assets/images/logos/logo100x100.png +0 -0
- data/app/assets/images/logos/logo_60x60.png +0 -0
- data/app/assets/images/logos/organizer.png +0 -0
- data/app/assets/images/logos/ppf.gif +0 -0
- data/app/assets/images/logos/travel.png +0 -0
- data/app/assets/images/logos/travel_guide.png +0 -0
- data/app/assets/images/missing.png +0 -0
- data/app/assets/images/next.png +0 -0
- data/app/assets/images/no_photo.png +0 -0
- data/app/assets/images/no_photo_mini.png +0 -0
- data/app/assets/images/organizer/blue-arrow-right.png +0 -0
- data/app/assets/images/organizer/sprite2.png +0 -0
- data/app/assets/images/ppf.gif +0 -0
- data/app/assets/images/prev.png +0 -0
- data/app/assets/images/resume/language.png +0 -0
- data/app/assets/images/resume/main-nav-left.png +0 -0
- data/app/assets/images/resume/main-nav-right-active.png +0 -0
- data/app/assets/images/resume/main-nav-right.png +0 -0
- data/app/assets/images/resume/user-name-left.png +0 -0
- data/app/assets/images/resume/user-name-right.png +0 -0
- data/app/assets/images/right.png +0 -0
- data/app/assets/images/showv/about-us.jpg +0 -0
- data/app/assets/images/showv/arrows-ffffff.png +0 -0
- data/app/assets/images/showv/dragon_head_bottom.jpg +0 -0
- data/app/assets/images/showv/dragon_head_top.jpg +0 -0
- data/app/assets/images/showv/menu-border.png +0 -0
- data/app/assets/images/showv/shadow.png +0 -0
- data/app/assets/images/showv/subhead-bg.png +0 -0
- data/app/assets/images/showv/world.jpg +0 -0
- data/app/assets/images/src/contact-us.png +0 -0
- data/app/assets/images/src/devops-cropped.png +0 -0
- data/app/assets/images/src/devops.png +0 -0
- data/app/assets/images/src/html5.jpg +0 -0
- data/app/assets/images/src/html5_cropped.jpg +0 -0
- data/app/assets/images/src/nodejs.png +0 -0
- data/app/assets/images/src/nodejs_cropped.png +0 -0
- data/app/assets/images/src/project_management.jpg +0 -0
- data/app/assets/images/src/ror.jpg +0 -0
- data/app/assets/images/src/the-cloud.png +0 -0
- data/app/assets/images/src/uiux.jpg +0 -0
- data/app/assets/images/venue.png +0 -0
- data/app/assets/images/wait.gif +0 -0
- data/app/assets/javascripts/application.js +8 -0
- data/app/assets/javascripts/application.js~ +8 -0
- data/app/assets/javascripts/application_foundation.js +19 -0
- data/app/assets/javascripts/ish_lib_assets/application.js +13 -0
- data/app/assets/javascripts/photos_multiadd.coffee +35 -0
- data/app/assets/javascripts/utils.coffee +36 -0
- data/app/assets/stylesheets/application.css +25 -0
- data/app/assets/stylesheets/application.css~ +10 -0
- data/app/assets/stylesheets/application_foundation/galleries.sass +11 -0
- data/app/assets/stylesheets/application_foundation/header_footer.sass +21 -0
- data/app/assets/stylesheets/application_foundation/layout.sass +10 -0
- data/app/assets/stylesheets/application_foundation/newsitems.sass +20 -0
- data/app/assets/stylesheets/application_foundation/reports.sass +16 -0
- data/app/assets/stylesheets/application_foundation/users.sass +4 -0
- data/app/assets/stylesheets/application_foundation/videos.sass +11 -0
- data/app/assets/stylesheets/application_manager.css +6 -0
- data/app/assets/stylesheets/application_print.css +6 -0
- data/app/assets/stylesheets/application_resume.css +13 -0
- data/app/assets/stylesheets/application_resume.css~ +13 -0
- data/app/assets/stylesheets/application_resume_2.css +13 -0
- data/app/assets/stylesheets/application_resume_2.css~ +13 -0
- data/app/assets/stylesheets/common/_ads.sass +77 -0
- data/app/assets/stylesheets/common/_maps.sass +63 -0
- data/app/assets/stylesheets/common/_rate_this.sass +23 -0
- data/app/assets/stylesheets/common/_set_locale.sass +37 -0
- data/app/assets/stylesheets/common/blog.sass +7 -0
- data/app/assets/stylesheets/common/cities.sass +202 -0
- data/app/assets/stylesheets/common/common.sass +111 -0
- data/app/assets/stylesheets/common/devise.sass +29 -0
- data/app/assets/stylesheets/common/events.sass +9 -0
- data/app/assets/stylesheets/common/features.sass +28 -0
- data/app/assets/stylesheets/common/form.sass +19 -0
- data/app/assets/stylesheets/common/galleries.sass +216 -0
- data/app/assets/stylesheets/common/hf2.sass +91 -0
- data/app/assets/stylesheets/common/newsitems.sass +31 -0
- data/app/assets/stylesheets/common/photos.sass +32 -0
- data/app/assets/stylesheets/common/rate_me.sass +8 -0
- data/app/assets/stylesheets/common/reports.sass +269 -0
- data/app/assets/stylesheets/common/tags.sass +64 -0
- data/app/assets/stylesheets/common/trash/blog.sass +7 -0
- data/app/assets/stylesheets/common/users.sass +96 -0
- data/app/assets/stylesheets/common/users_organizer.sass +31 -0
- data/app/assets/stylesheets/common/users_organizer_forms.sass +126 -0
- data/app/assets/stylesheets/common/utils.sass +123 -0
- data/app/assets/stylesheets/common/vars.sass +44 -0
- data/app/assets/stylesheets/common/venues.sass +88 -0
- data/app/assets/stylesheets/common/videos.sass +10 -0
- data/app/assets/stylesheets/common/welcome.sass +21 -0
- data/app/assets/stylesheets/common_2/_maps.sass +63 -0
- data/app/assets/stylesheets/common_2/_rate_this.sass +23 -0
- data/app/assets/stylesheets/common_2/_set_locale.sass +37 -0
- data/app/assets/stylesheets/common_2/common.sass +43 -0
- data/app/assets/stylesheets/common_2/hf_application.sass +177 -0
- data/app/assets/stylesheets/common_2/hf_application_mini.sass +98 -0
- data/app/assets/stylesheets/common_2/photos.sass +5 -0
- data/app/assets/stylesheets/common_2/photos.sass~ +12 -0
- data/app/assets/stylesheets/common_2/users_organizer.sass +33 -0
- data/app/assets/stylesheets/common_2/users_organizer_forms.sass +126 -0
- data/app/assets/stylesheets/common_2/vars.sass +235 -0
- data/app/assets/stylesheets/ish_lib_assets/application.css +15 -0
- data/app/assets/stylesheets/manager/_search.sass +9 -0
- data/app/assets/stylesheets/manager/cities.sass +22 -0
- data/app/assets/stylesheets/manager/features.sass +5 -0
- data/app/assets/stylesheets/manager/galleries.sass +58 -0
- data/app/assets/stylesheets/manager/hf.sass +38 -0
- data/app/assets/stylesheets/manager/layout_manager.sass +32 -0
- data/app/assets/stylesheets/manager/manager.sass +55 -0
- data/app/assets/stylesheets/manager/newsitems.sass +3 -0
- data/app/assets/stylesheets/manager/photos.sass +19 -0
- data/app/assets/stylesheets/manager/reports.sass +66 -0
- data/app/assets/stylesheets/manager/sites.sass +27 -0
- data/app/assets/stylesheets/manager/tags.sass +34 -0
- data/app/assets/stylesheets/manager/users.sass +14 -0
- data/app/assets/stylesheets/manager/vars.sass +4 -0
- data/app/assets/stylesheets/manager/venues.sass +20 -0
- data/app/assets/stylesheets/manager/welcome.sass +13 -0
- data/app/assets/stylesheets/print/default.sass +20 -0
- data/app/assets/stylesheets/print/vars.sass +3 -0
- data/app/assets/stylesheets/resume/github.sass +9 -0
- data/app/assets/stylesheets/resume/hf.sass +18 -0
- data/app/assets/stylesheets/resume/layout_piousbox.sass +56 -0
- data/app/assets/stylesheets/resume/reports.sass +21 -0
- data/app/assets/stylesheets/resume/resume.sass +387 -0
- data/app/assets/stylesheets/resume/vars.sass +3 -0
- data/app/assets/stylesheets/spec_runner.css +5 -0
- data/app/controllers/ish_lib_assets/application_controller.rb +5 -0
- data/app/helpers/application_helper.rb +96 -0
- data/app/helpers/devise_helper.rb +9 -0
- data/app/helpers/images_helper.rb +200 -0
- data/app/helpers/ish_lib_assets/application_helper.rb +7 -0
- data/app/helpers/ish_lib_assets/application_helper.rb~ +7 -0
- data/app/views/layouts/ish_lib_assets/application.html.erb +14 -0
- data/app/views/templates/_blah_template.haml +2 -0
- data/app/views/templates/blah_template.haml~ +0 -0
- data/app/views/templates/kaminari/_first_page.haml +9 -0
- data/app/views/templates/kaminari/_first_page.haml~ +9 -0
- data/app/views/templates/kaminari/_gap.haml +8 -0
- data/app/views/templates/kaminari/_last_page.haml +9 -0
- data/app/views/templates/kaminari/_last_page.haml~ +9 -0
- data/app/views/templates/kaminari/_next_page.haml +9 -0
- data/app/views/templates/kaminari/_next_page.haml~ +9 -0
- data/app/views/templates/kaminari/_page.haml +10 -0
- data/app/views/templates/kaminari/_page.haml~ +10 -0
- data/app/views/templates/kaminari/_paginator.haml +18 -0
- data/app/views/templates/kaminari/_paginator.haml~ +18 -0
- data/app/views/templates/kaminari/_prev_page.haml +9 -0
- data/app/views/templates/kaminari/_prev_page.haml~ +9 -0
- data/config/routes.rb +2 -0
- data/lib/ish_lib_assets.rb +4 -0
- data/lib/ish_lib_assets/engine.rb +9 -0
- data/lib/ish_lib_assets/engine.rb~ +9 -0
- data/lib/ish_lib_assets/version.rb +3 -0
- data/lib/ish_lib_assets/version.rb~ +3 -0
- data/lib/tasks/ish_lib_assets_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/ish_lib_assets_test.rb +7 -0
- data/test/test_helper.rb +21 -0
- data/vendor/assets/images/close.png +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/images/loading.gif +0 -0
- data/vendor/assets/images/next.png +0 -0
- data/vendor/assets/images/prev.png +0 -0
- data/vendor/assets/javascripts/angular.js +14847 -0
- data/vendor/assets/javascripts/angular/angular-animate.js +1375 -0
- data/vendor/assets/javascripts/angular/angular-cookies.js +202 -0
- data/vendor/assets/javascripts/angular/angular-csp.css +13 -0
- data/vendor/assets/javascripts/angular/angular-loader.js +410 -0
- data/vendor/assets/javascripts/angular/angular-mocks.js +2116 -0
- data/vendor/assets/javascripts/angular/angular-resource.js +594 -0
- data/vendor/assets/javascripts/angular/angular-route.js +911 -0
- data/vendor/assets/javascripts/angular/angular-sanitize.js +622 -0
- data/vendor/assets/javascripts/angular/angular-scenario.js +32544 -0
- data/vendor/assets/javascripts/angular/angular-touch.js +563 -0
- data/vendor/assets/javascripts/angular/angular.js +20539 -0
- data/vendor/assets/javascripts/angular/errors.json +1 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_af-na.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_af-za.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_af.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_am-et.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_am.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-001.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ae.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-bh.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-dz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-eg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-iq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-jo.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-kw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-lb.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ly.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ma.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-om.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-qa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-sa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-sd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-sy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-tn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ye.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bg-bg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bn-bd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bn-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ca-ad.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ca-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ca.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_cs-cz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_cs.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_da-dk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_da.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-at.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-be.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-ch.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-de.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-li.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-lu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_el-cy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_el-gr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_el.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-as.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-au.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bb.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-be.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-ca.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-dsrt-us.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-dsrt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-fm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-gb.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-gu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-gy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-hk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-ie.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-iso.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-jm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mh.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mp.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-na.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-nz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-ph.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-pk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-pr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-pw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-sg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-tc.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-tt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-um.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-us.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-vg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-vi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-za.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-zw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-419.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ar.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-bo.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-cl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-co.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-cr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-do.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ea.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ec.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-gq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-gt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-hn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ic.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-mx.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ni.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-pa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-pe.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-pr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-py.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-sv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-us.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-uy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ve.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_et-ee.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_et.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_eu-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_eu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fa-af.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fa-ir.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fi-fi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fil-ph.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fil.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-be.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bj.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ca.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ch.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ci.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-dj.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-fr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ga.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gp.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-km.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-lu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mc.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ml.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ne.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-re.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-yt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gl-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gsw-ch.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gsw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gu-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_he-il.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_he.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hi-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hr-hr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hu-hu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_id-id.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_id.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_is-is.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_is.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_it-it.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_it-sm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_it.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_iw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ja-jp.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ja.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_kn-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_kn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ko-kr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ko.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ln-cd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ln.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lt-lt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lv-lv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ml-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ml.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mr-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ms-my.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ms.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mt-mt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl-cw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl-nl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl-sx.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_no.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_or-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_or.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pl-pl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pt-br.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pt-pt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ro-ro.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ro.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ru-ru.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ru.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sk-sk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sl-si.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sq-al.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sr-cyrl-rs.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sr-latn-rs.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sv-se.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sw-tz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ta-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ta.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_te-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_te.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_th-th.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_th.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_tl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_tr-tr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_tr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_uk-ua.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_uk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ur-pk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ur.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_vi-vn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_vi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-cn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-hans-cn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-hk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-tw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zu-za.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zu.js +99 -0
- data/vendor/assets/javascripts/angular/version.json +1 -0
- data/vendor/assets/javascripts/angular/version.txt +1 -0
- data/vendor/assets/javascripts/custom.modernizr.js +4 -0
- data/vendor/assets/javascripts/fancybox/blank.gif +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_loading.gif +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_loading@2x.gif +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_overlay.png +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_sprite.png +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_sprite@2x.png +0 -0
- data/vendor/assets/javascripts/fancybox/helpers/fancybox_buttons.png +0 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.css +97 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js +122 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-media.js +199 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-thumbs.css +55 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-thumbs.js +162 -0
- data/vendor/assets/javascripts/fancybox/jquery.fancybox.css +274 -0
- data/vendor/assets/javascripts/fancybox/jquery.fancybox.js +2020 -0
- data/vendor/assets/javascripts/fancybox/jquery.fancybox.pack.js +46 -0
- data/vendor/assets/javascripts/fastclick.js +761 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/foundation.js +8921 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/foundation.min.js +4 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/jquery.js +9842 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/what-input.js +295 -0
- data/vendor/assets/javascripts/foundation/foundation.abide.js +201 -0
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +41 -0
- data/vendor/assets/javascripts/foundation/foundation.alert.js +34 -0
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +450 -0
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +184 -0
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +304 -0
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +839 -0
- data/vendor/assets/javascripts/foundation/foundation.js +8921 -0
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +118 -0
- data/vendor/assets/javascripts/foundation/foundation.min.js +10 -0
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +37 -0
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +434 -0
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +347 -0
- data/vendor/assets/javascripts/foundation/foundation.tab.js +37 -0
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +202 -0
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +380 -0
- data/vendor/assets/javascripts/jasmine/assert.coffee +62 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/MIT.LICENSE +20 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine-html.js +190 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine.css +166 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine.js +2476 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine_favicon.png +0 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/MIT.LICENSE +20 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/jasmine-html.js +681 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/jasmine.css +82 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/jasmine.js +2600 -0
- data/vendor/assets/javascripts/jquery-file-upload/README.md +68 -0
- data/vendor/assets/javascripts/jquery-file-upload/application.js +79 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/jquery.postmessage-transport.js +117 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/jquery.xdr-transport.js +85 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/postmessage.html +75 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/result.html +20 -0
- data/vendor/assets/javascripts/jquery-file-upload/index.html +176 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.fileupload-ui.js +547 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.fileupload.js +1477 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.iframe-transport.js +217 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.ui.widget.js +572 -0
- data/vendor/assets/javascripts/jquery-file-upload/package.json +60 -0
- data/vendor/assets/javascripts/jquery-file-upload/progressbar.gif +0 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/app.yaml +12 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/app/main.go +360 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/resize/resize.go +246 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/static/favicon.ico +0 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/static/robots.txt +2 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/app.yaml +16 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/main.py +145 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/static/favicon.ico +0 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/static/robots.txt +2 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/php/index.php +384 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/test/index.html +105 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/test/test.js +1116 -0
- data/vendor/assets/javascripts/jquery-file-upload/vendor/jquery.ui.widget.js +282 -0
- data/vendor/assets/javascripts/jquery/jquery-1.7.1.js +9266 -0
- data/vendor/assets/javascripts/jquery/jquery-1.7.1.min.js +4 -0
- data/vendor/assets/javascripts/jquery/jquery-2.2.2.js +9842 -0
- data/vendor/assets/javascripts/jquery/jquery-ui.min.js +13 -0
- data/vendor/assets/javascripts/jquery/jquery-uploadify.js +986 -0
- data/vendor/assets/javascripts/jquery/jquery.autocomplete.js +645 -0
- data/vendor/assets/javascripts/jquery/jquery.cookie.js +107 -0
- data/vendor/assets/javascripts/jquery/jquery.infinitecarousel3.js +409 -0
- data/vendor/assets/javascripts/jquery/jquery.infinitecarousel3.min.js +10 -0
- data/vendor/assets/javascripts/jquery/jquery.js +9842 -0
- data/vendor/assets/javascripts/json2.js +482 -0
- data/vendor/assets/javascripts/mustache.js +536 -0
- data/vendor/assets/javascripts/order.js +189 -0
- data/vendor/assets/javascripts/placeholder.js +426 -0
- data/vendor/assets/javascripts/rails.js +393 -0
- data/vendor/assets/javascripts/share_this.js +3 -0
- data/vendor/assets/javascripts/underscore.js +999 -0
- data/vendor/assets/javascripts/what-input.js +295 -0
- data/vendor/assets/stylesheets/fancybox/jquery.fancybox.css +274 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/css/app.css +0 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/css/foundation.css +4148 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/css/foundation.min.css +2 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/index.html +169 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/app.js +1 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/foundation.js +8921 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/foundation.min.js +4 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/jquery.js +9842 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/what-input.js +295 -0
- data/vendor/assets/stylesheets/foundation/foundation.css +4148 -0
- data/vendor/assets/stylesheets/jquery-file-upload/jquery.fileupload-ui.css +56 -0
- data/vendor/assets/stylesheets/reset-min.css +2 -0
- data/vendor/assets/stylesheets/trash/active_admin.css.scss +32 -0
- data/vendor/assets/stylesheets/trash/bootstrap-responsive.css +1092 -0
- data/vendor/assets/stylesheets/trash/bootstrap-responsive.min.css +9 -0
- data/vendor/assets/stylesheets/trash/bootstrap.css +6039 -0
- data/vendor/assets/stylesheets/trash/bootstrap.min.css +9 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/css/foundation.css +5331 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/css/foundation.min.css +1 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/css/normalize.css +410 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/index.html +166 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation.min.js +10 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.abide.js +201 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.accordion.js +41 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.alert.js +34 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.clearing.js +450 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.dropdown.js +184 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.interchange.js +304 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.joyride.js +839 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.js +416 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.magellan.js +118 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.offcanvas.js +37 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.orbit.js +434 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.reveal.js +347 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.tab.js +37 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.tooltip.js +202 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.topbar.js +380 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/jquery.js +8829 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/modernizr.js +4 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/custom.modernizr.js +4 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/fastclick.js +761 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/jquery.autocomplete.js +645 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/jquery.cookie.js +107 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/jquery.js +8829 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/placeholder.js +426 -0
- data/vendor/assets/stylesheets/trash/foundation-5.css +5331 -0
- data/vendor/assets/stylesheets/trash/foundation.min.css +1 -0
- data/vendor/assets/stylesheets/trash/grid.css +280 -0
- data/vendor/assets/stylesheets/trash/lightbox.css +210 -0
- data/vendor/assets/stylesheets/trash/normalize.css +410 -0
- data/vendor/assets/stylesheets/trash/scaffolds.css.scss +69 -0
- data/vendor/assets/stylesheets/trash/screen.css +858 -0
- data/vendor/assets/stylesheets/trash/uploadify.css +92 -0
- metadata +977 -0
@@ -0,0 +1,162 @@
|
|
1
|
+
/*!
|
2
|
+
* Thumbnail helper for fancyBox
|
3
|
+
* version: 1.0.7 (Mon, 01 Oct 2012)
|
4
|
+
* @requires fancyBox v2.0 or later
|
5
|
+
*
|
6
|
+
* Usage:
|
7
|
+
* $(".fancybox").fancybox({
|
8
|
+
* helpers : {
|
9
|
+
* thumbs: {
|
10
|
+
* width : 50,
|
11
|
+
* height : 50
|
12
|
+
* }
|
13
|
+
* }
|
14
|
+
* });
|
15
|
+
*
|
16
|
+
*/
|
17
|
+
(function ($) {
|
18
|
+
//Shortcut for fancyBox object
|
19
|
+
var F = $.fancybox;
|
20
|
+
|
21
|
+
//Add helper object
|
22
|
+
F.helpers.thumbs = {
|
23
|
+
defaults : {
|
24
|
+
width : 50, // thumbnail width
|
25
|
+
height : 50, // thumbnail height
|
26
|
+
position : 'bottom', // 'top' or 'bottom'
|
27
|
+
source : function ( item ) { // function to obtain the URL of the thumbnail image
|
28
|
+
var href;
|
29
|
+
|
30
|
+
if (item.element) {
|
31
|
+
href = $(item.element).find('img').attr('src');
|
32
|
+
}
|
33
|
+
|
34
|
+
if (!href && item.type === 'image' && item.href) {
|
35
|
+
href = item.href;
|
36
|
+
}
|
37
|
+
|
38
|
+
return href;
|
39
|
+
}
|
40
|
+
},
|
41
|
+
|
42
|
+
wrap : null,
|
43
|
+
list : null,
|
44
|
+
width : 0,
|
45
|
+
|
46
|
+
init: function (opts, obj) {
|
47
|
+
var that = this,
|
48
|
+
list,
|
49
|
+
thumbWidth = opts.width,
|
50
|
+
thumbHeight = opts.height,
|
51
|
+
thumbSource = opts.source;
|
52
|
+
|
53
|
+
//Build list structure
|
54
|
+
list = '';
|
55
|
+
|
56
|
+
for (var n = 0; n < obj.group.length; n++) {
|
57
|
+
list += '<li><a style="width:' + thumbWidth + 'px;height:' + thumbHeight + 'px;" href="javascript:jQuery.fancybox.jumpto(' + n + ');"></a></li>';
|
58
|
+
}
|
59
|
+
|
60
|
+
this.wrap = $('<div id="fancybox-thumbs"></div>').addClass(opts.position).appendTo('body');
|
61
|
+
this.list = $('<ul>' + list + '</ul>').appendTo(this.wrap);
|
62
|
+
|
63
|
+
//Load each thumbnail
|
64
|
+
$.each(obj.group, function (i) {
|
65
|
+
var href = thumbSource( obj.group[ i ] );
|
66
|
+
|
67
|
+
if (!href) {
|
68
|
+
return;
|
69
|
+
}
|
70
|
+
|
71
|
+
$("<img />").load(function () {
|
72
|
+
var width = this.width,
|
73
|
+
height = this.height,
|
74
|
+
widthRatio, heightRatio, parent;
|
75
|
+
|
76
|
+
if (!that.list || !width || !height) {
|
77
|
+
return;
|
78
|
+
}
|
79
|
+
|
80
|
+
//Calculate thumbnail width/height and center it
|
81
|
+
widthRatio = width / thumbWidth;
|
82
|
+
heightRatio = height / thumbHeight;
|
83
|
+
|
84
|
+
parent = that.list.children().eq(i).find('a');
|
85
|
+
|
86
|
+
if (widthRatio >= 1 && heightRatio >= 1) {
|
87
|
+
if (widthRatio > heightRatio) {
|
88
|
+
width = Math.floor(width / heightRatio);
|
89
|
+
height = thumbHeight;
|
90
|
+
|
91
|
+
} else {
|
92
|
+
width = thumbWidth;
|
93
|
+
height = Math.floor(height / widthRatio);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
$(this).css({
|
98
|
+
width : width,
|
99
|
+
height : height,
|
100
|
+
top : Math.floor(thumbHeight / 2 - height / 2),
|
101
|
+
left : Math.floor(thumbWidth / 2 - width / 2)
|
102
|
+
});
|
103
|
+
|
104
|
+
parent.width(thumbWidth).height(thumbHeight);
|
105
|
+
|
106
|
+
$(this).hide().appendTo(parent).fadeIn(300);
|
107
|
+
|
108
|
+
}).attr('src', href);
|
109
|
+
});
|
110
|
+
|
111
|
+
//Set initial width
|
112
|
+
this.width = this.list.children().eq(0).outerWidth(true);
|
113
|
+
|
114
|
+
this.list.width(this.width * (obj.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5)));
|
115
|
+
},
|
116
|
+
|
117
|
+
beforeLoad: function (opts, obj) {
|
118
|
+
//Remove self if gallery do not have at least two items
|
119
|
+
if (obj.group.length < 2) {
|
120
|
+
obj.helpers.thumbs = false;
|
121
|
+
|
122
|
+
return;
|
123
|
+
}
|
124
|
+
|
125
|
+
//Increase bottom margin to give space for thumbs
|
126
|
+
obj.margin[ opts.position === 'top' ? 0 : 2 ] += ((opts.height) + 15);
|
127
|
+
},
|
128
|
+
|
129
|
+
afterShow: function (opts, obj) {
|
130
|
+
//Check if exists and create or update list
|
131
|
+
if (this.list) {
|
132
|
+
this.onUpdate(opts, obj);
|
133
|
+
|
134
|
+
} else {
|
135
|
+
this.init(opts, obj);
|
136
|
+
}
|
137
|
+
|
138
|
+
//Set active element
|
139
|
+
this.list.children().removeClass('active').eq(obj.index).addClass('active');
|
140
|
+
},
|
141
|
+
|
142
|
+
//Center list
|
143
|
+
onUpdate: function (opts, obj) {
|
144
|
+
if (this.list) {
|
145
|
+
this.list.stop(true).animate({
|
146
|
+
'left': Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5))
|
147
|
+
}, 150);
|
148
|
+
}
|
149
|
+
},
|
150
|
+
|
151
|
+
beforeClose: function () {
|
152
|
+
if (this.wrap) {
|
153
|
+
this.wrap.remove();
|
154
|
+
}
|
155
|
+
|
156
|
+
this.wrap = null;
|
157
|
+
this.list = null;
|
158
|
+
this.width = 0;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
}(jQuery));
|
@@ -0,0 +1,274 @@
|
|
1
|
+
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
|
2
|
+
.fancybox-wrap,
|
3
|
+
.fancybox-skin,
|
4
|
+
.fancybox-outer,
|
5
|
+
.fancybox-inner,
|
6
|
+
.fancybox-image,
|
7
|
+
.fancybox-wrap iframe,
|
8
|
+
.fancybox-wrap object,
|
9
|
+
.fancybox-nav,
|
10
|
+
.fancybox-nav span,
|
11
|
+
.fancybox-tmp
|
12
|
+
{
|
13
|
+
padding: 0;
|
14
|
+
margin: 0;
|
15
|
+
border: 0;
|
16
|
+
outline: none;
|
17
|
+
vertical-align: top;
|
18
|
+
}
|
19
|
+
|
20
|
+
.fancybox-wrap {
|
21
|
+
position: absolute;
|
22
|
+
top: 0;
|
23
|
+
left: 0;
|
24
|
+
z-index: 8020;
|
25
|
+
}
|
26
|
+
|
27
|
+
.fancybox-skin {
|
28
|
+
position: relative;
|
29
|
+
background: #f9f9f9;
|
30
|
+
color: #444;
|
31
|
+
text-shadow: none;
|
32
|
+
-webkit-border-radius: 4px;
|
33
|
+
-moz-border-radius: 4px;
|
34
|
+
border-radius: 4px;
|
35
|
+
}
|
36
|
+
|
37
|
+
.fancybox-opened {
|
38
|
+
z-index: 8030;
|
39
|
+
}
|
40
|
+
|
41
|
+
.fancybox-opened .fancybox-skin {
|
42
|
+
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
43
|
+
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
44
|
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
45
|
+
}
|
46
|
+
|
47
|
+
.fancybox-outer, .fancybox-inner {
|
48
|
+
position: relative;
|
49
|
+
}
|
50
|
+
|
51
|
+
.fancybox-inner {
|
52
|
+
overflow: hidden;
|
53
|
+
}
|
54
|
+
|
55
|
+
.fancybox-type-iframe .fancybox-inner {
|
56
|
+
-webkit-overflow-scrolling: touch;
|
57
|
+
}
|
58
|
+
|
59
|
+
.fancybox-error {
|
60
|
+
color: #444;
|
61
|
+
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
62
|
+
margin: 0;
|
63
|
+
padding: 15px;
|
64
|
+
white-space: nowrap;
|
65
|
+
}
|
66
|
+
|
67
|
+
.fancybox-image, .fancybox-iframe {
|
68
|
+
display: block;
|
69
|
+
width: 100%;
|
70
|
+
height: 100%;
|
71
|
+
}
|
72
|
+
|
73
|
+
.fancybox-image {
|
74
|
+
max-width: 100%;
|
75
|
+
max-height: 100%;
|
76
|
+
}
|
77
|
+
|
78
|
+
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
79
|
+
background-image: url('fancybox_sprite.png');
|
80
|
+
}
|
81
|
+
|
82
|
+
#fancybox-loading {
|
83
|
+
position: fixed;
|
84
|
+
top: 50%;
|
85
|
+
left: 50%;
|
86
|
+
margin-top: -22px;
|
87
|
+
margin-left: -22px;
|
88
|
+
background-position: 0 -108px;
|
89
|
+
opacity: 0.8;
|
90
|
+
cursor: pointer;
|
91
|
+
z-index: 8060;
|
92
|
+
}
|
93
|
+
|
94
|
+
#fancybox-loading div {
|
95
|
+
width: 44px;
|
96
|
+
height: 44px;
|
97
|
+
background: url('fancybox_loading.gif') center center no-repeat;
|
98
|
+
}
|
99
|
+
|
100
|
+
.fancybox-close {
|
101
|
+
position: absolute;
|
102
|
+
top: -18px;
|
103
|
+
right: -18px;
|
104
|
+
width: 36px;
|
105
|
+
height: 36px;
|
106
|
+
cursor: pointer;
|
107
|
+
z-index: 8040;
|
108
|
+
}
|
109
|
+
|
110
|
+
.fancybox-nav {
|
111
|
+
position: absolute;
|
112
|
+
top: 0;
|
113
|
+
width: 40%;
|
114
|
+
height: 100%;
|
115
|
+
cursor: pointer;
|
116
|
+
text-decoration: none;
|
117
|
+
background: transparent url('blank.gif'); /* helps IE */
|
118
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
119
|
+
z-index: 8040;
|
120
|
+
}
|
121
|
+
|
122
|
+
.fancybox-prev {
|
123
|
+
left: 0;
|
124
|
+
}
|
125
|
+
|
126
|
+
.fancybox-next {
|
127
|
+
right: 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
.fancybox-nav span {
|
131
|
+
position: absolute;
|
132
|
+
top: 50%;
|
133
|
+
width: 36px;
|
134
|
+
height: 34px;
|
135
|
+
margin-top: -18px;
|
136
|
+
cursor: pointer;
|
137
|
+
z-index: 8040;
|
138
|
+
visibility: hidden;
|
139
|
+
}
|
140
|
+
|
141
|
+
.fancybox-prev span {
|
142
|
+
left: 10px;
|
143
|
+
background-position: 0 -36px;
|
144
|
+
}
|
145
|
+
|
146
|
+
.fancybox-next span {
|
147
|
+
right: 10px;
|
148
|
+
background-position: 0 -72px;
|
149
|
+
}
|
150
|
+
|
151
|
+
.fancybox-nav:hover span {
|
152
|
+
visibility: visible;
|
153
|
+
}
|
154
|
+
|
155
|
+
.fancybox-tmp {
|
156
|
+
position: absolute;
|
157
|
+
top: -99999px;
|
158
|
+
left: -99999px;
|
159
|
+
visibility: hidden;
|
160
|
+
max-width: 99999px;
|
161
|
+
max-height: 99999px;
|
162
|
+
overflow: visible !important;
|
163
|
+
}
|
164
|
+
|
165
|
+
/* Overlay helper */
|
166
|
+
|
167
|
+
.fancybox-lock {
|
168
|
+
overflow: hidden !important;
|
169
|
+
width: auto;
|
170
|
+
}
|
171
|
+
|
172
|
+
.fancybox-lock body {
|
173
|
+
overflow: hidden !important;
|
174
|
+
}
|
175
|
+
|
176
|
+
.fancybox-lock-test {
|
177
|
+
overflow-y: hidden !important;
|
178
|
+
}
|
179
|
+
|
180
|
+
.fancybox-overlay {
|
181
|
+
position: absolute;
|
182
|
+
top: 0;
|
183
|
+
left: 0;
|
184
|
+
overflow: hidden;
|
185
|
+
display: none;
|
186
|
+
z-index: 8010;
|
187
|
+
background: url('fancybox_overlay.png');
|
188
|
+
}
|
189
|
+
|
190
|
+
.fancybox-overlay-fixed {
|
191
|
+
position: fixed;
|
192
|
+
bottom: 0;
|
193
|
+
right: 0;
|
194
|
+
}
|
195
|
+
|
196
|
+
.fancybox-lock .fancybox-overlay {
|
197
|
+
overflow: auto;
|
198
|
+
overflow-y: scroll;
|
199
|
+
}
|
200
|
+
|
201
|
+
/* Title helper */
|
202
|
+
|
203
|
+
.fancybox-title {
|
204
|
+
visibility: hidden;
|
205
|
+
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
206
|
+
position: relative;
|
207
|
+
text-shadow: none;
|
208
|
+
z-index: 8050;
|
209
|
+
}
|
210
|
+
|
211
|
+
.fancybox-opened .fancybox-title {
|
212
|
+
visibility: visible;
|
213
|
+
}
|
214
|
+
|
215
|
+
.fancybox-title-float-wrap {
|
216
|
+
position: absolute;
|
217
|
+
bottom: 0;
|
218
|
+
right: 50%;
|
219
|
+
margin-bottom: -35px;
|
220
|
+
z-index: 8050;
|
221
|
+
text-align: center;
|
222
|
+
}
|
223
|
+
|
224
|
+
.fancybox-title-float-wrap .child {
|
225
|
+
display: inline-block;
|
226
|
+
margin-right: -100%;
|
227
|
+
padding: 2px 20px;
|
228
|
+
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
|
229
|
+
background: rgba(0, 0, 0, 0.8);
|
230
|
+
-webkit-border-radius: 15px;
|
231
|
+
-moz-border-radius: 15px;
|
232
|
+
border-radius: 15px;
|
233
|
+
text-shadow: 0 1px 2px #222;
|
234
|
+
color: #FFF;
|
235
|
+
font-weight: bold;
|
236
|
+
line-height: 24px;
|
237
|
+
white-space: nowrap;
|
238
|
+
}
|
239
|
+
|
240
|
+
.fancybox-title-outside-wrap {
|
241
|
+
position: relative;
|
242
|
+
margin-top: 10px;
|
243
|
+
color: #fff;
|
244
|
+
}
|
245
|
+
|
246
|
+
.fancybox-title-inside-wrap {
|
247
|
+
padding-top: 10px;
|
248
|
+
}
|
249
|
+
|
250
|
+
.fancybox-title-over-wrap {
|
251
|
+
position: absolute;
|
252
|
+
bottom: 0;
|
253
|
+
left: 0;
|
254
|
+
color: #fff;
|
255
|
+
padding: 10px;
|
256
|
+
background: #000;
|
257
|
+
background: rgba(0, 0, 0, .8);
|
258
|
+
}
|
259
|
+
|
260
|
+
/*Retina graphics!*/
|
261
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
262
|
+
only screen and (min--moz-device-pixel-ratio: 1.5),
|
263
|
+
only screen and (min-device-pixel-ratio: 1.5){
|
264
|
+
|
265
|
+
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
266
|
+
background-image: url('fancybox_sprite@2x.png');
|
267
|
+
background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
|
268
|
+
}
|
269
|
+
|
270
|
+
#fancybox-loading div {
|
271
|
+
background-image: url('fancybox_loading@2x.gif');
|
272
|
+
background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
|
273
|
+
}
|
274
|
+
}
|
@@ -0,0 +1,2020 @@
|
|
1
|
+
/*!
|
2
|
+
* fancyBox - jQuery Plugin
|
3
|
+
* version: 2.1.5 (Fri, 14 Jun 2013)
|
4
|
+
* @requires jQuery v1.6 or later
|
5
|
+
*
|
6
|
+
* Examples at http://fancyapps.com/fancybox/
|
7
|
+
* License: www.fancyapps.com/fancybox/#license
|
8
|
+
*
|
9
|
+
* Copyright 2012 Janis Skarnelis - janis@fancyapps.com
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
|
13
|
+
(function (window, document, $, undefined) {
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
var H = $("html"),
|
17
|
+
W = $(window),
|
18
|
+
D = $(document),
|
19
|
+
F = $.fancybox = function () {
|
20
|
+
F.open.apply( this, arguments );
|
21
|
+
},
|
22
|
+
IE = navigator.userAgent.match(/msie/i),
|
23
|
+
didUpdate = null,
|
24
|
+
isTouch = document.createTouch !== undefined,
|
25
|
+
|
26
|
+
isQuery = function(obj) {
|
27
|
+
return obj && obj.hasOwnProperty && obj instanceof $;
|
28
|
+
},
|
29
|
+
isString = function(str) {
|
30
|
+
return str && $.type(str) === "string";
|
31
|
+
},
|
32
|
+
isPercentage = function(str) {
|
33
|
+
return isString(str) && str.indexOf('%') > 0;
|
34
|
+
},
|
35
|
+
isScrollable = function(el) {
|
36
|
+
return (el && !(el.style.overflow && el.style.overflow === 'hidden') && ((el.clientWidth && el.scrollWidth > el.clientWidth) || (el.clientHeight && el.scrollHeight > el.clientHeight)));
|
37
|
+
},
|
38
|
+
getScalar = function(orig, dim) {
|
39
|
+
var value = parseInt(orig, 10) || 0;
|
40
|
+
|
41
|
+
if (dim && isPercentage(orig)) {
|
42
|
+
value = F.getViewport()[ dim ] / 100 * value;
|
43
|
+
}
|
44
|
+
|
45
|
+
return Math.ceil(value);
|
46
|
+
},
|
47
|
+
getValue = function(value, dim) {
|
48
|
+
return getScalar(value, dim) + 'px';
|
49
|
+
};
|
50
|
+
|
51
|
+
$.extend(F, {
|
52
|
+
// The current version of fancyBox
|
53
|
+
version: '2.1.5',
|
54
|
+
|
55
|
+
defaults: {
|
56
|
+
padding : 15,
|
57
|
+
margin : 20,
|
58
|
+
|
59
|
+
width : 800,
|
60
|
+
height : 600,
|
61
|
+
minWidth : 100,
|
62
|
+
minHeight : 100,
|
63
|
+
maxWidth : 9999,
|
64
|
+
maxHeight : 9999,
|
65
|
+
pixelRatio: 1, // Set to 2 for retina display support
|
66
|
+
|
67
|
+
autoSize : true,
|
68
|
+
autoHeight : false,
|
69
|
+
autoWidth : false,
|
70
|
+
|
71
|
+
autoResize : true,
|
72
|
+
autoCenter : !isTouch,
|
73
|
+
fitToView : true,
|
74
|
+
aspectRatio : false,
|
75
|
+
topRatio : 0.5,
|
76
|
+
leftRatio : 0.5,
|
77
|
+
|
78
|
+
scrolling : 'auto', // 'auto', 'yes' or 'no'
|
79
|
+
wrapCSS : '',
|
80
|
+
|
81
|
+
arrows : true,
|
82
|
+
closeBtn : true,
|
83
|
+
closeClick : false,
|
84
|
+
nextClick : false,
|
85
|
+
mouseWheel : true,
|
86
|
+
autoPlay : false,
|
87
|
+
playSpeed : 3000,
|
88
|
+
preload : 3,
|
89
|
+
modal : false,
|
90
|
+
loop : true,
|
91
|
+
|
92
|
+
ajax : {
|
93
|
+
dataType : 'html',
|
94
|
+
headers : { 'X-fancyBox': true }
|
95
|
+
},
|
96
|
+
iframe : {
|
97
|
+
scrolling : 'auto',
|
98
|
+
preload : true
|
99
|
+
},
|
100
|
+
swf : {
|
101
|
+
wmode: 'transparent',
|
102
|
+
allowfullscreen : 'true',
|
103
|
+
allowscriptaccess : 'always'
|
104
|
+
},
|
105
|
+
|
106
|
+
keys : {
|
107
|
+
next : {
|
108
|
+
13 : 'left', // enter
|
109
|
+
34 : 'up', // page down
|
110
|
+
39 : 'left', // right arrow
|
111
|
+
40 : 'up' // down arrow
|
112
|
+
},
|
113
|
+
prev : {
|
114
|
+
8 : 'right', // backspace
|
115
|
+
33 : 'down', // page up
|
116
|
+
37 : 'right', // left arrow
|
117
|
+
38 : 'down' // up arrow
|
118
|
+
},
|
119
|
+
close : [27], // escape key
|
120
|
+
play : [32], // space - start/stop slideshow
|
121
|
+
toggle : [70] // letter "f" - toggle fullscreen
|
122
|
+
},
|
123
|
+
|
124
|
+
direction : {
|
125
|
+
next : 'left',
|
126
|
+
prev : 'right'
|
127
|
+
},
|
128
|
+
|
129
|
+
scrollOutside : true,
|
130
|
+
|
131
|
+
// Override some properties
|
132
|
+
index : 0,
|
133
|
+
type : null,
|
134
|
+
href : null,
|
135
|
+
content : null,
|
136
|
+
title : null,
|
137
|
+
|
138
|
+
// HTML templates
|
139
|
+
tpl: {
|
140
|
+
wrap : '<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',
|
141
|
+
image : '<img class="fancybox-image" src="{href}" alt="" />',
|
142
|
+
iframe : '<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen' + (IE ? ' allowtransparency="true"' : '') + '></iframe>',
|
143
|
+
error : '<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
|
144
|
+
closeBtn : '<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',
|
145
|
+
next : '<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',
|
146
|
+
prev : '<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'
|
147
|
+
},
|
148
|
+
|
149
|
+
// Properties for each animation type
|
150
|
+
// Opening fancyBox
|
151
|
+
openEffect : 'fade', // 'elastic', 'fade' or 'none'
|
152
|
+
openSpeed : 250,
|
153
|
+
openEasing : 'swing',
|
154
|
+
openOpacity : true,
|
155
|
+
openMethod : 'zoomIn',
|
156
|
+
|
157
|
+
// Closing fancyBox
|
158
|
+
closeEffect : 'fade', // 'elastic', 'fade' or 'none'
|
159
|
+
closeSpeed : 250,
|
160
|
+
closeEasing : 'swing',
|
161
|
+
closeOpacity : true,
|
162
|
+
closeMethod : 'zoomOut',
|
163
|
+
|
164
|
+
// Changing next gallery item
|
165
|
+
nextEffect : 'elastic', // 'elastic', 'fade' or 'none'
|
166
|
+
nextSpeed : 250,
|
167
|
+
nextEasing : 'swing',
|
168
|
+
nextMethod : 'changeIn',
|
169
|
+
|
170
|
+
// Changing previous gallery item
|
171
|
+
prevEffect : 'elastic', // 'elastic', 'fade' or 'none'
|
172
|
+
prevSpeed : 250,
|
173
|
+
prevEasing : 'swing',
|
174
|
+
prevMethod : 'changeOut',
|
175
|
+
|
176
|
+
// Enable default helpers
|
177
|
+
helpers : {
|
178
|
+
overlay : true,
|
179
|
+
title : true
|
180
|
+
},
|
181
|
+
|
182
|
+
// Callbacks
|
183
|
+
onCancel : $.noop, // If canceling
|
184
|
+
beforeLoad : $.noop, // Before loading
|
185
|
+
afterLoad : $.noop, // After loading
|
186
|
+
beforeShow : $.noop, // Before changing in current item
|
187
|
+
afterShow : $.noop, // After opening
|
188
|
+
beforeChange : $.noop, // Before changing gallery item
|
189
|
+
beforeClose : $.noop, // Before closing
|
190
|
+
afterClose : $.noop // After closing
|
191
|
+
},
|
192
|
+
|
193
|
+
//Current state
|
194
|
+
group : {}, // Selected group
|
195
|
+
opts : {}, // Group options
|
196
|
+
previous : null, // Previous element
|
197
|
+
coming : null, // Element being loaded
|
198
|
+
current : null, // Currently loaded element
|
199
|
+
isActive : false, // Is activated
|
200
|
+
isOpen : false, // Is currently open
|
201
|
+
isOpened : false, // Have been fully opened at least once
|
202
|
+
|
203
|
+
wrap : null,
|
204
|
+
skin : null,
|
205
|
+
outer : null,
|
206
|
+
inner : null,
|
207
|
+
|
208
|
+
player : {
|
209
|
+
timer : null,
|
210
|
+
isActive : false
|
211
|
+
},
|
212
|
+
|
213
|
+
// Loaders
|
214
|
+
ajaxLoad : null,
|
215
|
+
imgPreload : null,
|
216
|
+
|
217
|
+
// Some collections
|
218
|
+
transitions : {},
|
219
|
+
helpers : {},
|
220
|
+
|
221
|
+
/*
|
222
|
+
* Static methods
|
223
|
+
*/
|
224
|
+
|
225
|
+
open: function (group, opts) {
|
226
|
+
if (!group) {
|
227
|
+
return;
|
228
|
+
}
|
229
|
+
|
230
|
+
if (!$.isPlainObject(opts)) {
|
231
|
+
opts = {};
|
232
|
+
}
|
233
|
+
|
234
|
+
// Close if already active
|
235
|
+
if (false === F.close(true)) {
|
236
|
+
return;
|
237
|
+
}
|
238
|
+
|
239
|
+
// Normalize group
|
240
|
+
if (!$.isArray(group)) {
|
241
|
+
group = isQuery(group) ? $(group).get() : [group];
|
242
|
+
}
|
243
|
+
|
244
|
+
// Recheck if the type of each element is `object` and set content type (image, ajax, etc)
|
245
|
+
$.each(group, function(i, element) {
|
246
|
+
var obj = {},
|
247
|
+
href,
|
248
|
+
title,
|
249
|
+
content,
|
250
|
+
type,
|
251
|
+
rez,
|
252
|
+
hrefParts,
|
253
|
+
selector;
|
254
|
+
|
255
|
+
if ($.type(element) === "object") {
|
256
|
+
// Check if is DOM element
|
257
|
+
if (element.nodeType) {
|
258
|
+
element = $(element);
|
259
|
+
}
|
260
|
+
|
261
|
+
if (isQuery(element)) {
|
262
|
+
obj = {
|
263
|
+
href : element.data('fancybox-href') || element.attr('href'),
|
264
|
+
title : element.data('fancybox-title') || element.attr('title'),
|
265
|
+
isDom : true,
|
266
|
+
element : element
|
267
|
+
};
|
268
|
+
|
269
|
+
if ($.metadata) {
|
270
|
+
$.extend(true, obj, element.metadata());
|
271
|
+
}
|
272
|
+
|
273
|
+
} else {
|
274
|
+
obj = element;
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
href = opts.href || obj.href || (isString(element) ? element : null);
|
279
|
+
title = opts.title !== undefined ? opts.title : obj.title || '';
|
280
|
+
|
281
|
+
content = opts.content || obj.content;
|
282
|
+
type = content ? 'html' : (opts.type || obj.type);
|
283
|
+
|
284
|
+
if (!type && obj.isDom) {
|
285
|
+
type = element.data('fancybox-type');
|
286
|
+
|
287
|
+
if (!type) {
|
288
|
+
rez = element.prop('class').match(/fancybox\.(\w+)/);
|
289
|
+
type = rez ? rez[1] : null;
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
if (isString(href)) {
|
294
|
+
// Try to guess the content type
|
295
|
+
if (!type) {
|
296
|
+
if (F.isImage(href)) {
|
297
|
+
type = 'image';
|
298
|
+
|
299
|
+
} else if (F.isSWF(href)) {
|
300
|
+
type = 'swf';
|
301
|
+
|
302
|
+
} else if (href.charAt(0) === '#') {
|
303
|
+
type = 'inline';
|
304
|
+
|
305
|
+
} else if (isString(element)) {
|
306
|
+
type = 'html';
|
307
|
+
content = element;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
// Split url into two pieces with source url and content selector, e.g,
|
312
|
+
// "/mypage.html #my_id" will load "/mypage.html" and display element having id "my_id"
|
313
|
+
if (type === 'ajax') {
|
314
|
+
hrefParts = href.split(/\s+/, 2);
|
315
|
+
href = hrefParts.shift();
|
316
|
+
selector = hrefParts.shift();
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
320
|
+
if (!content) {
|
321
|
+
if (type === 'inline') {
|
322
|
+
if (href) {
|
323
|
+
content = $( isString(href) ? href.replace(/.*(?=#[^\s]+$)/, '') : href ); //strip for ie7
|
324
|
+
|
325
|
+
} else if (obj.isDom) {
|
326
|
+
content = element;
|
327
|
+
}
|
328
|
+
|
329
|
+
} else if (type === 'html') {
|
330
|
+
content = href;
|
331
|
+
|
332
|
+
} else if (!type && !href && obj.isDom) {
|
333
|
+
type = 'inline';
|
334
|
+
content = element;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
|
338
|
+
$.extend(obj, {
|
339
|
+
href : href,
|
340
|
+
type : type,
|
341
|
+
content : content,
|
342
|
+
title : title,
|
343
|
+
selector : selector
|
344
|
+
});
|
345
|
+
|
346
|
+
group[ i ] = obj;
|
347
|
+
});
|
348
|
+
|
349
|
+
// Extend the defaults
|
350
|
+
F.opts = $.extend(true, {}, F.defaults, opts);
|
351
|
+
|
352
|
+
// All options are merged recursive except keys
|
353
|
+
if (opts.keys !== undefined) {
|
354
|
+
F.opts.keys = opts.keys ? $.extend({}, F.defaults.keys, opts.keys) : false;
|
355
|
+
}
|
356
|
+
|
357
|
+
F.group = group;
|
358
|
+
|
359
|
+
return F._start(F.opts.index);
|
360
|
+
},
|
361
|
+
|
362
|
+
// Cancel image loading or abort ajax request
|
363
|
+
cancel: function () {
|
364
|
+
var coming = F.coming;
|
365
|
+
|
366
|
+
if (!coming || false === F.trigger('onCancel')) {
|
367
|
+
return;
|
368
|
+
}
|
369
|
+
|
370
|
+
F.hideLoading();
|
371
|
+
|
372
|
+
if (F.ajaxLoad) {
|
373
|
+
F.ajaxLoad.abort();
|
374
|
+
}
|
375
|
+
|
376
|
+
F.ajaxLoad = null;
|
377
|
+
|
378
|
+
if (F.imgPreload) {
|
379
|
+
F.imgPreload.onload = F.imgPreload.onerror = null;
|
380
|
+
}
|
381
|
+
|
382
|
+
if (coming.wrap) {
|
383
|
+
coming.wrap.stop(true, true).trigger('onReset').remove();
|
384
|
+
}
|
385
|
+
|
386
|
+
F.coming = null;
|
387
|
+
|
388
|
+
// If the first item has been canceled, then clear everything
|
389
|
+
if (!F.current) {
|
390
|
+
F._afterZoomOut( coming );
|
391
|
+
}
|
392
|
+
},
|
393
|
+
|
394
|
+
// Start closing animation if is open; remove immediately if opening/closing
|
395
|
+
close: function (event) {
|
396
|
+
F.cancel();
|
397
|
+
|
398
|
+
if (false === F.trigger('beforeClose')) {
|
399
|
+
return;
|
400
|
+
}
|
401
|
+
|
402
|
+
F.unbindEvents();
|
403
|
+
|
404
|
+
if (!F.isActive) {
|
405
|
+
return;
|
406
|
+
}
|
407
|
+
|
408
|
+
if (!F.isOpen || event === true) {
|
409
|
+
$('.fancybox-wrap').stop(true).trigger('onReset').remove();
|
410
|
+
|
411
|
+
F._afterZoomOut();
|
412
|
+
|
413
|
+
} else {
|
414
|
+
F.isOpen = F.isOpened = false;
|
415
|
+
F.isClosing = true;
|
416
|
+
|
417
|
+
$('.fancybox-item, .fancybox-nav').remove();
|
418
|
+
|
419
|
+
F.wrap.stop(true, true).removeClass('fancybox-opened');
|
420
|
+
|
421
|
+
F.transitions[ F.current.closeMethod ]();
|
422
|
+
}
|
423
|
+
},
|
424
|
+
|
425
|
+
// Manage slideshow:
|
426
|
+
// $.fancybox.play(); - toggle slideshow
|
427
|
+
// $.fancybox.play( true ); - start
|
428
|
+
// $.fancybox.play( false ); - stop
|
429
|
+
play: function ( action ) {
|
430
|
+
var clear = function () {
|
431
|
+
clearTimeout(F.player.timer);
|
432
|
+
},
|
433
|
+
set = function () {
|
434
|
+
clear();
|
435
|
+
|
436
|
+
if (F.current && F.player.isActive) {
|
437
|
+
F.player.timer = setTimeout(F.next, F.current.playSpeed);
|
438
|
+
}
|
439
|
+
},
|
440
|
+
stop = function () {
|
441
|
+
clear();
|
442
|
+
|
443
|
+
D.unbind('.player');
|
444
|
+
|
445
|
+
F.player.isActive = false;
|
446
|
+
|
447
|
+
F.trigger('onPlayEnd');
|
448
|
+
},
|
449
|
+
start = function () {
|
450
|
+
if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) {
|
451
|
+
F.player.isActive = true;
|
452
|
+
|
453
|
+
D.bind({
|
454
|
+
'onCancel.player beforeClose.player' : stop,
|
455
|
+
'onUpdate.player' : set,
|
456
|
+
'beforeLoad.player' : clear
|
457
|
+
});
|
458
|
+
|
459
|
+
set();
|
460
|
+
|
461
|
+
F.trigger('onPlayStart');
|
462
|
+
}
|
463
|
+
};
|
464
|
+
|
465
|
+
if (action === true || (!F.player.isActive && action !== false)) {
|
466
|
+
start();
|
467
|
+
} else {
|
468
|
+
stop();
|
469
|
+
}
|
470
|
+
},
|
471
|
+
|
472
|
+
// Navigate to next gallery item
|
473
|
+
next: function ( direction ) {
|
474
|
+
var current = F.current;
|
475
|
+
|
476
|
+
if (current) {
|
477
|
+
if (!isString(direction)) {
|
478
|
+
direction = current.direction.next;
|
479
|
+
}
|
480
|
+
|
481
|
+
F.jumpto(current.index + 1, direction, 'next');
|
482
|
+
}
|
483
|
+
},
|
484
|
+
|
485
|
+
// Navigate to previous gallery item
|
486
|
+
prev: function ( direction ) {
|
487
|
+
var current = F.current;
|
488
|
+
|
489
|
+
if (current) {
|
490
|
+
if (!isString(direction)) {
|
491
|
+
direction = current.direction.prev;
|
492
|
+
}
|
493
|
+
|
494
|
+
F.jumpto(current.index - 1, direction, 'prev');
|
495
|
+
}
|
496
|
+
},
|
497
|
+
|
498
|
+
// Navigate to gallery item by index
|
499
|
+
jumpto: function ( index, direction, router ) {
|
500
|
+
var current = F.current;
|
501
|
+
|
502
|
+
if (!current) {
|
503
|
+
return;
|
504
|
+
}
|
505
|
+
|
506
|
+
index = getScalar(index);
|
507
|
+
|
508
|
+
F.direction = direction || current.direction[ (index >= current.index ? 'next' : 'prev') ];
|
509
|
+
F.router = router || 'jumpto';
|
510
|
+
|
511
|
+
if (current.loop) {
|
512
|
+
if (index < 0) {
|
513
|
+
index = current.group.length + (index % current.group.length);
|
514
|
+
}
|
515
|
+
|
516
|
+
index = index % current.group.length;
|
517
|
+
}
|
518
|
+
|
519
|
+
if (current.group[ index ] !== undefined) {
|
520
|
+
F.cancel();
|
521
|
+
|
522
|
+
F._start(index);
|
523
|
+
}
|
524
|
+
},
|
525
|
+
|
526
|
+
// Center inside viewport and toggle position type to fixed or absolute if needed
|
527
|
+
reposition: function (e, onlyAbsolute) {
|
528
|
+
var current = F.current,
|
529
|
+
wrap = current ? current.wrap : null,
|
530
|
+
pos;
|
531
|
+
|
532
|
+
if (wrap) {
|
533
|
+
pos = F._getPosition(onlyAbsolute);
|
534
|
+
|
535
|
+
if (e && e.type === 'scroll') {
|
536
|
+
delete pos.position;
|
537
|
+
|
538
|
+
wrap.stop(true, true).animate(pos, 200);
|
539
|
+
|
540
|
+
} else {
|
541
|
+
wrap.css(pos);
|
542
|
+
|
543
|
+
current.pos = $.extend({}, current.dim, pos);
|
544
|
+
}
|
545
|
+
}
|
546
|
+
},
|
547
|
+
|
548
|
+
update: function (e) {
|
549
|
+
var type = (e && e.type),
|
550
|
+
anyway = !type || type === 'orientationchange';
|
551
|
+
|
552
|
+
if (anyway) {
|
553
|
+
clearTimeout(didUpdate);
|
554
|
+
|
555
|
+
didUpdate = null;
|
556
|
+
}
|
557
|
+
|
558
|
+
if (!F.isOpen || didUpdate) {
|
559
|
+
return;
|
560
|
+
}
|
561
|
+
|
562
|
+
didUpdate = setTimeout(function() {
|
563
|
+
var current = F.current;
|
564
|
+
|
565
|
+
if (!current || F.isClosing) {
|
566
|
+
return;
|
567
|
+
}
|
568
|
+
|
569
|
+
F.wrap.removeClass('fancybox-tmp');
|
570
|
+
|
571
|
+
if (anyway || type === 'load' || (type === 'resize' && current.autoResize)) {
|
572
|
+
F._setDimension();
|
573
|
+
}
|
574
|
+
|
575
|
+
if (!(type === 'scroll' && current.canShrink)) {
|
576
|
+
F.reposition(e);
|
577
|
+
}
|
578
|
+
|
579
|
+
F.trigger('onUpdate');
|
580
|
+
|
581
|
+
didUpdate = null;
|
582
|
+
|
583
|
+
}, (anyway && !isTouch ? 0 : 300));
|
584
|
+
},
|
585
|
+
|
586
|
+
// Shrink content to fit inside viewport or restore if resized
|
587
|
+
toggle: function ( action ) {
|
588
|
+
if (F.isOpen) {
|
589
|
+
F.current.fitToView = $.type(action) === "boolean" ? action : !F.current.fitToView;
|
590
|
+
|
591
|
+
// Help browser to restore document dimensions
|
592
|
+
if (isTouch) {
|
593
|
+
F.wrap.removeAttr('style').addClass('fancybox-tmp');
|
594
|
+
|
595
|
+
F.trigger('onUpdate');
|
596
|
+
}
|
597
|
+
|
598
|
+
F.update();
|
599
|
+
}
|
600
|
+
},
|
601
|
+
|
602
|
+
hideLoading: function () {
|
603
|
+
D.unbind('.loading');
|
604
|
+
|
605
|
+
$('#fancybox-loading').remove();
|
606
|
+
},
|
607
|
+
|
608
|