ish_lib_engine 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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 +19 -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_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_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/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/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_engine/application_helper.rb +3 -0
- data/app/helpers/ish_lib_engine/application_helper.rb~ +4 -0
- data/app/models/gallery.rb +1 -3
- data/app/models/paypal/ipn.rb +8 -0
- data/app/models/paypal/ipn.rb~ +8 -0
- data/app/models/paypal/payment.rb +21 -0
- data/app/models/paypal/payment.rb~ +7 -0
- data/app/models/site.rb~ +83 -0
- data/app/models/tag.rb +3 -1
- data/app/models/tag.rb~ +78 -0
- data/app/models/user.rb +1 -0
- data/app/models/user.rb~ +122 -0
- data/app/views/ads/_adbrite.haml +4 -0
- data/app/views/ads/_banner_blue.haml +2 -0
- data/app/views/ads/_half_banner.erb +11 -0
- data/app/views/ads/_half_banner.haml +15 -0
- data/app/views/ads/_large_rectangle.haml +10 -0
- data/app/views/ads/_large_rectangle_gray-blue-dark.erb +16 -0
- data/app/views/ads/_large_rectangle_gray-blue.erb +14 -0
- data/app/views/ads/_large_rectangle_text.haml +16 -0
- data/app/views/ads/_large_rectangle_wrapped.haml +5 -0
- data/app/views/ads/_leaderboard.haml +5 -0
- data/app/views/ads/_leaderboard_blue.haml +3 -0
- data/app/views/ads/_leaderboard_gray-blue-dark.erb +14 -0
- data/app/views/ads/_leaderboard_gray-blue.erb +14 -0
- data/app/views/ads/_leaderboard_gray.erb +13 -0
- data/app/views/ads/_leaderboard_wrapped.haml +5 -0
- data/app/views/ads/_links_horizontal_large.erb +16 -0
- data/app/views/ads/_links_horizontal_large_gray.erb +16 -0
- data/app/views/ads/_links_horizontal_large_grey-blue.erb +17 -0
- data/app/views/ads/_links_horizontal_medium.erb +14 -0
- data/app/views/ads/_links_horizontal_medium_gray.erb +13 -0
- data/app/views/ads/_links_vertical_large.haml +11 -0
- data/app/views/ads/_medium_rectangle.haml +12 -0
- data/app/views/ads/_medium_rectangle_gray-blue.erb +16 -0
- data/app/views/ads/_skyscraper.haml +5 -0
- data/app/views/ads/_skyscraper_gray-blue.erb +14 -0
- data/app/views/ads/_small_square.erb +11 -0
- data/app/views/ads/_small_square_blue.erb +13 -0
- data/app/views/ads/_small_square_gray.erb +14 -0
- data/app/views/ads/_wide_line.haml +15 -0
- data/app/views/ads/_wide_skyscraper.haml +13 -0
- data/app/views/ads/src/_banner_bdd2ff.erb +11 -0
- data/app/views/ads/src/_large_rectangle.haml +11 -0
- data/app/views/ads/src/_leaderboard.haml +12 -0
- data/app/views/ads/src/_leaderboard_bdd2ff.erb +11 -0
- data/app/views/ads/src/_skyscraper.haml +10 -0
- data/app/views/ads/src/_small_square_gray.erb +11 -0
- data/app/views/ads/src/_vertical_banner.erb +11 -0
- data/app/views/application/_add_this.erb +11 -0
- data/app/views/application/_add_this_global.erb +11 -0
- data/app/views/application/_disqus.haml +14 -0
- data/app/views/application/_flash_messages.haml +17 -22
- data/app/views/application/_login_register.haml +16 -0
- data/app/views/application/_login_register_mini.haml +11 -0
- data/app/views/application/_meta.haml +18 -0
- data/app/views/application/_share_this.erb +0 -0
- data/app/views/application/_shtick.haml +3 -0
- data/app/views/application/_version.haml +3 -0
- data/app/views/application/empty.haml +1 -0
- data/app/views/application/not_found.haml +3 -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/lib/ish_lib_engine/version.rb +1 -1
- metadata +457 -4
- data/app/models/ability.rb +0 -152
- data/app/models/ability.rb~ +0 -151
@@ -0,0 +1,96 @@
|
|
1
|
+
|
2
|
+
module ApplicationHelper
|
3
|
+
|
4
|
+
def pretty_date input
|
5
|
+
return input.strftime("%Y-%m-%d")
|
6
|
+
end
|
7
|
+
|
8
|
+
def adserv
|
9
|
+
true
|
10
|
+
end
|
11
|
+
|
12
|
+
def admin_path
|
13
|
+
'/admin'
|
14
|
+
end
|
15
|
+
|
16
|
+
def second_tag_path t
|
17
|
+
return "/tags/view/#{t[:name_seo]}" unless t[:name_seo].blank?
|
18
|
+
|
19
|
+
"/tags/#{t.to_param}"
|
20
|
+
end
|
21
|
+
|
22
|
+
def search_path
|
23
|
+
'/search'
|
24
|
+
end
|
25
|
+
|
26
|
+
def manager_path
|
27
|
+
'/manager'
|
28
|
+
end
|
29
|
+
|
30
|
+
def image_doc
|
31
|
+
image_tag 'icons/32x32/doc.png'
|
32
|
+
end
|
33
|
+
|
34
|
+
def image_pdf
|
35
|
+
image_tag 'icons/32x32/pdf.png'
|
36
|
+
end
|
37
|
+
|
38
|
+
def image_linkedin
|
39
|
+
image_tag 'icons/32x32/linkedin.png'
|
40
|
+
end
|
41
|
+
|
42
|
+
def image_facebook
|
43
|
+
image_tag 'icons/32x32/facebook.png'
|
44
|
+
end
|
45
|
+
|
46
|
+
def image_twitter
|
47
|
+
image_tag 'icons/32x32/twitter.png'
|
48
|
+
end
|
49
|
+
|
50
|
+
def image_github
|
51
|
+
image_tag 'icons/32x32/github.png'
|
52
|
+
end
|
53
|
+
|
54
|
+
def image_email
|
55
|
+
image_tag 'icons/32x32/email.png'
|
56
|
+
end
|
57
|
+
|
58
|
+
def github_path
|
59
|
+
'http://github.com/piousbox'
|
60
|
+
end
|
61
|
+
|
62
|
+
def linkedin_path
|
63
|
+
'http://linkedin.com'
|
64
|
+
end
|
65
|
+
|
66
|
+
def facebook_path
|
67
|
+
'http://facebook.com/piousbox'
|
68
|
+
end
|
69
|
+
|
70
|
+
def team_path
|
71
|
+
"http://computationalartscorp.com/team"
|
72
|
+
end
|
73
|
+
|
74
|
+
def blog_path
|
75
|
+
"http://infiniteshelter.com/tags/show/Computational_Arts_Corp"
|
76
|
+
end
|
77
|
+
|
78
|
+
def twitter_path
|
79
|
+
'http://twitter.com/piousbox'
|
80
|
+
end
|
81
|
+
|
82
|
+
def print_site site
|
83
|
+
out = ''
|
84
|
+
out += link_to image_tag( "flags/#{site.lang}.png" ), manager_site_path(site)
|
85
|
+
out += link_to '[~]', edit_manager_site_path(site)
|
86
|
+
out += "<div class='inline'>#{button_to '[x]', manager_site_path(site), :method => :delete, :confirm => 'Are you sure?'}</div>"
|
87
|
+
return out
|
88
|
+
end
|
89
|
+
|
90
|
+
def city_path cityname, opts = {}
|
91
|
+
opts[:lang] ||= :en
|
92
|
+
return "/#{opts[:lang]}/cities/travel-to/#{cityname}"
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
@@ -0,0 +1,200 @@
|
|
1
|
+
|
2
|
+
module ImagesHelper
|
3
|
+
|
4
|
+
def image_flag locale
|
5
|
+
image_tag "flags/#{locale.to_s}.png"
|
6
|
+
end
|
7
|
+
|
8
|
+
def image_city cityname
|
9
|
+
image_tag 'icons/48x48/city.png'
|
10
|
+
end
|
11
|
+
|
12
|
+
def image_customize
|
13
|
+
image_tag 'icons/28x28/customize.png'
|
14
|
+
end
|
15
|
+
|
16
|
+
def image_new_photo
|
17
|
+
image_tag 'icons/48x48/new_photo.png'
|
18
|
+
end
|
19
|
+
|
20
|
+
def button_fb_login
|
21
|
+
link_to image_tag('http://s3.amazonaws.com/ish-assets/loginWithFacebook.png'), user_omniauth_authorize_path(:facebook), :class => :fb
|
22
|
+
end
|
23
|
+
|
24
|
+
def image_logout
|
25
|
+
image_tag 'icons/32x32/logout.png'
|
26
|
+
end
|
27
|
+
|
28
|
+
def image_expand
|
29
|
+
# image_tag 'icons/28x28/expand.png'
|
30
|
+
image_tag 'icons/16x16/expand_down.png'
|
31
|
+
end
|
32
|
+
|
33
|
+
def image_expand_down
|
34
|
+
image_tag 'drag.png'
|
35
|
+
end
|
36
|
+
|
37
|
+
def image_contact
|
38
|
+
image_tag 'http://s3.amazonaws.com/ish-assets/contact.png', :class => :contact
|
39
|
+
end
|
40
|
+
|
41
|
+
def image_expand_up
|
42
|
+
image_tag 'drag.png'
|
43
|
+
end
|
44
|
+
|
45
|
+
def image_ppf
|
46
|
+
image_tag 'ppf.gif'
|
47
|
+
end
|
48
|
+
|
49
|
+
def image_new_report
|
50
|
+
image_tag 'icons/64x64/new_report.png'
|
51
|
+
end
|
52
|
+
|
53
|
+
def image_ish
|
54
|
+
# image_tag 'logo.png'
|
55
|
+
image_tag 'ish_logo_100.png'
|
56
|
+
end
|
57
|
+
|
58
|
+
def image_new_addritem
|
59
|
+
image_tag 'icons/64x64/new_addritem.png'
|
60
|
+
end
|
61
|
+
|
62
|
+
def image_top
|
63
|
+
image_tag('top.gif')
|
64
|
+
end
|
65
|
+
|
66
|
+
def image_scratchpad
|
67
|
+
image_tag 'icons/64x64/scratchpad.png'
|
68
|
+
end
|
69
|
+
|
70
|
+
def image_settings
|
71
|
+
image_tag 'icons/64x64/settings.png'
|
72
|
+
end
|
73
|
+
|
74
|
+
def image_extended_forms
|
75
|
+
image_tag 'icons/64x64/extended_forms.png'
|
76
|
+
end
|
77
|
+
|
78
|
+
def image_close
|
79
|
+
image_tag('close.png')
|
80
|
+
end
|
81
|
+
|
82
|
+
def image_edit
|
83
|
+
image_tag('icons/24x24/edit.png', :alt => '[~]')
|
84
|
+
end
|
85
|
+
|
86
|
+
def image_email
|
87
|
+
image_tag 'email.gif'
|
88
|
+
end
|
89
|
+
|
90
|
+
def image_add
|
91
|
+
image_tag 'new.png'
|
92
|
+
end
|
93
|
+
|
94
|
+
def image_search args = {}
|
95
|
+
image_tag 'icons/16x16/search.png', args
|
96
|
+
end
|
97
|
+
|
98
|
+
def image_cac
|
99
|
+
s3_image_tag 'cac.png'
|
100
|
+
end
|
101
|
+
|
102
|
+
def image_delete
|
103
|
+
# image_tag 'delete.png'
|
104
|
+
'[x]'
|
105
|
+
end
|
106
|
+
|
107
|
+
def image_index
|
108
|
+
image_tag 'icons/32x32/list.png'
|
109
|
+
end
|
110
|
+
|
111
|
+
def image_new
|
112
|
+
image_tag 'icons/32x32/new.png', :alt => '[+]'
|
113
|
+
end
|
114
|
+
|
115
|
+
# @deprecated, should use image_3s
|
116
|
+
def s3_image_tag input
|
117
|
+
image_tag 'https://s3.amazonaws.com/ish-assets/' + input
|
118
|
+
end
|
119
|
+
|
120
|
+
def image_fb
|
121
|
+
image_tag 'http://s3.amazonaws.com/ish-assets/loginWithFacebook.png'
|
122
|
+
end
|
123
|
+
|
124
|
+
def image_3s input
|
125
|
+
image_tag 'https://s3.amazonaws.com/ish-assets/' + input
|
126
|
+
end
|
127
|
+
|
128
|
+
# @TODO:
|
129
|
+
def video_thumb video
|
130
|
+
warn 'todo wtf?'
|
131
|
+
image_tag 'no_image.png'
|
132
|
+
end
|
133
|
+
|
134
|
+
#
|
135
|
+
# missing stuff
|
136
|
+
#
|
137
|
+
|
138
|
+
def image_or_missing photo, size = :thumb
|
139
|
+
|
140
|
+
if defined? photo.photo
|
141
|
+
if defined? photo.photo.url
|
142
|
+
if photo.photo.url == '/photos/original/missing.png'
|
143
|
+
;
|
144
|
+
else
|
145
|
+
return image_tag photo.photo.url(size)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
image_missing
|
151
|
+
end
|
152
|
+
|
153
|
+
def image_missing size = :thumb
|
154
|
+
case size
|
155
|
+
when :thumb
|
156
|
+
image_tag 'no_photo.png'
|
157
|
+
when :mini
|
158
|
+
image_tag 'no_photo_mini.png'
|
159
|
+
else
|
160
|
+
image_tag 'no_photo.png'
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
def missing
|
165
|
+
image_missing
|
166
|
+
end
|
167
|
+
|
168
|
+
def missing? item
|
169
|
+
if defined? item.photo and defined? item.photo.url
|
170
|
+
if item.photo.url == "/photos/original/missing.png"
|
171
|
+
return true
|
172
|
+
else
|
173
|
+
return false
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
return true
|
178
|
+
end
|
179
|
+
|
180
|
+
def image_vote_up
|
181
|
+
image_tag 'icons/32x32/thumbs_up.png', :width => '16px'
|
182
|
+
end
|
183
|
+
|
184
|
+
def image_vote_down
|
185
|
+
image_tag 'icons/32x32/thumbs_down.png', :width => '16px'
|
186
|
+
end
|
187
|
+
|
188
|
+
def image_contact
|
189
|
+
image_tag 'http://s3.amazonaws.com/ish-assets/contact.png', :class => :contact
|
190
|
+
end
|
191
|
+
|
192
|
+
def image_restart
|
193
|
+
t('apps.restart')
|
194
|
+
end
|
195
|
+
|
196
|
+
def image_my_profile
|
197
|
+
image_tag 'icons/64x64/my-profile.png'
|
198
|
+
end
|
199
|
+
|
200
|
+
end
|
data/app/models/gallery.rb
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
class Paypal::Payment
|
3
|
+
include Mongoid::Document
|
4
|
+
include Mongoid::Timestamps
|
5
|
+
|
6
|
+
# From: https://developer.paypal.com/docs/classic/ipn/gs_IPN/
|
7
|
+
|
8
|
+
=begin
|
9
|
+
// Assign payment notification values to local variables
|
10
|
+
$item_name = $_POST['item_name'];
|
11
|
+
$item_number = $_POST['item_number'];
|
12
|
+
$payment_status = $_POST['payment_status'];
|
13
|
+
$payment_amount = $_POST['mc_gross'];
|
14
|
+
$payment_currency = $_POST['mc_currency'];
|
15
|
+
$txn_id = $_POST['txn_id'];
|
16
|
+
$receiver_email = $_POST['receiver_email'];
|
17
|
+
$payer_email = $_POST['payer_email'];
|
18
|
+
=end
|
19
|
+
|
20
|
+
end
|
21
|
+
|
data/app/models/site.rb~
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
|
2
|
+
class Site
|
3
|
+
|
4
|
+
include Mongoid::Document
|
5
|
+
include Mongoid::Timestamps
|
6
|
+
include AuxModel
|
7
|
+
|
8
|
+
field :domain, :type => String
|
9
|
+
|
10
|
+
field :lang, :type => String, :default => 'en'
|
11
|
+
# validates :lang, { :uniqueness => :true, :scope => :domain }
|
12
|
+
|
13
|
+
field :title, :type => String
|
14
|
+
field :subhead, :type => String
|
15
|
+
field :home_redirect_path, :type => String, :default => nil
|
16
|
+
|
17
|
+
field :n_features, :type => Integer, :default => 4
|
18
|
+
field :n_newsitems, :type => Integer, :default => 20
|
19
|
+
|
20
|
+
# denormalized
|
21
|
+
field :n_reports, :type => Integer
|
22
|
+
field :n_galleries, :type => Integer
|
23
|
+
|
24
|
+
field :is_video_enabled, :type => Boolean, :default => false
|
25
|
+
field :is_resume_enabled, :type => Boolean, :default => false
|
26
|
+
field :is_ads_enabled, :type => Boolean, :default => true
|
27
|
+
field :is_trash, :type => Boolean, :default => false
|
28
|
+
field :is_primary, :type => Boolean, :default => false
|
29
|
+
field :is_private, :type => Boolean, :default => false
|
30
|
+
|
31
|
+
field :homepage_layout, :type => String, :default => 'show'
|
32
|
+
field :layout, :type => String, :default => 'application'
|
33
|
+
|
34
|
+
has_many :reports
|
35
|
+
has_many :galleries
|
36
|
+
has_many :tags
|
37
|
+
has_many :videos
|
38
|
+
|
39
|
+
embeds_many :features
|
40
|
+
embeds_many :newsitems
|
41
|
+
|
42
|
+
default_scope ->{ where({ :is_trash => false }).order_by({ :domain => :asc, :lang => :asc }) }
|
43
|
+
|
44
|
+
set_callback :create, :before do |doc|
|
45
|
+
if Site.where( :lang => doc.lang, :domain => doc.domain ).length > 0
|
46
|
+
return false
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
set_callback :update, :before do |doc|
|
51
|
+
possible_duplicate = Site.where( :lang => doc.lang, :domain => doc.domain ).first
|
52
|
+
if possible_duplicate.blank?
|
53
|
+
true
|
54
|
+
elsif doc.id != possible_duplicate.id
|
55
|
+
false
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
LANGUAGES = [ 'en', 'ru', 'pt' ]
|
60
|
+
|
61
|
+
# manager uses it.
|
62
|
+
def self.list
|
63
|
+
out = self.all.order_by( :domain => :asc, :lang => :asc )
|
64
|
+
[['', nil]] + out.map { |item| [ "#{item.domain} #{item.lang}", item.id ] }
|
65
|
+
end
|
66
|
+
|
67
|
+
def self.mobi
|
68
|
+
Site.where( :domain => 'travel-guide.mobi', :lang => 'en' ).first
|
69
|
+
end
|
70
|
+
|
71
|
+
def n_reports
|
72
|
+
self.reports.unscoped.where( :is_trash => false ).length
|
73
|
+
end
|
74
|
+
|
75
|
+
def n_private_reports
|
76
|
+
self.reports.unscoped.where( :is_public => false, :is_trash => false ).length
|
77
|
+
end
|
78
|
+
|
79
|
+
def its_locales
|
80
|
+
Site.where( :domain => self.domain ).map { |s| s.lang.to_sym }
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|