catarse_full 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +19 -0
- data/README.rdoc +3 -0
- data/Rakefile +45 -0
- data/app/assets/fonts/icomoon.eot +0 -0
- data/app/assets/fonts/icomoon.json +1 -0
- data/app/assets/fonts/icomoon.svg +30 -0
- data/app/assets/fonts/icomoon.ttf +0 -0
- data/app/assets/fonts/icomoon.woff +0 -0
- data/app/assets/images/.gitkeep +0 -0
- data/app/assets/images/auth/facebook_64.png +0 -0
- data/app/assets/images/auth/twitter_64.png +0 -0
- data/app/assets/images/catarse/ProjectUpdate.jpg +0 -0
- data/app/assets/images/catarse/back_icons.png +0 -0
- data/app/assets/images/catarse/back_statistics.gif +0 -0
- data/app/assets/images/catarse/backed_icon.png +0 -0
- data/app/assets/images/catarse/backer_city.png +0 -0
- data/app/assets/images/catarse/backer_info.gif +0 -0
- data/app/assets/images/catarse/backer_info.png +0 -0
- data/app/assets/images/catarse/background.png +0 -0
- data/app/assets/images/catarse/background_full.jpg +0 -0
- data/app/assets/images/catarse/banner-10-milhoes.png +0 -0
- data/app/assets/images/catarse/bg64x64_s3.png +0 -0
- data/app/assets/images/catarse/bg_air.jpg +0 -0
- data/app/assets/images/catarse/bg_explore.jpg +0 -0
- data/app/assets/images/catarse/bg_finish.jpg +0 -0
- data/app/assets/images/catarse/bg_guardian.jpg +0 -0
- data/app/assets/images/catarse/bg_heartbacker.jpg +0 -0
- data/app/assets/images/catarse/bg_money.jpg +0 -0
- data/app/assets/images/catarse/bg_moneytag.jpg +0 -0
- data/app/assets/images/catarse/bg_requirements.png +0 -0
- data/app/assets/images/catarse/bg_rewards.jpg +0 -0
- data/app/assets/images/catarse/bg_s3.png +0 -0
- data/app/assets/images/catarse/bg_send.png +0 -0
- data/app/assets/images/catarse/bg_steps.png +0 -0
- data/app/assets/images/catarse/bg_tips.png +0 -0
- data/app/assets/images/catarse/bg_tips1.png +0 -0
- data/app/assets/images/catarse/bg_tips2.png +0 -0
- data/app/assets/images/catarse/bg_tips3.png +0 -0
- data/app/assets/images/catarse/bg_tips4.png +0 -0
- data/app/assets/images/catarse/bg_tips5.png +0 -0
- data/app/assets/images/catarse/bg_tips6.png +0 -0
- data/app/assets/images/catarse/bg_tips7.png +0 -0
- data/app/assets/images/catarse/bg_tips8.png +0 -0
- data/app/assets/images/catarse/blog_icon17x14.png +0 -0
- data/app/assets/images/catarse/boleto_icon.png +0 -0
- data/app/assets/images/catarse/bot_guidelines.gif +0 -0
- data/app/assets/images/catarse/bot_profileUser.png +0 -0
- data/app/assets/images/catarse/box_alert.png +0 -0
- data/app/assets/images/catarse/box_download.png +0 -0
- data/app/assets/images/catarse/box_en.jpg +0 -0
- data/app/assets/images/catarse/box_pt.jpg +0 -0
- data/app/assets/images/catarse/bullet-green.png +0 -0
- data/app/assets/images/catarse/button_explore.png +0 -0
- data/app/assets/images/catarse/button_send.png +0 -0
- data/app/assets/images/catarse/category_icon14x14.png +0 -0
- data/app/assets/images/catarse/cc_icon.png +0 -0
- data/app/assets/images/catarse/comments_icon28x18.png +0 -0
- data/app/assets/images/catarse/comum_logo127x27.png +0 -0
- data/app/assets/images/catarse/confirmed_icon.png +0 -0
- data/app/assets/images/catarse/delete_16.png +0 -0
- data/app/assets/images/catarse/embed_icon19x9.png +0 -0
- data/app/assets/images/catarse/expiring_icon20x22.png +0 -0
- data/app/assets/images/catarse/explore_icon21x14.png +0 -0
- data/app/assets/images/catarse/explore_icon23x15.png +0 -0
- data/app/assets/images/catarse/facebook_black_icon.png +0 -0
- data/app/assets/images/catarse/facebook_icon13x26.png +0 -0
- data/app/assets/images/catarse/faq_icon18x18.png +0 -0
- data/app/assets/images/catarse/faq_video.png +0 -0
- data/app/assets/images/catarse/flagCity.png +0 -0
- data/app/assets/images/catarse/flagCityMg.png +0 -0
- data/app/assets/images/catarse/flagCityPoa.png +0 -0
- data/app/assets/images/catarse/flagCityRJ.png +0 -0
- data/app/assets/images/catarse/flagName.png +0 -0
- data/app/assets/images/catarse/flagNameMg.png +0 -0
- data/app/assets/images/catarse/flagNamePoa.png +0 -0
- data/app/assets/images/catarse/flagNameRJ.png +0 -0
- data/app/assets/images/catarse/flagNameSP.png +0 -0
- data/app/assets/images/catarse/gift-reward.png +0 -0
- data/app/assets/images/catarse/gift.png +0 -0
- data/app/assets/images/catarse/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/catarse/glyphicons-halflings.png +0 -0
- data/app/assets/images/catarse/goal_icon36x17.png +0 -0
- data/app/assets/images/catarse/grey.png +0 -0
- data/app/assets/images/catarse/heart_icon17x14.png +0 -0
- data/app/assets/images/catarse/icon-fb.png +0 -0
- data/app/assets/images/catarse/icon-moip.png +0 -0
- data/app/assets/images/catarse/icon-paypal.png +0 -0
- data/app/assets/images/catarse/icon-tw.png +0 -0
- data/app/assets/images/catarse/icon_about.png +0 -0
- data/app/assets/images/catarse/icon_backerstep1.png +0 -0
- data/app/assets/images/catarse/icon_backerstep2.png +0 -0
- data/app/assets/images/catarse/icon_backerstep3.png +0 -0
- data/app/assets/images/catarse/icon_backerstep4.png +0 -0
- data/app/assets/images/catarse/icon_backerstep5.png +0 -0
- data/app/assets/images/catarse/icon_backersucessfull.png +0 -0
- data/app/assets/images/catarse/icon_backproject.png +0 -0
- data/app/assets/images/catarse/icon_bold.png +0 -0
- data/app/assets/images/catarse/icon_calc.png +0 -0
- data/app/assets/images/catarse/icon_colective.png +0 -0
- data/app/assets/images/catarse/icon_creative.png +0 -0
- data/app/assets/images/catarse/icon_credits.png +0 -0
- data/app/assets/images/catarse/icon_creditsmoney.png +0 -0
- data/app/assets/images/catarse/icon_datestart.png +0 -0
- data/app/assets/images/catarse/icon_donation.png +0 -0
- data/app/assets/images/catarse/icon_faq.png +0 -0
- data/app/assets/images/catarse/icon_gift.png +0 -0
- data/app/assets/images/catarse/icon_guidebacker.png +0 -0
- data/app/assets/images/catarse/icon_guidelinesstart.png +0 -0
- data/app/assets/images/catarse/icon_heart.png +0 -0
- data/app/assets/images/catarse/icon_italic.png +0 -0
- data/app/assets/images/catarse/icon_licosts.png +0 -0
- data/app/assets/images/catarse/icon_limagic.png +0 -0
- data/app/assets/images/catarse/icon_limoney.png +0 -0
- data/app/assets/images/catarse/icon_link.png +0 -0
- data/app/assets/images/catarse/icon_linktext.png +0 -0
- data/app/assets/images/catarse/icon_liwork.png +0 -0
- data/app/assets/images/catarse/icon_logo.png +0 -0
- data/app/assets/images/catarse/icon_media.png +0 -0
- data/app/assets/images/catarse/icon_new.png +0 -0
- data/app/assets/images/catarse/icon_nonprofit.png +0 -0
- data/app/assets/images/catarse/icon_projectnotfunded.png +0 -0
- data/app/assets/images/catarse/icon_projectsuccess.png +0 -0
- data/app/assets/images/catarse/icon_refreshproject.png +0 -0
- data/app/assets/images/catarse/icon_rewards.png +0 -0
- data/app/assets/images/catarse/icon_social.png +0 -0
- data/app/assets/images/catarse/icon_soldout.png +0 -0
- data/app/assets/images/catarse/icon_step1.png +0 -0
- data/app/assets/images/catarse/icon_step2.png +0 -0
- data/app/assets/images/catarse/icon_step3.png +0 -0
- data/app/assets/images/catarse/icon_step4.png +0 -0
- data/app/assets/images/catarse/icon_submitbacker.png +0 -0
- data/app/assets/images/catarse/icon_tag.png +0 -0
- data/app/assets/images/catarse/icon_time.png +0 -0
- data/app/assets/images/catarse/icon_url.png +0 -0
- data/app/assets/images/catarse/icon_video.png +0 -0
- data/app/assets/images/catarse/icon_vimeo.png +0 -0
- data/app/assets/images/catarse/institutional_video_icon16x16.png +0 -0
- data/app/assets/images/catarse/label_green.png +0 -0
- data/app/assets/images/catarse/label_green_list.png +0 -0
- data/app/assets/images/catarse/label_orange.png +0 -0
- data/app/assets/images/catarse/label_orange_list.png +0 -0
- data/app/assets/images/catarse/link_icon14x14.png +0 -0
- data/app/assets/images/catarse/logo-fb.jpg +0 -0
- data/app/assets/images/catarse/logo.png +0 -0
- data/app/assets/images/catarse/min_star12x11.png +0 -0
- data/app/assets/images/catarse/moip-choice.png +0 -0
- data/app/assets/images/catarse/multide_logo55x36.png +0 -0
- data/app/assets/images/catarse/newsletter_icon18x15.png +0 -0
- data/app/assets/images/catarse/opendata_icon26x26.png +0 -0
- data/app/assets/images/catarse/partners_icon26x26.png +0 -0
- data/app/assets/images/catarse/payment_account.jpg +0 -0
- data/app/assets/images/catarse/payment_boleto.jpg +0 -0
- data/app/assets/images/catarse/payment_cards.jpg +0 -0
- data/app/assets/images/catarse/paypal-choice.png +0 -0
- data/app/assets/images/catarse/pencil_16.png +0 -0
- data/app/assets/images/catarse/play89x89.png +0 -0
- data/app/assets/images/catarse/post_title_image.png +0 -0
- data/app/assets/images/catarse/power_logo200x43.png +0 -0
- data/app/assets/images/catarse/profile_icon19x14.png +0 -0
- data/app/assets/images/catarse/project_about.png +0 -0
- data/app/assets/images/catarse/recents_icon18x23.png +0 -0
- data/app/assets/images/catarse/recents_icon31x17.png +0 -0
- data/app/assets/images/catarse/recompensa24x20.png +0 -0
- data/app/assets/images/catarse/reward_box.png +0 -0
- data/app/assets/images/catarse/reward_count_icon18x17.png +0 -0
- data/app/assets/images/catarse/reward_icon.png +0 -0
- data/app/assets/images/catarse/schedule_icon19x22.png +0 -0
- data/app/assets/images/catarse/search_submit15x15.png +0 -0
- data/app/assets/images/catarse/sidebar_backers_icon26x19.png +0 -0
- data/app/assets/images/catarse/social_big_icons.png +0 -0
- data/app/assets/images/catarse/social_icons.png +0 -0
- data/app/assets/images/catarse/submit_back_icon25x22.png +0 -0
- data/app/assets/images/catarse/submit_project_icon25x13.png +0 -0
- data/app/assets/images/catarse/team_adriano.jpg +0 -0
- data/app/assets/images/catarse/team_diego.jpg +0 -0
- data/app/assets/images/catarse/team_diogo.jpg +0 -0
- data/app/assets/images/catarse/team_evelise.jpg +0 -0
- data/app/assets/images/catarse/team_luciana.jpg +0 -0
- data/app/assets/images/catarse/team_luis.jpg +0 -0
- data/app/assets/images/catarse/team_renato.jpg +0 -0
- data/app/assets/images/catarse/team_rodrigo.jpg +0 -0
- data/app/assets/images/catarse/team_ton.jpg +0 -0
- data/app/assets/images/catarse/thumb_step.jpg +0 -0
- data/app/assets/images/catarse/thumbs_up_icon16x16.png +0 -0
- data/app/assets/images/catarse/tick_16.png +0 -0
- data/app/assets/images/catarse/time_icon19x30.png +0 -0
- data/app/assets/images/catarse/title_component149x40.png +0 -0
- data/app/assets/images/catarse/title_component241x40.png +0 -0
- data/app/assets/images/catarse/twitter_black_icon.png +0 -0
- data/app/assets/images/catarse/twitter_icon28x24.png +0 -0
- data/app/assets/images/catarse/video_sample_cover477x330.jpg +0 -0
- data/app/assets/images/catarse_bootstrap/botao_bemvindo_EN_big.png +0 -0
- data/app/assets/images/catarse_bootstrap/botao_bemvindo_PT_big.png +0 -0
- data/app/assets/images/catarse_bootstrap/catarse-assets.png +0 -0
- data/app/assets/images/catarse_bootstrap/feedback-close.png +0 -0
- data/app/assets/images/catarse_bootstrap/feedback-key.png +0 -0
- data/app/assets/images/catarse_bootstrap/feedback-open.png +0 -0
- data/app/assets/images/catarse_bootstrap/logo_icon_catarse.png +0 -0
- data/app/assets/images/catarse_full/.gitkeep +0 -0
- data/app/assets/images/channels/avatar.png +0 -0
- data/app/assets/images/channels/banner.png +0 -0
- data/app/assets/images/channels/banner_tile.jpg +0 -0
- data/app/assets/images/channels/capa_asas.jpg +0 -0
- data/app/assets/images/channels/header_system.png +0 -0
- data/app/assets/images/channels/logo_asas_notificacao.png +0 -0
- data/app/assets/images/channels/successful.png +0 -0
- data/app/assets/images/delete_16.png +0 -0
- data/app/assets/images/dropdown.png +0 -0
- data/app/assets/images/facebook_share.png +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/gravatar.png +0 -0
- data/app/assets/images/icon_alertheader.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_4eb305_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_72b42d_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/images/list_cards.jpg +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/locales/en.png +0 -0
- data/app/assets/images/locales/es.png +0 -0
- data/app/assets/images/locales/list.txt +278 -0
- data/app/assets/images/locales/pt.png +0 -0
- data/app/assets/images/login_with_facebook_button310x60.png +0 -0
- data/app/assets/images/login_with_facebook_button356x60.png +0 -0
- data/app/assets/images/logo.png +0 -0
- data/app/assets/images/not_successful.en.png +0 -0
- data/app/assets/images/not_successful.es.png +0 -0
- data/app/assets/images/not_successful.pt.png +0 -0
- data/app/assets/images/pencil_16.png +0 -0
- data/app/assets/images/project_about.png +0 -0
- data/app/assets/images/project_menu_selected.png +0 -0
- data/app/assets/images/rewards_left_border.png +0 -0
- data/app/assets/images/rewards_right_border.png +0 -0
- data/app/assets/images/successful.en.png +0 -0
- data/app/assets/images/successful.es.png +0 -0
- data/app/assets/images/successful.pt.png +0 -0
- data/app/assets/images/tick_16.png +0 -0
- data/app/assets/images/tick_32.png +0 -0
- data/app/assets/images/twitter_share.png +0 -0
- data/app/assets/images/user.png +0 -0
- data/app/assets/images/waiting_confirmation.en.png +0 -0
- data/app/assets/images/waiting_confirmation.es.png +0 -0
- data/app/assets/images/waiting_confirmation.pt.png +0 -0
- data/app/assets/javascripts/.gitkeep +0 -0
- data/app/assets/javascripts/app/.gitkeep +1 -0
- data/app/assets/javascripts/app/adm/users.js +50 -0
- data/app/assets/javascripts/app/app.js +50 -0
- data/app/assets/javascripts/app/backer.js +60 -0
- data/app/assets/javascripts/app/devise/feedback_support.js +23 -0
- data/app/assets/javascripts/app/explore.js +65 -0
- data/app/assets/javascripts/app/mix_panel.js +76 -0
- data/app/assets/javascripts/app/payment.js +23 -0
- data/app/assets/javascripts/app/project.js +47 -0
- data/app/assets/javascripts/app/project/project_backers.js +27 -0
- data/app/assets/javascripts/app/project/project_comments.js +14 -0
- data/app/assets/javascripts/app/project/project_sidebar.js +74 -0
- data/app/assets/javascripts/app/project/updates.js +44 -0
- data/app/assets/javascripts/app/project_form.js +60 -0
- data/app/assets/javascripts/app/registration.js +23 -0
- data/app/assets/javascripts/app/review_form.js +48 -0
- data/app/assets/javascripts/app/user.js +21 -0
- data/app/assets/javascripts/app/user/user_backers.js +15 -0
- data/app/assets/javascripts/app/user/user_projects.js +20 -0
- data/app/assets/javascripts/application.js +23 -0
- data/app/assets/javascripts/catarse_full/.gitkeep +0 -0
- data/app/assets/javascripts/lib/backbone.js +1571 -0
- data/app/assets/javascripts/lib/bootstrap.min.js +7 -0
- data/app/assets/javascripts/lib/form.js +24 -0
- data/app/assets/javascripts/lib/infinite_scroll.js +43 -0
- data/app/assets/javascripts/lib/jquery-ui.js +2252 -0
- data/app/assets/javascripts/lib/jquery.js +8842 -0
- data/app/assets/javascripts/lib/jquery.maskedinput.js +338 -0
- data/app/assets/javascripts/lib/modal.js +43 -0
- data/app/assets/javascripts/lib/skull.js +78 -0
- data/app/assets/javascripts/lib/tabs.js +27 -0
- data/app/assets/javascripts/lib/timed_input.js +18 -0
- data/app/assets/javascripts/lib/twitter.js +1 -0
- data/app/assets/javascripts/lib/underscore.js +1227 -0
- data/app/assets/stylesheets/.gitkeep +0 -0
- data/app/assets/stylesheets/animate.min.css +1 -0
- data/app/assets/stylesheets/application.css.sass +47 -0
- data/app/assets/stylesheets/catarse.css.sass +26 -0
- data/app/assets/stylesheets/catarse.sass +26 -0
- data/app/assets/stylesheets/catarse_bootstrap/_alerts.sass +16 -0
- data/app/assets/stylesheets/catarse_bootstrap/_buttons.sass +35 -0
- data/app/assets/stylesheets/catarse_bootstrap/_colors.sass +39 -0
- data/app/assets/stylesheets/catarse_bootstrap/_dropdown.sass +29 -0
- data/app/assets/stylesheets/catarse_bootstrap/_elements.sass +43 -0
- data/app/assets/stylesheets/catarse_bootstrap/_fonts.sass +46 -0
- data/app/assets/stylesheets/catarse_bootstrap/_header.sass +101 -0
- data/app/assets/stylesheets/catarse_bootstrap/_main_sidebar.sass +91 -0
- data/app/assets/stylesheets/catarse_bootstrap/_notices.sass +27 -0
- data/app/assets/stylesheets/catarse_bootstrap/_project_box.sass +104 -0
- data/app/assets/stylesheets/catarse_bootstrap/_settings.sass +72 -0
- data/app/assets/stylesheets/catarse_bootstrap/grid/foundation.sass +667 -0
- data/app/assets/stylesheets/catarse_bootstrap/grid/normalize.sass +327 -0
- data/app/assets/stylesheets/catarse_bootstrap/pages/devise.sass +102 -0
- data/app/assets/stylesheets/catarse_bootstrap/pages/passwords/new.sass +3 -0
- data/app/assets/stylesheets/catarse_full/.gitkeep +0 -0
- data/app/assets/stylesheets/content/_body.sass +82 -0
- data/app/assets/stylesheets/content/_explore.sass +68 -0
- data/app/assets/stylesheets/content/_footer.sass +88 -0
- data/app/assets/stylesheets/content/_header.sass +102 -0
- data/app/assets/stylesheets/content/_recommended_header.sass +174 -0
- data/app/assets/stylesheets/content/_sessions.sass +111 -0
- data/app/assets/stylesheets/content/_sidebar.sass +179 -0
- data/app/assets/stylesheets/jquery-ui.css.scss +572 -0
- data/app/assets/stylesheets/miv/_alert.scss +57 -0
- data/app/assets/stylesheets/miv/_bootstrap.scss +4652 -0
- data/app/assets/stylesheets/miv/_buttons.sass +41 -0
- data/app/assets/stylesheets/miv/_colors.sass +75 -0
- data/app/assets/stylesheets/miv/_dropdown.sass +28 -0
- data/app/assets/stylesheets/miv/_embed.sass +112 -0
- data/app/assets/stylesheets/miv/_flash.sass +18 -0
- data/app/assets/stylesheets/miv/_form.scss +626 -0
- data/app/assets/stylesheets/miv/_index.sass +151 -0
- data/app/assets/stylesheets/miv/_locales.sass +34 -0
- data/app/assets/stylesheets/miv/_modal.sass +38 -0
- data/app/assets/stylesheets/miv/_overlay.sass +10 -0
- data/app/assets/stylesheets/miv/_projects.sass +159 -0
- data/app/assets/stylesheets/miv/_projects_land.sass +177 -0
- data/app/assets/stylesheets/miv/_table.scss +134 -0
- data/app/assets/stylesheets/miv/_tabs.sass +31 -0
- data/app/assets/stylesheets/resources/adm/adm.sass +109 -0
- data/app/assets/stylesheets/resources/backers/_create.sass +432 -0
- data/app/assets/stylesheets/resources/backers/_new.sass +237 -0
- data/app/assets/stylesheets/resources/backers/_thank_you.sass +83 -0
- data/app/assets/stylesheets/resources/channels/_about.sass +67 -0
- data/app/assets/stylesheets/resources/channels/_general.sass +60 -0
- data/app/assets/stylesheets/resources/channels/_icomoon.sass +47 -0
- data/app/assets/stylesheets/resources/channels/_profile.sass +120 -0
- data/app/assets/stylesheets/resources/projects/_index.sass +43 -0
- data/app/assets/stylesheets/resources/projects/_new.sass +117 -0
- data/app/assets/stylesheets/resources/projects/_pending_backers.sass +80 -0
- data/app/assets/stylesheets/resources/projects/_rewards.sass +22 -0
- data/app/assets/stylesheets/resources/projects/_show.sass +749 -0
- data/app/assets/stylesheets/resources/projects/_start.sass +191 -0
- data/app/assets/stylesheets/resources/static/_about.sass +125 -0
- data/app/assets/stylesheets/resources/static/_default.sass +576 -0
- data/app/assets/stylesheets/resources/users/_show.sass +284 -0
- data/app/controllers/.gitkeep +0 -0
- data/app/controllers/adm/backers_controller.rb +40 -0
- data/app/controllers/adm/base_controller.rb +37 -0
- data/app/controllers/adm/financials_controller.rb +49 -0
- data/app/controllers/adm/projects_controller.rb +32 -0
- data/app/controllers/adm/reports/backer_reports_controller.rb +6 -0
- data/app/controllers/adm/reports/base_controller.rb +6 -0
- data/app/controllers/adm/statistics_controller.rb +6 -0
- data/app/controllers/adm/users_controller.rb +26 -0
- data/app/controllers/application_controller.rb +118 -0
- data/app/controllers/channels/adm/projects_controller.rb +36 -0
- data/app/controllers/channels/adm/reports/subscriber_reports_controller.rb +7 -0
- data/app/controllers/channels/adm/statistics_controller.rb +13 -0
- data/app/controllers/channels/base_controller.rb +6 -0
- data/app/controllers/channels/channels_subscribers_controller.rb +35 -0
- data/app/controllers/channels/profiles_controller.rb +11 -0
- data/app/controllers/channels/projects_controller.rb +22 -0
- data/app/controllers/explore_controller.rb +6 -0
- data/app/controllers/omniauth_callbacks_controller.rb +28 -0
- data/app/controllers/passwords_controller.rb +21 -0
- data/app/controllers/projects/backers_controller.rb +85 -0
- data/app/controllers/projects/updates_controller.rb +28 -0
- data/app/controllers/projects_controller.rb +84 -0
- data/app/controllers/reports/backer_reports_for_project_owners_controller.rb +36 -0
- data/app/controllers/reports/base_controller.rb +6 -0
- data/app/controllers/rewards_controller.rb +36 -0
- data/app/controllers/static_controller.rb +28 -0
- data/app/controllers/unsubscribes_controller.rb +18 -0
- data/app/controllers/users/backers_controller.rb +29 -0
- data/app/controllers/users/projects_controller.rb +13 -0
- data/app/controllers/users_controller.rb +63 -0
- data/app/decorators/channel_decorator.rb +7 -0
- data/app/decorators/project_decorator.rb +69 -0
- data/app/decorators/user_decorator.rb +34 -0
- data/app/helpers/.gitkeep +0 -0
- data/app/helpers/channels/base_helper.rb +2 -0
- data/app/mailers/.gitkeep +0 -0
- data/app/mailers/credits_mailer.rb +9 -0
- data/app/mailers/notifications_mailer.rb +21 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/ability.rb +129 -0
- data/app/models/authorization.rb +4 -0
- data/app/models/backer.rb +242 -0
- data/app/models/backer_report.rb +3 -0
- data/app/models/backer_reports_for_project_owner.rb +2 -0
- data/app/models/backers_by_period.rb +9 -0
- data/app/models/category.rb +17 -0
- data/app/models/channel.rb +22 -0
- data/app/models/channels_subscriber.rb +5 -0
- data/app/models/configuration.rb +36 -0
- data/app/models/notification.rb +35 -0
- data/app/models/notification_type.rb +4 -0
- data/app/models/oauth_provider.rb +6 -0
- data/app/models/payment_notification.rb +4 -0
- data/app/models/project.rb +335 -0
- data/app/models/project_total.rb +2 -0
- data/app/models/projects_by_period.rb +9 -0
- data/app/models/projects_for_home.rb +11 -0
- data/app/models/reward.rb +70 -0
- data/app/models/state.rb +13 -0
- data/app/models/statistics.rb +2 -0
- data/app/models/subscriber_report.rb +3 -0
- data/app/models/unsubscribe.rb +10 -0
- data/app/models/update.rb +57 -0
- data/app/models/user.rb +250 -0
- data/app/models/user_total.rb +3 -0
- data/app/observers/backer_observer.rb +61 -0
- data/app/observers/notification_observer.rb +7 -0
- data/app/observers/payment_notification_observer.rb +16 -0
- data/app/observers/project_observer.rb +113 -0
- data/app/observers/update_observer.rb +7 -0
- data/app/observers/user_observer.rb +16 -0
- data/app/uploaders/image_uploader.rb +24 -0
- data/app/uploaders/project_uploader.rb +29 -0
- data/app/uploaders/user_uploader.rb +12 -0
- data/app/views/.gitkeep +0 -0
- data/app/views/adm/backers/index.html.slim +170 -0
- data/app/views/adm/financials/index.html.slim +99 -0
- data/app/views/adm/projects/index.html.slim +128 -0
- data/app/views/adm/statistics/index.html.slim +40 -0
- data/app/views/adm/users/index.html.slim +74 -0
- data/app/views/catarse_bootstrap/devise/mailer/reset_password_instructions.en.html.slim +15 -0
- data/app/views/catarse_bootstrap/devise/mailer/reset_password_instructions.pt.html.slim +16 -0
- data/app/views/catarse_bootstrap/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/catarse_bootstrap/devise/passwords/edit.html.slim +26 -0
- data/app/views/catarse_bootstrap/devise/passwords/new.html.slim +21 -0
- data/app/views/catarse_bootstrap/devise/registrations/new.html.slim +48 -0
- data/app/views/catarse_bootstrap/devise/sessions/new.html.slim +40 -0
- data/app/views/catarse_bootstrap/devise/shared/_alert.html.slim +11 -0
- data/app/views/catarse_bootstrap/devise/shared/_header.html.slim +5 -0
- data/app/views/catarse_bootstrap/layouts/_login_feedback_support.html.slim +16 -0
- data/app/views/catarse_bootstrap/layouts/_mailer_styles.html.erb +22 -0
- data/app/views/catarse_bootstrap/layouts/_uservoice.html.slim +2 -0
- data/app/views/catarse_bootstrap/layouts/catarse_bootstrap.html.slim +21 -0
- data/app/views/catarse_bootstrap/layouts/email.html.slim +39 -0
- data/app/views/catarse_bootstrap/notifications_mailer/new_user_registration.en.html.slim +44 -0
- data/app/views/catarse_bootstrap/notifications_mailer/new_user_registration.pt.html.slim +45 -0
- data/app/views/catarse_bootstrap/notifications_mailer/updates.en.html.slim +4 -0
- data/app/views/catarse_bootstrap/notifications_mailer/updates.pt.html.slim +4 -0
- data/app/views/channels/adm/projects/index.html.slim +121 -0
- data/app/views/channels/adm/statistics/index.html.slim +21 -0
- data/app/views/channels/base/index.html.slim +2 -0
- data/app/views/channels/profiles/_footer.html.slim +13 -0
- data/app/views/channels/profiles/how_it_works.html.slim +67 -0
- data/app/views/channels/profiles/show.html.slim +47 -0
- data/app/views/channels/projects/_banner.html.slim +8 -0
- data/app/views/channels/projects/_project.html.slim +12 -0
- data/app/views/channels/projects/new.html.slim +128 -0
- data/app/views/credits_mailer/request_refund_from.text.erb +11 -0
- data/app/views/custom/.gitkeep +0 -0
- data/app/views/explore/index.html.slim +47 -0
- data/app/views/layouts/_analytics.html.slim +9 -0
- data/app/views/layouts/_announcement.html.slim +4 -0
- data/app/views/layouts/_catarse_bootstrap_notices.html.slim +4 -0
- data/app/views/layouts/_classic_uservoice.html.slim +31 -0
- data/app/views/layouts/_facebook_like.html.slim +2 -0
- data/app/views/layouts/_facebook_sdk.html.slim +20 -0
- data/app/views/layouts/_flash.html.slim +6 -0
- data/app/views/layouts/_header.html.slim +49 -0
- data/app/views/layouts/_locales.html.slim +7 -0
- data/app/views/layouts/_new_uservoice.html.slim +20 -0
- data/app/views/layouts/_twitter.html.erb +1 -0
- data/app/views/layouts/application.html.slim +71 -0
- data/app/views/layouts/channel_email.html.slim +23 -0
- data/app/views/layouts/email.html.slim +26 -0
- data/app/views/layouts/embed.html.slim +13 -0
- data/app/views/notifications_mailer/adm_project_deadline.en.html.slim +3 -0
- data/app/views/notifications_mailer/adm_project_deadline.pt.html.slim +3 -0
- data/app/views/notifications_mailer/backer_canceled_after_confirmed.html.slim +12 -0
- data/app/views/notifications_mailer/backer_confirmed_after_project_was_closed.en.html.slim +8 -0
- data/app/views/notifications_mailer/backer_confirmed_after_project_was_closed.pt.html.slim +8 -0
- data/app/views/notifications_mailer/backer_project_successful.en.html.slim +48 -0
- data/app/views/notifications_mailer/backer_project_successful.pt.html.slim +50 -0
- data/app/views/notifications_mailer/backer_project_unsuccessful.en.html.slim +39 -0
- data/app/views/notifications_mailer/backer_project_unsuccessful.pt.html.slim +41 -0
- data/app/views/notifications_mailer/confirm_backer.en.html.slim +43 -0
- data/app/views/notifications_mailer/confirm_backer.pt.html.slim +45 -0
- data/app/views/notifications_mailer/credits_warning.en.html.slim +41 -0
- data/app/views/notifications_mailer/credits_warning.pt.html.slim +40 -0
- data/app/views/notifications_mailer/new_draft_project.en.html.slim +34 -0
- data/app/views/notifications_mailer/new_draft_project.pt.html.slim +34 -0
- data/app/views/notifications_mailer/new_draft_project_channel.en.html.slim +34 -0
- data/app/views/notifications_mailer/new_draft_project_channel.pt.html.slim +34 -0
- data/app/views/notifications_mailer/new_features.en.html.slim +30 -0
- data/app/views/notifications_mailer/new_features.pt.html.slim +30 -0
- data/app/views/notifications_mailer/payment_slip.en.html.slim +19 -0
- data/app/views/notifications_mailer/payment_slip.pt.html.slim +24 -0
- data/app/views/notifications_mailer/pending_backer_project_unsuccessful.en.html.slim +44 -0
- data/app/views/notifications_mailer/pending_backer_project_unsuccessful.pt.html.slim +44 -0
- data/app/views/notifications_mailer/processing_payment.en.html.slim +24 -0
- data/app/views/notifications_mailer/processing_payment.pt.html.slim +29 -0
- data/app/views/notifications_mailer/project_in_wainting_funds.en.html.slim +35 -0
- data/app/views/notifications_mailer/project_in_wainting_funds.pt.html.slim +35 -0
- data/app/views/notifications_mailer/project_owner_backer_confirmed.en.html.slim +33 -0
- data/app/views/notifications_mailer/project_owner_backer_confirmed.pt.html.slim +34 -0
- data/app/views/notifications_mailer/project_received.en.html.slim +38 -0
- data/app/views/notifications_mailer/project_received.pt.html.slim +50 -0
- data/app/views/notifications_mailer/project_received_channel.en.html.slim +52 -0
- data/app/views/notifications_mailer/project_received_channel.pt.html.slim +52 -0
- data/app/views/notifications_mailer/project_rejected.en.html.slim +33 -0
- data/app/views/notifications_mailer/project_rejected.pt.html.slim +33 -0
- data/app/views/notifications_mailer/project_success.en.html.slim +30 -0
- data/app/views/notifications_mailer/project_success.pt.html.slim +30 -0
- data/app/views/notifications_mailer/project_unsuccessful.en.html.slim +42 -0
- data/app/views/notifications_mailer/project_unsuccessful.pt.html.slim +42 -0
- data/app/views/notifications_mailer/project_visible.en.html.slim +65 -0
- data/app/views/notifications_mailer/project_visible.pt.html.slim +65 -0
- data/app/views/projects/_admin_fields.html.slim +15 -0
- data/app/views/projects/_draft_warning.html.slim +23 -0
- data/app/views/projects/_failed_warning.html.slim +21 -0
- data/app/views/projects/_formatting_tips.en.html.slim +19 -0
- data/app/views/projects/_formatting_tips.pt.html.slim +20 -0
- data/app/views/projects/_online_warning.html.slim +33 -0
- data/app/views/projects/_project.html.slim +23 -0
- data/app/views/projects/_project_about.html.slim +20 -0
- data/app/views/projects/_project_edit.html.slim +32 -0
- data/app/views/projects/_project_header.html.slim +34 -0
- data/app/views/projects/_project_reports.html.slim +22 -0
- data/app/views/projects/_project_templates.html.slim +3 -0
- data/app/views/projects/_recommended_header.html.slim +19 -0
- data/app/views/projects/_rejected_warning.html.slim +10 -0
- data/app/views/projects/_successful_warning.html.slim +29 -0
- data/app/views/projects/_twitter_timeline.html.slim +2 -0
- data/app/views/projects/_waiting_funds_warning.html.slim +34 -0
- data/app/views/projects/backers/_anonymous_warning.en.html.slim +5 -0
- data/app/views/projects/backers/_anonymous_warning.pt.html.slim +5 -0
- data/app/views/projects/backers/_back_text.en.html.slim +11 -0
- data/app/views/projects/backers/_back_text.pt.html.slim +11 -0
- data/app/views/projects/backers/_backer.html.slim +42 -0
- data/app/views/projects/backers/create.html.slim +75 -0
- data/app/views/projects/backers/new.html.slim +40 -0
- data/app/views/projects/backers/show.html.slim +26 -0
- data/app/views/projects/embed.html.slim +2 -0
- data/app/views/projects/embed_panel.html.slim +11 -0
- data/app/views/projects/index.html.slim +70 -0
- data/app/views/projects/new.html.slim +134 -0
- data/app/views/projects/show.html.slim +169 -0
- data/app/views/projects/start.html.slim +121 -0
- data/app/views/projects/updates/_update.html.slim +17 -0
- data/app/views/projects/updates/new.html.slim +22 -0
- data/app/views/projects/video_embed.html.slim +8 -0
- data/app/views/projects_mailer/start_project_email.html.slim +29 -0
- data/app/views/rewards/_form.html.slim +19 -0
- data/app/views/rewards/edit.html.slim +1 -0
- data/app/views/rewards/index.html.slim +55 -0
- data/app/views/rewards/new.html.slim +1 -0
- data/app/views/static/_guidelines_text.pt.html.slim +17 -0
- data/app/views/static/_how_it_works.en.html.slim +11 -0
- data/app/views/static/_how_it_works.pt.html.slim +11 -0
- data/app/views/static/_more_tips.pt.html.slim +20 -0
- data/app/views/static/about.html.slim +79 -0
- data/app/views/static/guidelines.html.slim +22 -0
- data/app/views/static/guidelines_backers.html.slim +94 -0
- data/app/views/static/guidelines_start.html.slim +90 -0
- data/app/views/static/guidelines_tips.html.slim +68 -0
- data/app/views/static/sitemap.builder +61 -0
- data/app/views/users/_credits.html.slim +44 -0
- data/app/views/users/_current_user_fields.html.slim +76 -0
- data/app/views/users/_project.html.slim +60 -0
- data/app/views/users/_unsubscribes.html.slim +23 -0
- data/app/views/users/backers/index.html.slim +2 -0
- data/app/views/users/projects/index.html.slim +3 -0
- data/app/views/users/set_email.html.slim +16 -0
- data/app/views/users/show.html.slim +72 -0
- data/app/views/users/uservoice_gadget.html.slim +45 -0
- data/app/workers/notify_update_worker.rb +9 -0
- data/config/boot.rb +13 -0
- data/config/compass.rb +5 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +46 -0
- data/config/environments/production.rb +70 -0
- data/config/environments/test.rb +44 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/capybara.rb +5 -0
- data/config/initializers/carrierwave.rb +13 -0
- data/config/initializers/default_url_options.rb +6 -0
- data/config/initializers/devise.rb +252 -0
- data/config/initializers/formtastic.rb +9 -0
- data/config/initializers/google_analytics.rb +3 -0
- data/config/initializers/http_accept_language.rb +7 -0
- data/config/initializers/inflections.rb +13 -0
- data/config/initializers/locale.rb +9 -0
- data/config/initializers/mailchimp.rb +1 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/pluralize.rb +5 -0
- data/config/initializers/schema_associations.rb +3 -0
- data/config/initializers/secret_token.rb +16 -0
- data/config/initializers/sendgrid.rb +15 -0
- data/config/initializers/session_store.rb +15 -0
- data/config/initializers/statistics_loader_development.rb +4 -0
- data/config/initializers/timeout.rb +1 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/.wti.sample +14 -0
- data/config/locales/adm.en.yml +107 -0
- data/config/locales/adm.pt.yml +150 -0
- data/config/locales/catarse_bootstrap/models/user.en.yml +13 -0
- data/config/locales/catarse_bootstrap/models/user.pt.yml +13 -0
- data/config/locales/catarse_bootstrap/pages/forgot_password.en.yml +14 -0
- data/config/locales/catarse_bootstrap/pages/forgot_password.pt.yml +14 -0
- data/config/locales/catarse_bootstrap/pages/login.en.yml +16 -0
- data/config/locales/catarse_bootstrap/pages/login.pt.yml +16 -0
- data/config/locales/catarse_bootstrap/pages/reset_password.en.yml +14 -0
- data/config/locales/catarse_bootstrap/pages/reset_password.pt.yml +14 -0
- data/config/locales/catarse_bootstrap/pages/sign_up.en.yml +18 -0
- data/config/locales/catarse_bootstrap/pages/sign_up.pt.yml +17 -0
- data/config/locales/channels.pt.yml +100 -0
- data/config/locales/devise.en.yml +99 -0
- data/config/locales/devise.pt.yml +98 -0
- data/config/locales/en.yml +872 -0
- data/config/locales/notifications.en.yml +74 -0
- data/config/locales/notifications.pt.yml +74 -0
- data/config/locales/pt.yml +896 -0
- data/config/locales/rails.en.yml +209 -0
- data/config/locales/rails.pt.yml +211 -0
- data/config/locales/will_paginate.en.yml +5 -0
- data/config/locales/will_paginate.pt.yml +5 -0
- data/config/newrelic.yml +227 -0
- data/config/routes.rb +150 -0
- data/config/sidekiq.yml +1 -0
- data/config/unicorn.rb +38 -0
- data/db/migrate/20121226120921_initial_schema.rb +1836 -0
- data/db/migrate/20121227012003_user_totals_back_to_state_machine.rb +53 -0
- data/db/migrate/20121227012324_statistics_back_to_state_machine.rb +47 -0
- data/db/migrate/20121230111351_add_online_date_to_projects.rb +5 -0
- data/db/migrate/20130102180139_update_projects_to_state_machine_again.rb +25 -0
- data/db/migrate/20130104005632_add_moip_login_to_users.rb +5 -0
- data/db/migrate/20130104104501_add_how_know_and_more_links_to_projects.rb +6 -0
- data/db/migrate/20130105123546_add_first_backers_to_projects.rb +5 -0
- data/db/migrate/20130110191750_add_uploaded_image_to_projects.rb +5 -0
- data/db/migrate/20130117205659_alter_projects_drop_video_url_constraint.rb +15 -0
- data/db/migrate/20130118193907_fix_statistics_view.rb +45 -0
- data/db/migrate/20130121162447_create_backer_reports.rb +41 -0
- data/db/migrate/20130121204224_fix_projects_states.rb +11 -0
- data/db/migrate/20130121212325_fix_statistcs_again.rb +45 -0
- data/db/migrate/20130131121553_add_cpf_to_backer_report.rb +75 -0
- data/db/migrate/20130201200604_remove_curated_pages.rb +9 -0
- data/db/migrate/20130201202648_remove_projects_managers.rb +9 -0
- data/db/migrate/20130201202829_remove_active_admin_comments.rb +9 -0
- data/db/migrate/20130201205659_remove_institutional_videos.rb +9 -0
- data/db/migrate/20130204192704_create_backer_reports_for_project_owner.rb +33 -0
- data/db/migrate/20130205143533_remove_credits_from_users.rb +9 -0
- data/db/migrate/20130206121758_fix_view_backer_reports_for_project_owner.rb +34 -0
- data/db/migrate/20130211174609_add_name_en_to_categories.rb +5 -0
- data/db/migrate/20130212145115_rename_name_to_name_pt.rb +5 -0
- data/db/migrate/20130213184141_change_permalink_to_not_null.rb +17 -0
- data/db/migrate/20130218201312_create_users_oauth_providers.rb +10 -0
- data/db/migrate/20130218201751_migrate_user_data_to_users_oath_providers.rb +12 -0
- data/db/migrate/20130221171018_rename_users_oath_providers.rb +21 -0
- data/db/migrate/20130221172840_populate_authorizations.rb +12 -0
- data/db/migrate/20130221175717_remove_static_contents.rb +13 -0
- data/db/migrate/20130221184144_update_oauth_provider_name_to_lower.rb +8 -0
- data/db/migrate/20130221185532_recreate_statistics_with_new_users.rb +62 -0
- data/db/migrate/20130221201732_remove_secondary_users.rb +82 -0
- data/db/migrate/20130222163633_add_state_inscription_to_user.rb +5 -0
- data/db/migrate/20130225135512_update_user_emails_from_backers.rb +15 -0
- data/db/migrate/20130225141802_alter_user_drop_provider_uid_constraints.rb +15 -0
- data/db/migrate/20130228141234_add_unique_index_to_configuration.rb +5 -0
- data/db/migrate/20130304193806_create_channel_profiles.rb +12 -0
- data/db/migrate/20130307074614_create_versions.rb +24 -0
- data/db/migrate/20130307090153_add_reindex_versions_to_rewards.rb +5 -0
- data/db/migrate/20130308200907_add_user_name_on_backer_report_for_project_owner.rb +62 -0
- data/db/migrate/20130311191444_drop_uid_and_provider_constraint_on_users.rb +13 -0
- data/db/migrate/20130311192846_remove_unnecessary_user_indexes.rb +14 -0
- data/db/migrate/20130312001021_fix_duplicate_emails.rb +26 -0
- data/db/migrate/20130313032607_rename_channels_profiles_to_channels.rb +9 -0
- data/db/migrate/20130313034356_create_channels_projects.rb +8 -0
- data/db/migrate/20130319131919_create_channels_trustees.rb +12 -0
- data/db/migrate/20130410181958_add_twitter_and_facebook_and_email_to_channels.rb +7 -0
- data/db/migrate/20130410190247_add_image_to_channels.rb +5 -0
- data/db/migrate/20130410191240_add_website_to_channels.rb +5 -0
- data/db/migrate/20130411193016_create_channels_subscribers.rb +13 -0
- data/db/migrate/20130419184530_add_state_to_backers.rb +5 -0
- data/db/migrate/20130422071805_add_notification_type_draft_channel.rb +13 -0
- data/db/migrate/20130422072051_add_notification_type_project_received_channel.rb +13 -0
- data/db/migrate/20130423162359_update_user_total_to_backer_state_machine.rb +59 -0
- data/db/migrate/20130424173128_add_backer_state_machine_into_statistics.rb +61 -0
- data/db/migrate/20130426204503_add_row_order_to_rewards.rb +7 -0
- data/db/migrate/20130429142823_rename_categories.rb +12 -0
- data/db/migrate/20130429144749_add_new_categories.rb +27 -0
- data/db/migrate/20130429153115_move_projects_to_art_and_remove_old_categories.rb +15 -0
- data/db/migrate/20130430203333_add_layout_to_notification_type.rb +5 -0
- data/db/migrate/20130502175814_add_anonymous_to_reports_to_project_owner.rb +37 -0
- data/db/migrate/20130505013655_update_backers_state_machine.rb +35 -0
- data/db/migrate/20130506191243_update_backer_reports_to_project_owner_view_to_backer_state_machine.rb +65 -0
- data/db/migrate/20130506191508_update_backer_reports_to_backer_state_machine.rb +74 -0
- data/db/migrate/20130514132519_add_waiting_confirmation_on_statistics_view.rb +63 -0
- data/db/migrate/20130514185010_drop_views.rb +35 -0
- data/db/migrate/20130514185116_fix_project_owner_view.rb +66 -0
- data/db/migrate/20130514185926_remove_boolean_fields_from_projects.rb +18 -0
- data/db/migrate/20130515192404_remove_boolean_fields_from_backers.rb +14 -0
- data/db/migrate/20130523144013_fix_project_total_to_use_refunded_and_requested_refund_too.rb +15 -0
- data/db/migrate/20130523173609_fix_project_total_again_some_regex_error.rb +15 -0
- data/db/migrate/20130527204639_add_video_embed_url_to_projects.rb +5 -0
- data/db/migrate/20130529171845_update_backers_that_are_in_refunded_when_project_is_online.rb +17 -0
- data/db/migrate/20130604171730_add_index_to_payment_notification_on_backer_id.rb +5 -0
- data/db/migrate/20130604172253_update_online_date_for_legacy_projects.rb +10 -0
- data/db/migrate/20130604175953_remove_expires_at_from_views.rb +11 -0
- data/db/migrate/20130604180503_remove_expires_at_from_projects.rb +11 -0
- data/db/migrate/20130607222330_remove_image_url_from_projects.rb +9 -0
- data/db/migrate/20130617175402_create_projects_chart_view.rb +51 -0
- data/db/migrate/20130618175432_create_backers_by_period_view.rb +57 -0
- data/db/migrate/20130626122439_add_expires_at_function.rb +12 -0
- data/db/migrate/20130626124055_drop_payment_logs.rb +8 -0
- data/db/migrate/20130702192659_update_backers_by_period_view_with_deleted_backer_state.rb +107 -0
- data/db/migrate/20130703171547_add_exclusive_to_updates.rb +5 -0
- data/db/migrate/20130705131825_replace_expires_at_to_include_timezone.rb +18 -0
- data/db/migrate/20130705184845_alter_statistics_view_add_deleted_backer_state.rb +61 -0
- data/db/migrate/20130710122804_add_days_to_delivery_into_rewards.rb +5 -0
- data/db/migrate/20130722222945_remove_legacy_columns_from_users.rb +10 -0
- data/db/migrate/20130730232043_add_total_payments_service_fee_into_project_totals.rb +27 -0
- data/db/migrate/20130805230126_add_total_backed_projects_to_user_total.rb +60 -0
- data/db/migrate/20130812191450_show_refunded_on_backers_report.rb +74 -0
- data/db/migrate/20130814174329_alter_timestamp_to_include_timezone.rb +17 -0
- data/db/migrate/20130815161926_create_recommendations_view.rb +64 -0
- data/db/migrate/20130818015857_add_projects_home_view.rb +37 -0
- data/db/migrate/20130822215532_fix_credits_into_user_totals_view.rb +67 -0
- data/db/migrate/20130827210414_revert_expires_at.rb +12 -0
- data/db/migrate/20130828160026_use_expires_at_in_view.rb +11 -0
- data/db/migrate/20130829180232_use_timezone_instead_of_hardcoded_3.rb +12 -0
- data/db/migrate/20130905153553_add_sessions_table.rb +12 -0
- data/db/migrate/20130911180657_create_subscriber_reports.rb +8 -0
- data/db/seeds.rb +122 -0
- data/db/seeds/add-users.rb +40 -0
- data/db/seeds/my-seeds-local.example.rb +85 -0
- data/lib/blog.rb +14 -0
- data/lib/calendar.rb +19 -0
- data/lib/catarse_auto_html.rb +23 -0
- data/lib/catarse_full.rb +4 -0
- data/lib/catarse_full/engine.rb +77 -0
- data/lib/catarse_full/version.rb +3 -0
- data/lib/payment_engines.rb +26 -0
- data/lib/tasks/.gitkeep +0 -0
- data/lib/tasks/catarse_full_tasks.rake +4 -0
- data/lib/tasks/config.rake +56 -0
- data/lib/tasks/cron.rake +76 -0
- data/lib/tasks/db_seed.rake +15 -0
- data/lib/tasks/jasmine.rake +8 -0
- data/lib/tasks/send_old_posts_to_tumblr.rake +14 -0
- data/lib/tasks/users.rake +82 -0
- data/lib/uservoice_sso.rb +20 -0
- data/spec/abilities/trustee_ability_spec.rb +53 -0
- data/spec/config/initializers/secret_token_spec.rb +19 -0
- data/spec/controllers/adm/backers_controller_spec.rb +119 -0
- data/spec/controllers/adm/statistics_controller.rb +17 -0
- data/spec/controllers/adm/users_controller_spec.rb +29 -0
- data/spec/controllers/channels/adm/reports/subscriber_reports_controller_spec.rb +24 -0
- data/spec/controllers/channels/base_controller_spec.rb +5 -0
- data/spec/controllers/channels/channels_subscribers_controller_spec.rb +59 -0
- data/spec/controllers/channels/profiles_controller_spec.rb +16 -0
- data/spec/controllers/omniauth_callbacks_controller_spec.rb +113 -0
- data/spec/controllers/projects/backers_controller_spec.rb +198 -0
- data/spec/controllers/projects/updates_controller_spec.rb +57 -0
- data/spec/controllers/projects_controller_spec.rb +178 -0
- data/spec/controllers/rewards_controller_spec.rb +107 -0
- data/spec/controllers/static_controller_spec.rb +37 -0
- data/spec/controllers/unsubscribes_controller_spec.rb +31 -0
- data/spec/controllers/users/backers_controller_spec.rb +86 -0
- data/spec/controllers/users/projects_controller_spec.rb +19 -0
- data/spec/controllers/users_controller_spec.rb +92 -0
- data/spec/decorators/project_decorator_spec.rb +146 -0
- data/spec/decorators/user_decorator_spec.rb +87 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +69 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.sample.yml +50 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise_secret_key.rb +3 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/db/structure.sql +2434 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories.rb +125 -0
- data/spec/factories/users_oauth_providers.rb +9 -0
- data/spec/features/channel_moderation_spec.rb +27 -0
- data/spec/features/projects_spec.rb +95 -0
- data/spec/features/users_spec.rb +43 -0
- data/spec/fixtures/image.png +0 -0
- data/spec/helpers/channels/base_helper_spec.rb +15 -0
- data/spec/javascripts/app_spec.js +85 -0
- data/spec/javascripts/backer_spec.js +74 -0
- data/spec/javascripts/explore_spec.js +211 -0
- data/spec/javascripts/feedback_support_spec.js +41 -0
- data/spec/javascripts/helpers/.gitkeep +0 -0
- data/spec/javascripts/mix_panel_spec.js +101 -0
- data/spec/javascripts/permalink_spec.js +50 -0
- data/spec/javascripts/project_comments_spec.js +66 -0
- data/spec/javascripts/project_sidebar_spec.js +105 -0
- data/spec/javascripts/project_spec.js +175 -0
- data/spec/javascripts/registration_spec.js +38 -0
- data/spec/javascripts/review_form_spec.js +140 -0
- data/spec/javascripts/skull_spec.js +103 -0
- data/spec/javascripts/support/jasmine.yml +93 -0
- data/spec/javascripts/timed_input_spec.js +64 -0
- data/spec/javascripts/updates_spec.js +49 -0
- data/spec/javascripts/video_url_spec.js +42 -0
- data/spec/lib/blog_spec.rb +12 -0
- data/spec/lib/payment_engines_spec.rb +61 -0
- data/spec/mailers/notifications_mailer_spec.rb +20 -0
- data/spec/models/ability_spec.rb +123 -0
- data/spec/models/authorizations_spec.rb +6 -0
- data/spec/models/backer_report_spec.rb +5 -0
- data/spec/models/backer_spec.rb +459 -0
- data/spec/models/category_spec.rb +13 -0
- data/spec/models/channel_spec.rb +47 -0
- data/spec/models/channels_subscriber_spec.rb +13 -0
- data/spec/models/configuration_spec.rb +31 -0
- data/spec/models/notification_spec.rb +105 -0
- data/spec/models/oauth_provider_spec.rb +7 -0
- data/spec/models/payment_notification_spec.rb +17 -0
- data/spec/models/project_spec.rb +771 -0
- data/spec/models/project_total_spec.rb +26 -0
- data/spec/models/projects_for_home_spec.rb +44 -0
- data/spec/models/reward_spec.rb +141 -0
- data/spec/models/statistics_spec.rb +46 -0
- data/spec/models/subscriber_report_spec.rb +42 -0
- data/spec/models/unsubscribe_spec.rb +27 -0
- data/spec/models/update_spec.rb +95 -0
- data/spec/models/user_spec.rb +357 -0
- data/spec/models/user_total_spec.rb +5 -0
- data/spec/observers/backer_observer_spec.rb +119 -0
- data/spec/observers/notification_observer_spec.rb +13 -0
- data/spec/observers/payment_notification_observer_spec.rb +34 -0
- data/spec/observers/project_observer_spec.rb +224 -0
- data/spec/observers/update_observer_spec.rb +17 -0
- data/spec/observers/user_observer_spec.rb +23 -0
- data/spec/spec_helper.rb +82 -0
- data/spec/support/devise.rb +3 -0
- data/spec/support/factory_girl.rb +2 -0
- data/spec/support/feature_helpers.rb +19 -0
- data/spec/uploaders/image_uploader_spec.rb +58 -0
- data/spec/uploaders/project_uploader_spec.rb +37 -0
- data/spec/uploaders/user_uploader_spec.rb +23 -0
- data/spec/views/channels/base/index.html.slim_spec.rb +5 -0
- metadata +1915 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
.ch_button
|
2
|
+
font-size: 1.05em
|
3
|
+
text-align: center
|
4
|
+
display: inline-block
|
5
|
+
color: white !important
|
6
|
+
font-weight: 400
|
7
|
+
text-decoration: none
|
8
|
+
padding: 1.2em 2.2em
|
9
|
+
border-radius: 2px
|
10
|
+
+transition(all .2s)
|
11
|
+
|
12
|
+
.ch_button_ok
|
13
|
+
|
14
|
+
|
15
|
+
.ch_button_cancel
|
16
|
+
|
17
|
+
.ch_button_pink
|
18
|
+
background: $button_pink
|
19
|
+
&:hover
|
20
|
+
background: darken($button_pink, 10%)
|
21
|
+
.ch_button_green
|
22
|
+
background: $button_green
|
23
|
+
&:hover
|
24
|
+
background: darken($button_green, 10%)
|
25
|
+
|
26
|
+
.ch_button_unsubscribe
|
27
|
+
.following
|
28
|
+
display: inherit
|
29
|
+
.stop_following
|
30
|
+
display: none
|
31
|
+
&:hover
|
32
|
+
.following
|
33
|
+
display: none
|
34
|
+
.stop_following
|
35
|
+
font-size: 1em
|
36
|
+
display: inherit
|
37
|
+
|
38
|
+
.ch_button_gray
|
39
|
+
background: $button_gray
|
40
|
+
&:hover
|
41
|
+
background: darken($button_gray, 10%)
|
@@ -0,0 +1,75 @@
|
|
1
|
+
// Please, create colors based on function instead of just
|
2
|
+
// naming the color as COLOR
|
3
|
+
|
4
|
+
// General Colors
|
5
|
+
$darker_pink: #c2457e
|
6
|
+
$pink: #E75297
|
7
|
+
$border: rgb(223,223,223)
|
8
|
+
|
9
|
+
|
10
|
+
// Link Colors
|
11
|
+
$link: $pink
|
12
|
+
$link_hover: $link
|
13
|
+
|
14
|
+
// Buttons
|
15
|
+
|
16
|
+
$button_green: #64cb64
|
17
|
+
$button_gray: #C1C4C9
|
18
|
+
$button_pink: #FE7BB3
|
19
|
+
|
20
|
+
// Channels
|
21
|
+
$body_background: #f9f9f9
|
22
|
+
$channel_footer_background: #f0f0f0
|
23
|
+
$channel_active_link: $pink
|
24
|
+
$channel_text: #333
|
25
|
+
$project_box_link: #000
|
26
|
+
$project_box_headline: #979797
|
27
|
+
$project_box_shadow: #aaa
|
28
|
+
$project_box_status: $body_background
|
29
|
+
$project_box_progress: #56D84E
|
30
|
+
$project_box_progress_gray: #D4D9DE
|
31
|
+
$project_box_title: $project_box_progress
|
32
|
+
|
33
|
+
// Text Colors
|
34
|
+
$grafiti: #363636
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
// Button Colors (at least will be used with)
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
$blue: #4383d1
|
48
|
+
$minimal_blue: #6498D8
|
49
|
+
|
50
|
+
$green: #59aF6d
|
51
|
+
$dark_green: #284f31
|
52
|
+
$light_green: #64CB64
|
53
|
+
|
54
|
+
$less_dark_pink: #EE5192
|
55
|
+
$text_shadow: #8F2255
|
56
|
+
|
57
|
+
$orange: #f69b0e
|
58
|
+
|
59
|
+
|
60
|
+
$minimal_white: #f2f2f2
|
61
|
+
|
62
|
+
$ed_gryn: #EDEDED
|
63
|
+
$dc_gryn: #DCDCDC
|
64
|
+
$df_gryn: #dfdfdf
|
65
|
+
$ultra_gryn: #333333
|
66
|
+
$gryn_almost_ccc: #999
|
67
|
+
$gryn: #e3e2dc
|
68
|
+
$minimal_gryn: #cccccc
|
69
|
+
$super_minimal_gryn: #838383
|
70
|
+
$bg_minimal_gryn: #E3E2DC
|
71
|
+
$shadow_gryn: #7A7A7A
|
72
|
+
$_6f_gryn: #6F6F6F
|
73
|
+
$_4d_gryn: #4D535D
|
74
|
+
|
75
|
+
$red: #cc1529
|
@@ -0,0 +1,28 @@
|
|
1
|
+
$blue-two: #79808B
|
2
|
+
$green-one: #00B22D
|
3
|
+
|
4
|
+
.dropdown
|
5
|
+
z-index: 999
|
6
|
+
display: none
|
7
|
+
list-style: none
|
8
|
+
width: 130px
|
9
|
+
background: white
|
10
|
+
padding: 5px
|
11
|
+
position: absolute
|
12
|
+
+border-radius(4px)
|
13
|
+
+box-shadow(rgba(black, 0.3) 1px 1px 2px)
|
14
|
+
margin-left: -65px
|
15
|
+
li
|
16
|
+
text-align: left
|
17
|
+
padding: 0 10px
|
18
|
+
line-height: 30px
|
19
|
+
a
|
20
|
+
color: $blue-two
|
21
|
+
font-size: 13px
|
22
|
+
.small
|
23
|
+
font-size: 11px
|
24
|
+
font-weight: bold
|
25
|
+
color: $green-one
|
26
|
+
margin: -10px 0 0px
|
27
|
+
&.divider
|
28
|
+
border-top: 1px $gryn solid
|
@@ -0,0 +1,112 @@
|
|
1
|
+
.body_embed
|
2
|
+
background: none
|
3
|
+
#project_embed
|
4
|
+
text-align: center
|
5
|
+
color: #fff
|
6
|
+
+text-shadow(black, 1px, 1px, 1px)
|
7
|
+
height: 500px
|
8
|
+
h1
|
9
|
+
font-family: "Arvo"
|
10
|
+
font-weight: 500
|
11
|
+
font-size: 24px
|
12
|
+
padding: 0 20px
|
13
|
+
margin-bottom: 24px
|
14
|
+
color: #fff
|
15
|
+
h2
|
16
|
+
padding: 0
|
17
|
+
margin-bottom: 16px
|
18
|
+
color: #fff
|
19
|
+
a.close
|
20
|
+
font-family: 'Lato'
|
21
|
+
font-weight: 700
|
22
|
+
color: #fff
|
23
|
+
text-decoration: none
|
24
|
+
position: absolute
|
25
|
+
width: 24px
|
26
|
+
height: 24px
|
27
|
+
border: 3px solid #fff
|
28
|
+
+border-radius(24px)
|
29
|
+
top: 0
|
30
|
+
left: 100%
|
31
|
+
margin-top: -15px
|
32
|
+
margin-left: -15px
|
33
|
+
line-height: 22px
|
34
|
+
background-color: $ultra_gryn
|
35
|
+
//+linear-gradient(color_stops(#51C252,#49B249,#44A546))
|
36
|
+
+box-shadow(rgba(black,0.75),4px,-4px,10px)
|
37
|
+
font-weight: bold
|
38
|
+
+transition(all, 0.3s)
|
39
|
+
a.close:hover, a.close:focus
|
40
|
+
color: #fff
|
41
|
+
+scale(1.05)
|
42
|
+
#project_box_embed
|
43
|
+
float: left
|
44
|
+
overflow: hidden
|
45
|
+
iframe
|
46
|
+
+border-radius(8px)
|
47
|
+
textarea
|
48
|
+
margin-top: 8px
|
49
|
+
margin-right: 8px
|
50
|
+
height: 48px
|
51
|
+
width: 216px
|
52
|
+
background-color: $gryn
|
53
|
+
font-size: 14px
|
54
|
+
#project_video_embed
|
55
|
+
float: right
|
56
|
+
iframe
|
57
|
+
+border-radius(8px)
|
58
|
+
textarea
|
59
|
+
padding-right: 4px
|
60
|
+
margin-top: 8px
|
61
|
+
height: 48px
|
62
|
+
width: 344px
|
63
|
+
background-color: $gryn
|
64
|
+
font-size: 14px
|
65
|
+
|
66
|
+
#video_embed
|
67
|
+
text-align: center
|
68
|
+
padding: 16px
|
69
|
+
padding-bottom: 0
|
70
|
+
iframe
|
71
|
+
+border-top-left-radius(8px)
|
72
|
+
+border-top-right-radius(8px)
|
73
|
+
+box-shadow(rgba(0,0,0,0.5), 5px, 5px, 10px)
|
74
|
+
h1
|
75
|
+
font-family: "Arvo"
|
76
|
+
font-weight: 500
|
77
|
+
font-size: 24px
|
78
|
+
line-height: 26px
|
79
|
+
padding: 12px 0 8px 0
|
80
|
+
a
|
81
|
+
text-decoration: none
|
82
|
+
+text-shadow(rgba(0,0,0,0.3), 2px, 2px, 3px)
|
83
|
+
h2
|
84
|
+
font-size: 14px
|
85
|
+
line-height: 16px
|
86
|
+
color: #666
|
87
|
+
padding: 0
|
88
|
+
+text-shadow(#fff, 1px, 1px, 0px)
|
89
|
+
a
|
90
|
+
text-decoration: none
|
91
|
+
+text-shadow(#fff, 1px, 1px, 0px)
|
92
|
+
#platform_link
|
93
|
+
h1
|
94
|
+
font-family: "Arvo"
|
95
|
+
font-weight: 700
|
96
|
+
font-size: 28px
|
97
|
+
line-height: 30px
|
98
|
+
padding: 0
|
99
|
+
a
|
100
|
+
color: #222
|
101
|
+
text-decoration: none
|
102
|
+
+transition
|
103
|
+
a:hover
|
104
|
+
+text-shadow(rgba(0,150,0,0.4), 1px, 1px, 10px)
|
105
|
+
#video_embed_footer
|
106
|
+
position: fixed
|
107
|
+
bottom: 4px
|
108
|
+
left: 50%
|
109
|
+
width: 220px
|
110
|
+
margin-left: -110px
|
111
|
+
|
112
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.flash
|
2
|
+
font-family: Lato
|
3
|
+
font-size: 1.6em
|
4
|
+
color: white
|
5
|
+
display: none
|
6
|
+
z-index: 500
|
7
|
+
position: fixed
|
8
|
+
bottom: 0
|
9
|
+
width: 100%
|
10
|
+
text-align: center
|
11
|
+
.wrapper
|
12
|
+
padding: 20px
|
13
|
+
.success.wrapper,.notice.wrapper
|
14
|
+
background-color: $green
|
15
|
+
.failure.wrapper,.error.wrapper, .alert.wrapper
|
16
|
+
background-color: $red
|
17
|
+
.locale.wrapper
|
18
|
+
background-color: $blue
|
@@ -0,0 +1,626 @@
|
|
1
|
+
#bootstrap-form, .bootstrap-form {
|
2
|
+
form {
|
3
|
+
margin: 0 0 18px;
|
4
|
+
}
|
5
|
+
fieldset {
|
6
|
+
padding: 0;
|
7
|
+
margin: 0;
|
8
|
+
border: 0;
|
9
|
+
}
|
10
|
+
legend {
|
11
|
+
display: block;
|
12
|
+
width: 100%;
|
13
|
+
padding: 0;
|
14
|
+
margin-bottom: 27px;
|
15
|
+
font-size: 19.5px;
|
16
|
+
line-height: 36px;
|
17
|
+
color: #333333;
|
18
|
+
border: 0;
|
19
|
+
border-bottom: 1px solid #eee;
|
20
|
+
}
|
21
|
+
legend small {
|
22
|
+
font-size: 13.5px;
|
23
|
+
color: #999999;
|
24
|
+
}
|
25
|
+
label,
|
26
|
+
input,
|
27
|
+
button,
|
28
|
+
select,
|
29
|
+
textarea {
|
30
|
+
font-size: 13px;
|
31
|
+
font-weight: normal;
|
32
|
+
line-height: 18px;
|
33
|
+
}
|
34
|
+
input,
|
35
|
+
button,
|
36
|
+
select,
|
37
|
+
textarea {
|
38
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
39
|
+
}
|
40
|
+
label {
|
41
|
+
display: block;
|
42
|
+
margin-bottom: 5px;
|
43
|
+
color: #333333;
|
44
|
+
}
|
45
|
+
input,
|
46
|
+
textarea,
|
47
|
+
select,
|
48
|
+
.uneditable-input {
|
49
|
+
display: inline-block;
|
50
|
+
width: 210px;
|
51
|
+
height: 18px;
|
52
|
+
padding: 4px;
|
53
|
+
margin-bottom: 9px;
|
54
|
+
font-size: 13px;
|
55
|
+
line-height: 18px;
|
56
|
+
color: #555555;
|
57
|
+
border: 1px solid #cccccc;
|
58
|
+
-webkit-border-radius: 3px;
|
59
|
+
-moz-border-radius: 3px;
|
60
|
+
border-radius: 3px;
|
61
|
+
}
|
62
|
+
.uneditable-textarea {
|
63
|
+
width: auto;
|
64
|
+
height: auto;
|
65
|
+
}
|
66
|
+
label input,
|
67
|
+
label textarea,
|
68
|
+
label select {
|
69
|
+
display: block;
|
70
|
+
}
|
71
|
+
input[type="image"],
|
72
|
+
input[type="checkbox"],
|
73
|
+
input[type="radio"] {
|
74
|
+
width: auto;
|
75
|
+
height: auto;
|
76
|
+
padding: 0;
|
77
|
+
margin: 3px 0;
|
78
|
+
*margin-top: 0;
|
79
|
+
/* IE7 */
|
80
|
+
|
81
|
+
line-height: normal;
|
82
|
+
cursor: pointer;
|
83
|
+
-webkit-border-radius: 0;
|
84
|
+
-moz-border-radius: 0;
|
85
|
+
border-radius: 0;
|
86
|
+
border: 0 \9;
|
87
|
+
/* IE9 and down */
|
88
|
+
|
89
|
+
}
|
90
|
+
input[type="image"] {
|
91
|
+
border: 0;
|
92
|
+
}
|
93
|
+
input[type="file"] {
|
94
|
+
width: auto;
|
95
|
+
padding: initial;
|
96
|
+
line-height: initial;
|
97
|
+
border: initial;
|
98
|
+
background-color: #ffffff;
|
99
|
+
background-color: initial;
|
100
|
+
-webkit-box-shadow: none;
|
101
|
+
-moz-box-shadow: none;
|
102
|
+
box-shadow: none;
|
103
|
+
}
|
104
|
+
input[type="button"],
|
105
|
+
input[type="reset"],
|
106
|
+
input[type="submit"] {
|
107
|
+
width: auto;
|
108
|
+
height: auto;
|
109
|
+
}
|
110
|
+
select,
|
111
|
+
input[type="file"] {
|
112
|
+
height: 28px;
|
113
|
+
/* In IE7, the height of the select element cannot be changed by height, only font-size */
|
114
|
+
|
115
|
+
*margin-top: 4px;
|
116
|
+
/* For IE7, add top margin to align select with labels */
|
117
|
+
|
118
|
+
line-height: 28px;
|
119
|
+
}
|
120
|
+
input[type="file"] {
|
121
|
+
line-height: 18px \9;
|
122
|
+
}
|
123
|
+
select {
|
124
|
+
width: 220px;
|
125
|
+
background-color: #ffffff;
|
126
|
+
}
|
127
|
+
select[multiple],
|
128
|
+
select[size] {
|
129
|
+
height: auto;
|
130
|
+
}
|
131
|
+
input[type="image"] {
|
132
|
+
-webkit-box-shadow: none;
|
133
|
+
-moz-box-shadow: none;
|
134
|
+
box-shadow: none;
|
135
|
+
}
|
136
|
+
textarea {
|
137
|
+
height: auto;
|
138
|
+
}
|
139
|
+
input[type="hidden"] {
|
140
|
+
display: none;
|
141
|
+
}
|
142
|
+
.radio,
|
143
|
+
.checkbox {
|
144
|
+
padding-left: 18px;
|
145
|
+
}
|
146
|
+
.radio input[type="radio"],
|
147
|
+
.checkbox input[type="checkbox"] {
|
148
|
+
float: left;
|
149
|
+
margin-left: -18px;
|
150
|
+
}
|
151
|
+
.controls > .radio:first-child,
|
152
|
+
.controls > .checkbox:first-child {
|
153
|
+
padding-top: 5px;
|
154
|
+
}
|
155
|
+
.radio.inline,
|
156
|
+
.checkbox.inline {
|
157
|
+
display: inline-block;
|
158
|
+
padding-top: 5px;
|
159
|
+
margin-bottom: 0;
|
160
|
+
vertical-align: middle;
|
161
|
+
}
|
162
|
+
.radio.inline + .radio.inline,
|
163
|
+
.checkbox.inline + .checkbox.inline {
|
164
|
+
margin-left: 10px;
|
165
|
+
}
|
166
|
+
input,
|
167
|
+
textarea {
|
168
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
169
|
+
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
170
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
171
|
+
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
|
172
|
+
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
|
173
|
+
-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
|
174
|
+
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
|
175
|
+
transition: border linear 0.2s, box-shadow linear 0.2s;
|
176
|
+
}
|
177
|
+
input:focus,
|
178
|
+
textarea:focus {
|
179
|
+
border-color: rgba(82, 168, 236, 0.8);
|
180
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
|
181
|
+
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
|
182
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
|
183
|
+
outline: 0;
|
184
|
+
outline: thin dotted \9;
|
185
|
+
/* IE6-9 */
|
186
|
+
|
187
|
+
}
|
188
|
+
input[type="file"]:focus,
|
189
|
+
input[type="radio"]:focus,
|
190
|
+
input[type="checkbox"]:focus,
|
191
|
+
select:focus {
|
192
|
+
-webkit-box-shadow: none;
|
193
|
+
-moz-box-shadow: none;
|
194
|
+
box-shadow: none;
|
195
|
+
outline: thin dotted #333;
|
196
|
+
outline: 5px auto -webkit-focus-ring-color;
|
197
|
+
outline-offset: -2px;
|
198
|
+
}
|
199
|
+
.input-mini {
|
200
|
+
width: 60px;
|
201
|
+
}
|
202
|
+
.input-small {
|
203
|
+
width: 90px;
|
204
|
+
}
|
205
|
+
.input-medium {
|
206
|
+
width: 150px;
|
207
|
+
}
|
208
|
+
.input-large {
|
209
|
+
width: 210px;
|
210
|
+
}
|
211
|
+
.input-xlarge {
|
212
|
+
width: 270px;
|
213
|
+
}
|
214
|
+
.input-xxlarge {
|
215
|
+
width: 530px;
|
216
|
+
}
|
217
|
+
input[class*="span"],
|
218
|
+
select[class*="span"],
|
219
|
+
textarea[class*="span"],
|
220
|
+
.uneditable-input {
|
221
|
+
float: none;
|
222
|
+
margin-left: 0;
|
223
|
+
}
|
224
|
+
input,
|
225
|
+
textarea,
|
226
|
+
.uneditable-input {
|
227
|
+
margin-left: 0;
|
228
|
+
}
|
229
|
+
input.span12, textarea.span12, .uneditable-input.span12 {
|
230
|
+
width: 930px;
|
231
|
+
}
|
232
|
+
input.span11, textarea.span11, .uneditable-input.span11 {
|
233
|
+
width: 850px;
|
234
|
+
}
|
235
|
+
input.span10, textarea.span10, .uneditable-input.span10 {
|
236
|
+
width: 770px;
|
237
|
+
}
|
238
|
+
input.span9, textarea.span9, .uneditable-input.span9 {
|
239
|
+
width: 690px;
|
240
|
+
}
|
241
|
+
input.span8, textarea.span8, .uneditable-input.span8 {
|
242
|
+
width: 610px;
|
243
|
+
}
|
244
|
+
input.span7, textarea.span7, .uneditable-input.span7 {
|
245
|
+
width: 530px;
|
246
|
+
}
|
247
|
+
input.span6, textarea.span6, .uneditable-input.span6 {
|
248
|
+
width: 450px;
|
249
|
+
}
|
250
|
+
input.span5, textarea.span5, .uneditable-input.span5 {
|
251
|
+
width: 370px;
|
252
|
+
}
|
253
|
+
input.span4, textarea.span4, .uneditable-input.span4 {
|
254
|
+
width: 290px;
|
255
|
+
}
|
256
|
+
input.span3, textarea.span3, .uneditable-input.span3 {
|
257
|
+
width: 210px;
|
258
|
+
}
|
259
|
+
input.span2, textarea.span2, .uneditable-input.span2 {
|
260
|
+
width: 130px;
|
261
|
+
}
|
262
|
+
input.span1, textarea.span1, .uneditable-input.span1 {
|
263
|
+
width: 50px;
|
264
|
+
}
|
265
|
+
input[disabled],
|
266
|
+
select[disabled],
|
267
|
+
textarea[disabled],
|
268
|
+
input[readonly],
|
269
|
+
select[readonly],
|
270
|
+
textarea[readonly] {
|
271
|
+
background-color: #eeeeee;
|
272
|
+
border-color: #ddd;
|
273
|
+
cursor: not-allowed;
|
274
|
+
}
|
275
|
+
.control-group.warning > label,
|
276
|
+
.control-group.warning .help-block,
|
277
|
+
.control-group.warning .help-inline {
|
278
|
+
color: #c09853;
|
279
|
+
}
|
280
|
+
.control-group.warning input,
|
281
|
+
.control-group.warning select,
|
282
|
+
.control-group.warning textarea {
|
283
|
+
color: #c09853;
|
284
|
+
border-color: #c09853;
|
285
|
+
}
|
286
|
+
.control-group.warning input:focus,
|
287
|
+
.control-group.warning select:focus,
|
288
|
+
.control-group.warning textarea:focus {
|
289
|
+
border-color: #a47e3c;
|
290
|
+
-webkit-box-shadow: 0 0 6px #dbc59e;
|
291
|
+
-moz-box-shadow: 0 0 6px #dbc59e;
|
292
|
+
box-shadow: 0 0 6px #dbc59e;
|
293
|
+
}
|
294
|
+
.control-group.warning .input-prepend .add-on,
|
295
|
+
.control-group.warning .input-append .add-on {
|
296
|
+
color: #c09853;
|
297
|
+
background-color: #fcf8e3;
|
298
|
+
border-color: #c09853;
|
299
|
+
}
|
300
|
+
.control-group.error > label,
|
301
|
+
.control-group.error .help-block,
|
302
|
+
.control-group.error .help-inline {
|
303
|
+
color: #b94a48;
|
304
|
+
}
|
305
|
+
.control-group.error input,
|
306
|
+
.control-group.error select,
|
307
|
+
.control-group.error textarea {
|
308
|
+
color: #b94a48;
|
309
|
+
border-color: #b94a48;
|
310
|
+
}
|
311
|
+
.control-group.error input:focus,
|
312
|
+
.control-group.error select:focus,
|
313
|
+
.control-group.error textarea:focus {
|
314
|
+
border-color: #953b39;
|
315
|
+
-webkit-box-shadow: 0 0 6px #d59392;
|
316
|
+
-moz-box-shadow: 0 0 6px #d59392;
|
317
|
+
box-shadow: 0 0 6px #d59392;
|
318
|
+
}
|
319
|
+
.control-group.error .input-prepend .add-on,
|
320
|
+
.control-group.error .input-append .add-on {
|
321
|
+
color: #b94a48;
|
322
|
+
background-color: #f2dede;
|
323
|
+
border-color: #b94a48;
|
324
|
+
}
|
325
|
+
.control-group.success > label,
|
326
|
+
.control-group.success .help-block,
|
327
|
+
.control-group.success .help-inline {
|
328
|
+
color: #468847;
|
329
|
+
}
|
330
|
+
.control-group.success input,
|
331
|
+
.control-group.success select,
|
332
|
+
.control-group.success textarea {
|
333
|
+
color: #468847;
|
334
|
+
border-color: #468847;
|
335
|
+
}
|
336
|
+
.control-group.success input:focus,
|
337
|
+
.control-group.success select:focus,
|
338
|
+
.control-group.success textarea:focus {
|
339
|
+
border-color: #356635;
|
340
|
+
-webkit-box-shadow: 0 0 6px #7aba7b;
|
341
|
+
-moz-box-shadow: 0 0 6px #7aba7b;
|
342
|
+
box-shadow: 0 0 6px #7aba7b;
|
343
|
+
}
|
344
|
+
.control-group.success .input-prepend .add-on,
|
345
|
+
.control-group.success .input-append .add-on {
|
346
|
+
color: #468847;
|
347
|
+
background-color: #dff0d8;
|
348
|
+
border-color: #468847;
|
349
|
+
}
|
350
|
+
input:focus:required:invalid,
|
351
|
+
textarea:focus:required:invalid,
|
352
|
+
select:focus:required:invalid {
|
353
|
+
color: #b94a48;
|
354
|
+
border-color: #ee5f5b;
|
355
|
+
}
|
356
|
+
input:focus:required:invalid:focus,
|
357
|
+
textarea:focus:required:invalid:focus,
|
358
|
+
select:focus:required:invalid:focus {
|
359
|
+
border-color: #e9322d;
|
360
|
+
-webkit-box-shadow: 0 0 6px #f8b9b7;
|
361
|
+
-moz-box-shadow: 0 0 6px #f8b9b7;
|
362
|
+
box-shadow: 0 0 6px #f8b9b7;
|
363
|
+
}
|
364
|
+
.form-actions {
|
365
|
+
padding: 17px 20px 18px;
|
366
|
+
margin-top: 18px;
|
367
|
+
margin-bottom: 18px;
|
368
|
+
background-color: #eeeeee;
|
369
|
+
border-top: 1px solid #ddd;
|
370
|
+
*zoom: 1;
|
371
|
+
}
|
372
|
+
.form-actions:before,
|
373
|
+
.form-actions:after {
|
374
|
+
display: table;
|
375
|
+
content: "";
|
376
|
+
}
|
377
|
+
.form-actions:after {
|
378
|
+
clear: both;
|
379
|
+
}
|
380
|
+
.uneditable-input {
|
381
|
+
display: block;
|
382
|
+
background-color: #ffffff;
|
383
|
+
border-color: #eee;
|
384
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
385
|
+
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
386
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
|
387
|
+
cursor: not-allowed;
|
388
|
+
}
|
389
|
+
:-moz-placeholder {
|
390
|
+
color: #999999;
|
391
|
+
}
|
392
|
+
::-webkit-input-placeholder {
|
393
|
+
color: #999999;
|
394
|
+
}
|
395
|
+
.help-block,
|
396
|
+
.help-inline {
|
397
|
+
color: #555555;
|
398
|
+
}
|
399
|
+
.help-block {
|
400
|
+
display: block;
|
401
|
+
margin-bottom: 9px;
|
402
|
+
}
|
403
|
+
.help-inline {
|
404
|
+
display: inline-block;
|
405
|
+
*display: inline;
|
406
|
+
/* IE7 inline-block hack */
|
407
|
+
|
408
|
+
*zoom: 1;
|
409
|
+
vertical-align: middle;
|
410
|
+
padding-left: 5px;
|
411
|
+
}
|
412
|
+
.input-prepend,
|
413
|
+
.input-append {
|
414
|
+
margin-bottom: 5px;
|
415
|
+
}
|
416
|
+
.input-prepend input,
|
417
|
+
.input-append input,
|
418
|
+
.input-prepend select,
|
419
|
+
.input-append select,
|
420
|
+
.input-prepend .uneditable-input,
|
421
|
+
.input-append .uneditable-input {
|
422
|
+
*margin-left: 0;
|
423
|
+
-webkit-border-radius: 0 3px 3px 0;
|
424
|
+
-moz-border-radius: 0 3px 3px 0;
|
425
|
+
border-radius: 0 3px 3px 0;
|
426
|
+
}
|
427
|
+
.input-prepend input:focus,
|
428
|
+
.input-append input:focus,
|
429
|
+
.input-prepend select:focus,
|
430
|
+
.input-append select:focus,
|
431
|
+
.input-prepend .uneditable-input:focus,
|
432
|
+
.input-append .uneditable-input:focus {
|
433
|
+
position: relative;
|
434
|
+
z-index: 2;
|
435
|
+
}
|
436
|
+
.input-prepend .uneditable-input,
|
437
|
+
.input-append .uneditable-input {
|
438
|
+
border-left-color: #ccc;
|
439
|
+
}
|
440
|
+
.input-prepend .add-on,
|
441
|
+
.input-append .add-on {
|
442
|
+
display: inline-block;
|
443
|
+
width: auto;
|
444
|
+
min-width: 16px;
|
445
|
+
height: 18px;
|
446
|
+
padding: 4px 5px;
|
447
|
+
font-weight: normal;
|
448
|
+
line-height: 18px;
|
449
|
+
text-align: center;
|
450
|
+
text-shadow: 0 1px 0 #ffffff;
|
451
|
+
vertical-align: middle;
|
452
|
+
background-color: #eeeeee;
|
453
|
+
border: 1px solid #ccc;
|
454
|
+
}
|
455
|
+
.input-prepend .add-on,
|
456
|
+
.input-append .add-on,
|
457
|
+
.input-prepend .btn,
|
458
|
+
.input-append .btn {
|
459
|
+
-webkit-border-radius: 3px 0 0 3px;
|
460
|
+
-moz-border-radius: 3px 0 0 3px;
|
461
|
+
border-radius: 3px 0 0 3px;
|
462
|
+
}
|
463
|
+
.input-prepend .active,
|
464
|
+
.input-append .active {
|
465
|
+
background-color: #a9dba9;
|
466
|
+
border-color: #46a546;
|
467
|
+
}
|
468
|
+
.input-prepend .add-on,
|
469
|
+
.input-prepend .btn {
|
470
|
+
margin-right: -1px;
|
471
|
+
}
|
472
|
+
.input-append input,
|
473
|
+
.input-append select .uneditable-input {
|
474
|
+
-webkit-border-radius: 3px 0 0 3px;
|
475
|
+
-moz-border-radius: 3px 0 0 3px;
|
476
|
+
border-radius: 3px 0 0 3px;
|
477
|
+
}
|
478
|
+
.input-append .uneditable-input {
|
479
|
+
border-left-color: #eee;
|
480
|
+
border-right-color: #ccc;
|
481
|
+
}
|
482
|
+
.input-append .add-on,
|
483
|
+
.input-append .btn {
|
484
|
+
margin-left: -1px;
|
485
|
+
-webkit-border-radius: 0 3px 3px 0;
|
486
|
+
-moz-border-radius: 0 3px 3px 0;
|
487
|
+
border-radius: 0 3px 3px 0;
|
488
|
+
}
|
489
|
+
.input-prepend.input-append input,
|
490
|
+
.input-prepend.input-append select,
|
491
|
+
.input-prepend.input-append .uneditable-input {
|
492
|
+
-webkit-border-radius: 0;
|
493
|
+
-moz-border-radius: 0;
|
494
|
+
border-radius: 0;
|
495
|
+
}
|
496
|
+
.input-prepend.input-append .add-on:first-child,
|
497
|
+
.input-prepend.input-append .btn:first-child {
|
498
|
+
margin-right: -1px;
|
499
|
+
-webkit-border-radius: 3px 0 0 3px;
|
500
|
+
-moz-border-radius: 3px 0 0 3px;
|
501
|
+
border-radius: 3px 0 0 3px;
|
502
|
+
}
|
503
|
+
.input-prepend.input-append .add-on:last-child,
|
504
|
+
.input-prepend.input-append .btn:last-child {
|
505
|
+
margin-left: -1px;
|
506
|
+
-webkit-border-radius: 0 3px 3px 0;
|
507
|
+
-moz-border-radius: 0 3px 3px 0;
|
508
|
+
border-radius: 0 3px 3px 0;
|
509
|
+
}
|
510
|
+
.search-query {
|
511
|
+
padding-left: 14px;
|
512
|
+
padding-right: 14px;
|
513
|
+
margin-bottom: 0;
|
514
|
+
-webkit-border-radius: 14px;
|
515
|
+
-moz-border-radius: 14px;
|
516
|
+
border-radius: 14px;
|
517
|
+
}
|
518
|
+
.form-search input,
|
519
|
+
.form-inline input,
|
520
|
+
.form-horizontal input,
|
521
|
+
.form-search textarea,
|
522
|
+
.form-inline textarea,
|
523
|
+
.form-horizontal textarea,
|
524
|
+
.form-search select,
|
525
|
+
.form-inline select,
|
526
|
+
.form-horizontal select,
|
527
|
+
.form-search .help-inline,
|
528
|
+
.form-inline .help-inline,
|
529
|
+
.form-horizontal .help-inline,
|
530
|
+
.form-search .uneditable-input,
|
531
|
+
.form-inline .uneditable-input,
|
532
|
+
.form-horizontal .uneditable-input,
|
533
|
+
.form-search .input-prepend,
|
534
|
+
.form-inline .input-prepend,
|
535
|
+
.form-horizontal .input-prepend,
|
536
|
+
.form-search .input-append,
|
537
|
+
.form-inline .input-append,
|
538
|
+
.form-horizontal .input-append {
|
539
|
+
display: inline-block;
|
540
|
+
margin-bottom: 0;
|
541
|
+
}
|
542
|
+
.form-search .hide,
|
543
|
+
.form-inline .hide,
|
544
|
+
.form-horizontal .hide {
|
545
|
+
display: none;
|
546
|
+
}
|
547
|
+
.form-search label,
|
548
|
+
.form-inline label {
|
549
|
+
display: inline-block;
|
550
|
+
}
|
551
|
+
.form-search .input-append,
|
552
|
+
.form-inline .input-append,
|
553
|
+
.form-search .input-prepend,
|
554
|
+
.form-inline .input-prepend {
|
555
|
+
margin-bottom: 0;
|
556
|
+
}
|
557
|
+
.form-search .radio,
|
558
|
+
.form-search .checkbox,
|
559
|
+
.form-inline .radio,
|
560
|
+
.form-inline .checkbox {
|
561
|
+
padding-left: 0;
|
562
|
+
margin-bottom: 0;
|
563
|
+
vertical-align: middle;
|
564
|
+
}
|
565
|
+
.form-search .radio input[type="radio"],
|
566
|
+
.form-search .checkbox input[type="checkbox"],
|
567
|
+
.form-inline .radio input[type="radio"],
|
568
|
+
.form-inline .checkbox input[type="checkbox"] {
|
569
|
+
float: left;
|
570
|
+
margin-left: 0;
|
571
|
+
margin-right: 3px;
|
572
|
+
}
|
573
|
+
.control-group {
|
574
|
+
margin-bottom: 9px;
|
575
|
+
}
|
576
|
+
legend + .control-group {
|
577
|
+
margin-top: 18px;
|
578
|
+
-webkit-margin-top-collapse: separate;
|
579
|
+
}
|
580
|
+
.form-horizontal .control-group {
|
581
|
+
margin-bottom: 18px;
|
582
|
+
*zoom: 1;
|
583
|
+
}
|
584
|
+
.form-horizontal .control-group:before,
|
585
|
+
.form-horizontal .control-group:after {
|
586
|
+
display: table;
|
587
|
+
content: "";
|
588
|
+
}
|
589
|
+
.form-horizontal .control-group:after {
|
590
|
+
clear: both;
|
591
|
+
}
|
592
|
+
.form-horizontal .control-label {
|
593
|
+
float: left;
|
594
|
+
width: 140px;
|
595
|
+
padding-top: 5px;
|
596
|
+
text-align: right;
|
597
|
+
}
|
598
|
+
.form-horizontal .controls {
|
599
|
+
margin-left: 160px;
|
600
|
+
/* Super jank IE7 fix to ensure the inputs in .input-append and input-prepend don't inherit the margin of the parent, in this case .controls */
|
601
|
+
|
602
|
+
*display: inline-block;
|
603
|
+
*margin-left: 0;
|
604
|
+
*padding-left: 20px;
|
605
|
+
}
|
606
|
+
.form-horizontal .help-block {
|
607
|
+
margin-top: 9px;
|
608
|
+
margin-bottom: 0;
|
609
|
+
}
|
610
|
+
.form-horizontal .form-actions {
|
611
|
+
padding-left: 160px;
|
612
|
+
}
|
613
|
+
|
614
|
+
#error_explanation {
|
615
|
+
font-family: "Lato";
|
616
|
+
font-size: 15px;
|
617
|
+
padding-bottom: 10px;
|
618
|
+
color: $red;
|
619
|
+
}
|
620
|
+
|
621
|
+
.field_with_errors input,
|
622
|
+
.field_with_errors select,
|
623
|
+
.field_with_errors textarea, {
|
624
|
+
border-color: $red
|
625
|
+
}
|
626
|
+
}
|