pwb 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +40 -25
- data/app/assets/fonts/fonts/FontAwesome.otf +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.svg +2668 -637
- data/app/assets/fonts/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/javascripts/pwb/shared/page-content.js +24 -0
- data/app/assets/javascripts/pwb/shared/squares-container.js +58 -0
- data/app/assets/javascripts/pwb/shared/vue-main.js +1 -1
- data/app/assets/javascripts/pwb/shared/vue-squares.js.erb +74 -0
- data/app/assets/javascripts/pwb/squares/tabable-section.js +47 -0
- data/app/assets/javascripts/pwb/themes/squares.js.erb +45 -0
- data/app/assets/javascripts/pwb/themes/vic.js.erb +152 -0
- data/app/assets/javascripts/pwb_admin_panel/application_legacy_1.js +5 -0
- data/app/assets/stylesheets/pwb/themes/berlin.scss +4 -0
- data/app/assets/stylesheets/pwb/themes/berlin/main.scss +1 -1
- data/app/assets/stylesheets/pwb/themes/default.scss +1 -0
- data/app/assets/stylesheets/pwb/themes/default/carousel.scss +2 -1
- data/app/assets/stylesheets/pwb/themes/default/landing_content_areas.scss +13 -13
- data/app/assets/stylesheets/pwb/themes/default/shame.scss +0 -16
- data/app/assets/stylesheets/pwb/themes/matt.scss +18 -0
- data/app/assets/stylesheets/pwb/themes/shared/liquid_templates.scss +37 -0
- data/app/assets/stylesheets/pwb/themes/shared/shame.scss +7 -0
- data/app/assets/stylesheets/pwb/themes/squares.scss +22 -0
- data/app/assets/stylesheets/pwb/themes/squares/vue-material-docs.scss +200 -0
- data/app/assets/stylesheets/pwb/themes/squares/vue-material-vars.scss +141 -0
- data/app/assets/stylesheets/pwb/themes/vic.scss +104 -0
- data/app/assets/stylesheets/pwb/themes/vic/general.scss +15 -0
- data/app/assets/stylesheets/pwb/themes/vic/landing.scss +189 -0
- data/app/assets/stylesheets/pwb/themes/vic/slider.scss +127 -0
- data/app/assets/stylesheets/pwb_admin_panel/application_legacy_1.scss +6 -0
- data/app/controllers/pwb/admin_panel_controller.rb +7 -1
- data/app/controllers/pwb/api/v1/clients_controller.rb +35 -0
- data/app/controllers/pwb/api/v1/contacts_controller.rb +41 -0
- data/app/controllers/pwb/api/v1/links_controller.rb +47 -0
- data/app/controllers/pwb/api/v1/page_controller.rb +117 -0
- data/app/controllers/pwb/api/v1/page_fragments_controller.rb +74 -0
- data/app/controllers/pwb/api/v1/properties_controller.rb +30 -9
- data/app/controllers/pwb/api/v1/sections_controller.rb +27 -26
- data/app/controllers/pwb/api/v1/website_controller.rb +11 -11
- data/app/controllers/pwb/application_controller.rb +22 -11
- data/app/controllers/pwb/{sections_controller.rb → contact_us_controller.rb} +24 -45
- data/app/controllers/pwb/css_controller.rb +5 -2
- data/app/controllers/pwb/pages_controller.rb +36 -0
- data/app/controllers/pwb/search_controller.rb +33 -11
- data/app/controllers/pwb/squares_controller.rb +48 -0
- data/app/controllers/pwb/welcome_controller.rb +30 -5
- data/app/helpers/pwb/application_helper.rb +50 -49
- data/app/helpers/pwb/css_helper.rb +14 -0
- data/app/helpers/pwb/navigation_helper.rb +82 -0
- data/app/models/pwb/contact.rb +25 -0
- data/app/models/pwb/content.rb +26 -8
- data/app/models/pwb/content_photo.rb +18 -0
- data/app/models/pwb/link.rb +41 -0
- data/app/models/pwb/message.rb +1 -1
- data/app/models/pwb/page.rb +227 -0
- data/app/models/pwb/page_content.rb +33 -0
- data/app/models/pwb/page_part.rb +17 -0
- data/app/models/pwb/preset_style.rb +37 -0
- data/app/models/pwb/prop.rb +4 -0
- data/app/models/pwb/website.rb +64 -9
- data/app/resources/pwb/api/v1/{section_resource.rb → client_resource.rb} +3 -4
- data/app/resources/pwb/api/v1/property_resource.rb +23 -4
- data/app/resources/pwb/api/v1/web_content_resource.rb +1 -1
- data/app/resources/pwb/api_public/v1/prop_resource.rb +9 -2
- data/{db/cms_fixtures/cms/layouts/about-us/content.html → app/themes/airbnb/views/layouts/pwb/_generic_modal.html.erb} +0 -0
- data/{db/cms_fixtures/cms/layouts/about-us/javascript.js → app/themes/airbnb/views/layouts/pwb/_login_modal.html.erb} +0 -0
- data/app/themes/airbnb/views/layouts/pwb/application.html.erb +82 -0
- data/app/themes/airbnb/views/pwb/_footer.html.erb +25 -0
- data/app/themes/airbnb/views/pwb/props/_images_section_carousel.html.erb +43 -0
- data/app/themes/airbnb/views/pwb/props/show.html.erb +69 -0
- data/app/themes/airbnb/views/pwb/search/_search_form_for_rent.html.erb +183 -0
- data/app/themes/airbnb/views/pwb/search/_search_results.html.erb +34 -0
- data/app/themes/airbnb/views/pwb/search/buy.html.erb +65 -0
- data/app/themes/airbnb/views/pwb/search/rent.html.erb +87 -0
- data/app/themes/airbnb/views/pwb/sections/_contact_us_form.html.erb +49 -0
- data/app/themes/airbnb/views/pwb/sections/contact_us.html.erb +56 -0
- data/app/themes/airbnb/views/pwb/welcome/_content_area_cols.html.erb +12 -0
- data/app/themes/airbnb/views/pwb/welcome/_single_property_row.html.erb +51 -0
- data/app/themes/airbnb/views/pwb/welcome/index.html.erb +66 -0
- data/app/themes/berlin/views/pwb/_footer.html.erb +15 -20
- data/app/themes/berlin/views/pwb/_header.html.erb +7 -9
- data/app/themes/berlin/views/pwb/pages/show.html.erb +50 -0
- data/app/themes/berlin/views/pwb/search/buy.html.erb +1 -1
- data/app/themes/berlin/views/pwb/search/rent.html.erb +1 -2
- data/app/themes/berlin/views/pwb/sections/contact_us.html.erb +1 -1
- data/app/themes/berlin/views/pwb/welcome/index.html.erb +51 -7
- data/app/themes/config.json +14 -0
- data/app/themes/default/views/pwb/{sections/cms.html.erb → pages/show.html.erb} +9 -8
- data/app/themes/default/views/pwb/search/buy.html.erb +1 -1
- data/app/themes/default/views/pwb/search/rent.html.erb +1 -1
- data/app/themes/default/views/pwb/sections/about_us.html.erb +8 -7
- data/app/themes/default/views/pwb/sections/contact_us.html.erb +40 -30
- data/app/themes/default/views/pwb/sections/static.html.erb +3 -20
- data/app/themes/default/views/pwb/welcome/_single_property_row.html.erb +1 -1
- data/app/themes/default/views/pwb/welcome/index.html.erb +7 -38
- data/app/themes/matt/views/layouts/pwb/application.html.erb +45 -0
- data/app/themes/matt/views/pwb/_footer.html.erb +60 -0
- data/app/themes/matt/views/pwb/_header.html.erb +105 -0
- data/app/themes/matt/views/pwb/search/buy.html.erb +65 -0
- data/app/themes/matt/views/pwb/welcome/index.html.erb +132 -0
- data/app/themes/vic/views/layouts/pwb/application.html.erb +94 -0
- data/app/themes/vic/views/pwb/_header.html.erb +100 -0
- data/app/themes/vic/views/pwb/props/_images_section_carousel.html.erb +43 -0
- data/app/themes/vic/views/pwb/props/show.html.erb +69 -0
- data/app/themes/vic/views/pwb/search/buy.html.erb +65 -0
- data/app/themes/vic/views/pwb/search/rent.html.erb +65 -0
- data/app/themes/vic/views/pwb/sections/_contact_us_form.html.erb +49 -0
- data/app/themes/vic/views/pwb/sections/contact_us.html.erb +56 -0
- data/app/themes/vic/views/pwb/welcome/_content_area_cols.html.erb +12 -0
- data/app/themes/vic/views/pwb/welcome/_single_property_row.html.erb +51 -0
- data/app/themes/vic/views/pwb/welcome/index.html.erb +27 -0
- data/app/views/devise/shared/_links.html.erb +1 -1
- data/app/views/layouts/pwb/admin_panel_error.html.erb +19 -0
- data/app/views/layouts/pwb/admin_panel_legacy_1.html.erb +21 -0
- data/app/views/layouts/pwb/squares.html.erb +72 -0
- data/app/views/pwb/_footer.html.erb +2 -6
- data/app/views/pwb/_header.html.erb +23 -25
- data/app/views/pwb/admin_panel/show_legacy_1.html.erb +3 -0
- data/app/views/pwb/custom_css/_berlin.css.erb +0 -67
- data/app/views/pwb/custom_css/_default.css.erb +0 -22
- data/app/views/pwb/custom_css/_shared.css.erb +4 -3
- data/app/views/pwb/custom_css/_vic.css.erb +10 -0
- data/app/views/pwb/props/_images_section_carousel.html.erb +1 -1
- data/app/views/pwb/search/_search_result_item.html.erb +1 -1
- data/app/views/pwb/squares/show_client.html.erb +26 -0
- data/app/views/pwb/squares/show_prop.html.erb +26 -0
- data/app/views/pwb/squares/vue.html.erb +1 -0
- data/config/client_setups/default.json +28 -27
- data/config/initializers/i18n_globalise.rb +4 -0
- data/config/locales/admin.en.yml +38 -7
- data/config/locales/admin.es.yml +60 -6
- data/config/locales/admin.pt.yml +474 -0
- data/config/locales/admin.ru.yml +49 -6
- data/config/locales/devise.it.yml +137 -0
- data/config/locales/en.yml +7 -7
- data/config/locales/it.yml +160 -0
- data/config/locales/pt.yml +2 -0
- data/config/locales/rails.it.yml +213 -0
- data/config/locales/tr.yml +36 -36
- data/config/locales/vi.yml +5 -5
- data/config/preset_styles/green_amber.json +23 -0
- data/config/preset_styles/purple_teal.json +23 -0
- data/config/preset_styles/red_light.json +18 -0
- data/config/routes.rb +35 -23
- data/db/example_images/carousel_villa_with_pool.jpg +0 -0
- data/db/example_images/flat_luxury_dining_area.jpg +0 -0
- data/db/example_images/flat_luxury_living_area.jpg +0 -0
- data/db/migrate/20161120103546_create_pwb_props.rb +3 -3
- data/db/migrate/20161122174847_create_pwb_sections.rb +9 -8
- data/db/migrate/20161128221919_create_pwb_clients.rb +1 -0
- data/db/migrate/20170315195413_add_extra_cols_to_pwb_sections.rb +7 -6
- data/db/migrate/20170716075456_create_pwb_pages.rb +23 -0
- data/db/migrate/20170716110121_translate_pages.rb +17 -0
- data/db/migrate/20170720183443_create_pwb_links.rb +29 -0
- data/db/migrate/20170720201601_translate_links.rb +13 -0
- data/db/migrate/20170915094326_create_pwb_page_contents.rb +17 -0
- data/db/migrate/20170917215533_add_page_part_key_to_pwb_contents.rb +7 -0
- data/db/migrate/20170919134945_add_block_key_to_pwb_content_photos.rb +5 -0
- data/db/migrate/20170923195321_create_pwb_contacts.rb +33 -0
- data/db/migrate/20171011212930_create_pwb_page_parts.rb +30 -0
- data/db/seeds/translations_es.rb +1 -87
- data/db/seeds/translations_it.rb +92 -0
- data/db/yml_seeds/agency_address.yml +8 -8
- data/db/yml_seeds/contacts.yml +13 -0
- data/db/yml_seeds/content_translations/en.yml +73 -0
- data/db/yml_seeds/content_translations/es.yml +74 -0
- data/db/yml_seeds/content_translations/it.yml +73 -0
- data/db/yml_seeds/content_translations/pt.yml +73 -0
- data/db/yml_seeds/{content/footer.yml → footer.yml} +0 -0
- data/db/yml_seeds/links.yml +389 -0
- data/db/yml_seeds/page_parts/ABOUT_PAGE_PARTS.md +5 -0
- data/db/yml_seeds/page_parts/about-us__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/about-us__our_agency.yml +51 -0
- data/db/yml_seeds/page_parts/contact-us__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/contact-us__form_and_map.yml +17 -0
- data/db/yml_seeds/page_parts/home__about_us_services.yml +85 -0
- data/db/yml_seeds/page_parts/home__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/home__landing_hero.yml +51 -0
- data/db/yml_seeds/page_parts/legal__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/privacy__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/sell__content_html.yml +24 -0
- data/db/yml_seeds/pages/about.yml +11 -0
- data/db/yml_seeds/pages/buy.yml +23 -0
- data/db/yml_seeds/pages/contact.yml +12 -0
- data/db/yml_seeds/pages/home.yml +15 -0
- data/db/yml_seeds/pages/legal_notice.yml +11 -0
- data/db/yml_seeds/pages/privacy_policy.yml +11 -0
- data/db/yml_seeds/pages/rent.yml +15 -0
- data/db/yml_seeds/pages/sell.yml +13 -0
- data/db/yml_seeds/prop/flat_for_rent.yml +11 -11
- data/db/yml_seeds/prop/flat_for_rent_2.yml +57 -0
- data/db/yml_seeds/prop/flat_for_sale.yml +11 -12
- data/db/yml_seeds/prop/flat_for_sale_2.yml +56 -0
- data/db/yml_seeds/prop/villa_for_rent.yml +14 -14
- data/db/yml_seeds/prop/villa_for_sale.yml +15 -15
- data/db/yml_seeds/prop_spain/flat_for_rent.yml +58 -0
- data/db/yml_seeds/prop_spain/flat_for_sale.yml +58 -0
- data/db/yml_seeds/prop_spain/villa_for_rent.yml +58 -0
- data/db/yml_seeds/prop_spain/villa_for_sale.yml +59 -0
- data/db/yml_seeds/sections.yml +119 -119
- data/db/yml_seeds/{content → to_delete}/about_us.yml +0 -0
- data/db/yml_seeds/{content → to_delete}/carousel.yml +0 -0
- data/db/yml_seeds/{content → to_delete}/content_columns.yml +0 -0
- data/db/yml_seeds/to_delete/footer.yml +15 -0
- data/db/yml_seeds/{content → to_delete}/sell.yml +0 -0
- data/db/yml_seeds/{content → to_delete}/static.yml +0 -0
- data/db/yml_seeds/website.yml +2 -1
- data/lib/pwb/engine.rb +16 -2
- data/lib/pwb/pages_seeder.rb +190 -0
- data/lib/pwb/seeder.rb +56 -14
- data/lib/pwb/version.rb +1 -1
- data/lib/tasks/pwb_tasks.rake +19 -2
- data/spec/controllers/pwb/api/v1/propeties_controller_spec.rb +2 -2
- data/spec/controllers/pwb/welcome_controller_spec.rb +18 -5
- data/spec/dummy/config/initializers/assets.rb +9 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/config/secrets.yml +3 -0
- data/spec/dummy/db/migrate/20171201161323_create_property_web_scraper_import_hosts.property_web_scraper.rb +22 -0
- data/spec/dummy/db/migrate/20171201161324_create_property_web_scraper_listings.property_web_scraper.rb +84 -0
- data/spec/dummy/db/schema.rb +475 -398
- data/spec/factories/pwb_contacts.rb +5 -0
- data/spec/factories/pwb_contents.rb +3 -0
- data/spec/factories/pwb_links.rb +5 -0
- data/spec/factories/pwb_page_contents.rb +5 -0
- data/spec/factories/pwb_page_parts.rb +8 -0
- data/spec/factories/pwb_pages.rb +29 -0
- data/spec/factories/pwb_prop_photos.rb +11 -2
- data/spec/fixtures/mls/properties_interealty.json +1 -496
- data/spec/fixtures/params/bulk_create.json +3 -3
- data/spec/libraries/pwb/pages_seeder_spec.rb +56 -0
- data/spec/libraries/pwb/seeder_spec.rb +14 -10
- data/spec/models/pwb/contact_spec.rb +7 -0
- data/spec/models/pwb/link_spec.rb +7 -0
- data/spec/models/pwb/page_content_spec.rb +7 -0
- data/spec/models/pwb/page_part_spec.rb +7 -0
- data/spec/models/pwb/page_spec.rb +28 -0
- data/spec/models/pwb/website_spec.rb +10 -0
- data/spec/rails_helper.rb +1 -1
- data/spec/requests/pwb/themes_spec.rb +15 -10
- data/spec/views/pwb/application_layout.html.erb_spec.rb +28 -21
- data/spec/views/pwb/contact_us.html.erb_spec.rb +11 -0
- data/spec/views/pwb/welcome.html.erb_spec.rb +13 -9
- metadata +230 -244
- data/app/controllers/pwb/api/v1/cms_pages_controller.rb +0 -102
- data/app/controllers/pwb/comfy_controller.rb +0 -106
- data/app/models/pwb/cms_page_container.rb +0 -9
- data/app/models/pwb/section.rb +0 -35
- data/app/models/pwb/welcome.rb +0 -4
- data/app/resources/pwb/api/v1/cms_block_resource.rb +0 -11
- data/app/resources/pwb/api/v1/cms_page_resource.rb +0 -27
- data/app/themes/berlin/views/pwb/sections/about_us.html.erb +0 -59
- data/app/themes/berlin/views/pwb/sections/cms.html.erb +0 -34
- data/app/themes/berlin/views/pwb/sections/static.html.erb +0 -58
- data/app/views/pwb/search/_search_result_item_to_del.html.erb +0 -56
- data/config/cms_page_containers/about-us.json +0 -18
- data/config/cms_page_containers/about.json +0 -107
- data/config/cms_page_containers/landing.json +0 -19
- data/config/cms_page_containers/legal.json +0 -17
- data/config/cms_page_containers/sell.json +0 -96
- data/config/initializers/comfortable_mexican_sofa.rb +0 -142
- data/config/initializers/i18n.rb +0 -1
- data/db/cms_fixtures/cms/categories/pages.yml +0 -3
- data/db/cms_fixtures/cms/files/_rerenting-landing_framed.png.yml +0 -6
- data/db/cms_fixtures/cms/files/rerenting-landing_framed.png +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/about-us/people/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/about-us/people/content.html +0 -55
- data/db/cms_fixtures/cms/layouts/about-us/services/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/about-us/services/content.html +0 -32
- data/db/cms_fixtures/cms/layouts/about-us/services/javascript.js +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/services/stylesheet.css +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/stylesheet.css +0 -0
- data/db/cms_fixtures/cms/layouts/default-layout/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/default-layout/content.html +0 -51
- data/db/cms_fixtures/cms/layouts/default-layout/javascript.js +0 -0
- data/db/cms_fixtures/cms/layouts/default-layout/stylesheet.css +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/content_b.html +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/content_c.html +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/title_b.html +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/title_c.html +0 -0
- data/db/cms_fixtures/cms/pages/index/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/content.html +0 -1
- data/db/cms_fixtures/cms/pages/index/title.html +0 -0
- data/db/cms_fixtures/cms/snippets/snippet1/attributes.yml +0 -3
- data/db/cms_fixtures/cms/snippets/snippet1/content.html +0 -1
- data/db/cms_fixtures/sample-site/categories/files.yml +0 -1
- data/db/cms_fixtures/sample-site/categories/pages.yml +0 -1
- data/db/cms_fixtures/sample-site/categories/snippets.yml +0 -1
- data/db/cms_fixtures/sample-site/files/_sample.jpg.yml +0 -5
- data/db/cms_fixtures/sample-site/files/sample.jpg +0 -0
- data/db/cms_fixtures/sample-site/layouts/default/attributes.yml +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/content.html +0 -5
- data/db/cms_fixtures/sample-site/layouts/default/javascript.js +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/nested/attributes.yml +0 -2
- data/db/cms_fixtures/sample-site/layouts/default/nested/content.haml +0 -3
- data/db/cms_fixtures/sample-site/layouts/default/nested/javascript.js +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/nested/stylesheet.css +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/stylesheet.css +0 -1
- data/db/cms_fixtures/sample-site/pages/index/attributes.yml +0 -6
- data/db/cms_fixtures/sample-site/pages/index/child/attributes.yml +0 -3
- data/db/cms_fixtures/sample-site/pages/index/child/left.haml +0 -1
- data/db/cms_fixtures/sample-site/pages/index/child/right.html +0 -1
- data/db/cms_fixtures/sample-site/pages/index/child/thumbnail.png +0 -0
- data/db/cms_fixtures/sample-site/pages/index/content.html +0 -2
- data/db/cms_fixtures/sample-site/snippets/default/attributes.yml +0 -4
- data/db/cms_fixtures/sample-site/snippets/default/content.html +0 -1
- data/db/migrate/20170315212222_translate_sections.rb +0 -15
- data/db/migrate/20170513221300_create_cms.rb +0 -133
- data/lib/pwb/cms_data_loader.rb +0 -38
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/1/carousel_windows.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/2/carousel_deck_chair.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/3/carousel_grass.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/4/carousel_grass.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/1/flat_balcony.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/1/gdaje3atcct1gx2ngv9u.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/1/new_villa.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/2/flat_balcony.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/2/kitchen_modern.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/2/rxo23syongfydjpoizrd.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/3/mansion_front.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/3/vzlptgtccsk2d2ewp4id.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/4/mansion_bedroom.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/4/xwayprwnmmmhrzrgwvch.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/5/flat_window.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/5/ilxn2u37bak0v60u6f8q.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/6/kitchen_classic.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/7/flat_balcony.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/8/lounge_cosy.jpg +0 -0
- data/spec/factories/pwb_sections.rb +0 -4
- data/spec/models/pwb/section_spec.rb +0 -11
@@ -34,12 +34,8 @@
|
|
34
34
|
<hr>
|
35
35
|
<div class="row">
|
36
36
|
<div class="col-sm-6 copyright">
|
37
|
-
|
38
|
-
|
39
|
-
<% end %>
|
40
|
-
<%# link_to I18n.t("legalAdvice"), pwb.legal_path(locale: locale) %>
|
41
|
-
<%# link_to I18n.t("privacyPolicy"), pwb.privacy_policy_path(locale: locale) %>
|
42
|
-
<%= link_to I18n.t("navbar.admin"), pwb.admin_with_locale_path(locale: locale) %>.
|
37
|
+
<%= render_footer_links %>
|
38
|
+
<%# link_to I18n.t("navbar.admin"), pwb.admin_with_locale_path(locale: locale) %>
|
43
39
|
</div>
|
44
40
|
<div class="col-sm-6">
|
45
41
|
<p style="float: right;">Powered by <a href="http://propertywebbuilder.com">PropertyWebBuilder</a></p>
|
@@ -47,32 +47,30 @@
|
|
47
47
|
</div>
|
48
48
|
<div class="navbar-collapse collapse">
|
49
49
|
<ul class="nav navbar-nav navbar-right">
|
50
|
-
|
51
|
-
|
52
|
-
<% end %>
|
50
|
+
<%# top_navigation %>
|
51
|
+
<%= render_top_navigation_links %>
|
53
52
|
<% if @show_admin_link %>
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
</
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
<% end %>
|
53
|
+
<li class="">
|
54
|
+
<%= link_to I18n.t("navbar.admin"), pwb.admin_with_locale_path(locale: locale) %>
|
55
|
+
</li>
|
56
|
+
<% end %>
|
57
|
+
<% if current_user %>
|
58
|
+
<li class="<%= 'selected' if current_page?(pwb.admin_with_locale_path(locale: locale)) %>">
|
59
|
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
60
|
+
<%= t "navbar.admin" %>
|
61
|
+
</a>
|
62
|
+
<ul class="dropdown-menu">
|
63
|
+
<li>
|
64
|
+
<%= link_to I18n.t("navbar.admin"), pwb.admin_with_locale_path(locale: locale) %>
|
65
|
+
</li>
|
66
|
+
<li>
|
67
|
+
<%= link_to I18n.t("changePassword"), pwb.edit_user_registration_path() %>
|
68
|
+
</li>
|
69
|
+
<li>
|
70
|
+
<%= link_to I18n.t("signOut"), pwb.destroy_user_session_path(), method: :delete %>
|
71
|
+
</li>
|
72
|
+
</ul>
|
73
|
+
</li>
|
76
74
|
<% end %>
|
77
75
|
</ul>
|
78
76
|
</div>
|
@@ -58,18 +58,15 @@ h2 {
|
|
58
58
|
#aa-slider .aa-slider-area .aa-top-slider .aa-top-slider-btn:hover, #aa-slider .aa-slider-area .aa-top-slider .aa-top-slider-btn:focus {
|
59
59
|
color: <%= @current_website.style_variables["primary_color"] %>;
|
60
60
|
}
|
61
|
-
|
62
61
|
#aa-advance-search .aa-advance-search-area .aa-advance-search-top .aa-single-advance-search .aa-search-btn {
|
63
62
|
background-color: <%= @current_website.style_variables["primary_color"] %>;
|
64
63
|
}
|
65
|
-
|
66
64
|
.aa-single-filter-search .noUi-connect {
|
67
65
|
background-color: <%= @current_website.style_variables["primary_color"] %>;
|
68
66
|
}
|
69
67
|
.aa-single-filter-search .noUi-handle {
|
70
68
|
background-color: <%= @current_website.style_variables["primary_color"] %>;
|
71
69
|
}
|
72
|
-
|
73
70
|
.aa-title span {
|
74
71
|
background-color: <%= @current_website.style_variables["secondary_color"] %>;
|
75
72
|
}
|
@@ -271,85 +268,21 @@ h2 {
|
|
271
268
|
background-color: <%= @current_website.style_variables["primary_color"] %>;
|
272
269
|
}
|
273
270
|
|
274
|
-
|
275
271
|
#aa-footer {
|
276
272
|
background-color: <%= @current_website.style_variables["footer_bg_color"] || "#333" %>;
|
277
273
|
}
|
278
274
|
|
279
|
-
|
280
|
-
|
281
275
|
#aa-footer .aa-footer-area .aa-footer-left a,
|
282
276
|
#aa-footer .aa-footer-area .aa-footer-right a,
|
283
277
|
#aa-footer .aa-footer-area .aa-footer-left,
|
284
278
|
#aa-footer .aa-footer-area .aa-footer-right{
|
285
279
|
color: <%= @current_website.style_variables["footer_main_text_color"] || "#fff" %>;
|
286
280
|
}
|
287
|
-
|
288
|
-
|
289
|
-
|
290
281
|
<%= render :partial => '/pwb/custom_css/shared.css', :locals => {} %>
|
291
282
|
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
/*below for button on contact form*/
|
296
283
|
.btn-base:hover, .btn-base:focus, .btn-base:active, .btn-base.active, .open .dropdown-toggle.btn-base {
|
297
284
|
color: #fff;
|
298
285
|
background-color: <%= @current_website.style_variables["action_color"] %>;
|
299
286
|
border-color: <%= @current_website.style_variables["action_color"] %>;
|
300
287
|
}
|
301
288
|
|
302
|
-
|
303
|
-
/*
|
304
|
-
.fondo_accion {
|
305
|
-
background: <%= @current_website.style_variables["action_color"] %>;
|
306
|
-
color: #fff;
|
307
|
-
}
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
ul.list-listings>li.featured {
|
312
|
-
border: 1px solid <%= @current_website.style_variables["primary_color"] %>;
|
313
|
-
}
|
314
|
-
|
315
|
-
.fondo_principal {
|
316
|
-
background: <%= @current_website.style_variables["primary_color"] %>;
|
317
|
-
color: #fff;
|
318
|
-
}
|
319
|
-
|
320
|
-
.fondo_secundario {
|
321
|
-
background: <%= @current_website.style_variables["secondary_color"] %>;
|
322
|
-
color: #fff;
|
323
|
-
}
|
324
|
-
|
325
|
-
.color_principal,
|
326
|
-
.color_principal:hover,
|
327
|
-
.social a:hover,
|
328
|
-
ul.mega-nav-ul li a i,
|
329
|
-
nav.venta_alquiler a.selected,
|
330
|
-
nav.venta_alquiler a:hover {
|
331
|
-
color: <%= @current_website.style_variables["primary_color"] %> !important;
|
332
|
-
}
|
333
|
-
|
334
|
-
.contact-info h5 i,
|
335
|
-
.color_secundario,
|
336
|
-
.color_secundario:hover {
|
337
|
-
color: <%= @current_website.style_variables["secondary_color"] %> !important;
|
338
|
-
}
|
339
|
-
|
340
|
-
.navbar-wp .navbar-nav>li>a:hover,
|
341
|
-
.navbar-wp .navbar-nav>li>a:focus,
|
342
|
-
.navbar-wp .navbar-nav>li.selected > a,
|
343
|
-
.form-base .cuselFrameRight,
|
344
|
-
.panel-base .panel-heading,
|
345
|
-
.primary-image:hover,
|
346
|
-
.thumbnail-images a:hover {
|
347
|
-
background: <%= @current_website.style_variables["primary_color"] %> !important;
|
348
|
-
color: #fff;
|
349
|
-
}*/
|
350
|
-
|
351
|
-
/*.tabs li.active a {
|
352
|
-
border-bottom: 3px solid <%= @current_website.style_variables["primary_color"] %>;
|
353
|
-
}
|
354
|
-
*/
|
355
|
-
|
@@ -1,25 +1,9 @@
|
|
1
|
-
/*header.top_header{
|
2
|
-
min-height: 25px;
|
3
|
-
}
|
4
|
-
*/
|
5
|
-
/*below for button on contact form*/
|
6
|
-
/*.btn-base {
|
7
|
-
color: #fff !important;
|
8
|
-
background-color: #3498db;
|
9
|
-
border: 1px solid;
|
10
|
-
border-color: #258cd1
|
11
|
-
}*/
|
12
1
|
.btn-base:hover, .btn-base:focus, .btn-base:active, .btn-base.active, .open .dropdown-toggle.btn-base {
|
13
2
|
color: #fff;
|
14
3
|
background-color: <%= @current_website.style_variables["action_color"] %>;
|
15
4
|
border-color: <%= @current_website.style_variables["action_color"] %>;
|
16
5
|
}
|
17
6
|
|
18
|
-
/*.btn-alt:before {
|
19
|
-
background-color: <%= @current_website.style_variables["action_color"] %>;
|
20
|
-
}*/
|
21
|
-
|
22
|
-
|
23
7
|
.fondo_footer {
|
24
8
|
background: <%= @current_website.style_variables["footer_bg_color"] || "#333" %>;
|
25
9
|
color: <%= @current_website.style_variables["footer_main_text_color"] || "#fff" %>;
|
@@ -76,12 +60,6 @@ nav.venta_alquiler a:hover {
|
|
76
60
|
border-top: 4px solid <%= @current_website.style_variables["primary_color"] %>;
|
77
61
|
}
|
78
62
|
|
79
|
-
/*.navbar-toggle:hover,
|
80
|
-
.navbar-toggle:focus {
|
81
|
-
background-color: #3498db;
|
82
|
-
border-color: #3498db;
|
83
|
-
}*/
|
84
|
-
|
85
63
|
header .text-navbar-brand {
|
86
64
|
color: <%= @current_website.style_variables["secondary_color"] %>
|
87
65
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
body { font-family: 'Open Sans', sans-serif;}
|
1
2
|
footer .col h5 {
|
2
3
|
color: <%= @current_website.style_variables["footer_sec_text_color"] || "#ccc" %>;
|
3
4
|
}
|
@@ -20,14 +21,14 @@ footer .col ul li {
|
|
20
21
|
}
|
21
22
|
|
22
23
|
|
23
|
-
.services-section .container .services-wrapper .single-service .bordered {
|
24
|
+
.services-section .bst-container .services-wrapper .single-service .bordered {
|
24
25
|
border: 2px solid <%= @current_website.style_variables["primary_color"] %>;
|
25
26
|
}
|
26
|
-
.services-section .container .services-wrapper .single-service .icon-service {
|
27
|
+
.services-section .bst-container .services-wrapper .single-service .icon-service {
|
27
28
|
color: <%= @current_website.style_variables["primary_color"] %>;
|
28
29
|
border-color: <%= @current_website.style_variables["primary_color"] %>;
|
29
30
|
}
|
30
|
-
.services-section .container .services-wrapper .single-service:hover h4 {
|
31
|
+
.services-section .bst-container .services-wrapper .single-service:hover h4 {
|
31
32
|
color: <%= @current_website.style_variables["primary_color"] %>;
|
32
33
|
}
|
33
34
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<% @text_color_style_vars.each do |style_var| %>
|
2
|
+
.<%= "#{style_var}" %> {
|
3
|
+
color: <%= @current_website.get_style_var(style_var) || "#fff" %>;
|
4
|
+
}
|
5
|
+
<% end %>
|
6
|
+
<% @bg_style_vars.each do |style_var| %>
|
7
|
+
.<%= "#{style_var}" %> {
|
8
|
+
background: <%= @current_website.get_style_var(style_var) || "#fff" %>;
|
9
|
+
}
|
10
|
+
<% end %>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<li class=""><i class="fa fa-bed"></i> <small>
|
43
43
|
<%= property.count_bedrooms %>
|
44
44
|
</small></li>
|
45
|
-
<li class=""><i class="fa fa-
|
45
|
+
<li class=""><i class="fa fa-shower"></i> <small>
|
46
46
|
<%= property.count_bathrooms %>
|
47
47
|
</small></li>
|
48
48
|
<li class=""><i class="fa fa-arrows-alt"></i> <small>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<div class="row">
|
2
|
+
<div class="col-sm-12">
|
3
|
+
<h3 style="margin: 20px 0px">
|
4
|
+
View prop
|
5
|
+
</h3>
|
6
|
+
<div>
|
7
|
+
<div>
|
8
|
+
<% @prop["data"].each do |prop_item| %>
|
9
|
+
<div>
|
10
|
+
<div>
|
11
|
+
Name: <%= prop_item["name"].to_s %>
|
12
|
+
</div>
|
13
|
+
<div>
|
14
|
+
Value: <%= prop_item["value"].to_s %>
|
15
|
+
</div>
|
16
|
+
<div>
|
17
|
+
parseinfo: <%= prop_item["parseInfo"].to_s %>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
<hr>
|
21
|
+
<% end %>
|
22
|
+
</div>
|
23
|
+
ttt
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<div class="row">
|
2
|
+
<div class="col-sm-12">
|
3
|
+
<h3 style="margin: 20px 0px">
|
4
|
+
View prop
|
5
|
+
</h3>
|
6
|
+
<div>
|
7
|
+
<div>
|
8
|
+
<% @prop["data"].each do |prop_item| %>
|
9
|
+
<div>
|
10
|
+
<div>
|
11
|
+
Name: <%= prop_item["name"].to_s %>
|
12
|
+
</div>
|
13
|
+
<div>
|
14
|
+
Value: <%= prop_item["value"].to_s %>
|
15
|
+
</div>
|
16
|
+
<div>
|
17
|
+
parseinfo: <%= prop_item["parseInfo"].to_s %>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
<hr>
|
21
|
+
<% end %>
|
22
|
+
</div>
|
23
|
+
ttt
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<div></div>
|
@@ -73,34 +73,40 @@
|
|
73
73
|
"fieldName": "de",
|
74
74
|
"localeVariants": ["de-DE"]
|
75
75
|
},
|
76
|
+
{
|
77
|
+
"labelTextTKey": "it",
|
78
|
+
"fieldName": "it",
|
79
|
+
"localeVariants": ["it-IT"]
|
80
|
+
},
|
76
81
|
{
|
77
82
|
"labelTextTKey": "pt",
|
78
83
|
"fieldName": "pt",
|
79
84
|
"localeVariants": ["pt-PT", "pt-BR"],
|
80
85
|
"isNotComplete": true
|
81
86
|
},
|
82
|
-
{
|
83
|
-
"labelTextTKey": "es",
|
84
|
-
"fieldName": "es",
|
85
|
-
"localeVariants": ["es-ES", "es-MX", "es-CL"]
|
86
|
-
},
|
87
87
|
{
|
88
88
|
"labelTextTKey": "ru",
|
89
89
|
"fieldName": "ru",
|
90
90
|
"localeVariants": ["ru-RU"]
|
91
91
|
},
|
92
92
|
{
|
93
|
-
"labelTextTKey": "
|
94
|
-
"fieldName": "
|
95
|
-
"localeVariants": ["
|
96
|
-
"isNotComplete": true
|
93
|
+
"labelTextTKey": "es",
|
94
|
+
"fieldName": "es",
|
95
|
+
"localeVariants": ["es-ES", "es-MX", "es-CL"]
|
97
96
|
},
|
98
97
|
{
|
99
98
|
"labelTextTKey": "tr",
|
100
99
|
"fieldName": "tr",
|
101
100
|
"localeVariants": ["tr-TR"],
|
102
101
|
"isNotComplete": true
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"labelTextTKey": "vi",
|
105
|
+
"fieldName": "vi",
|
106
|
+
"localeVariants": ["vi-VI"],
|
107
|
+
"isNotComplete": true
|
103
108
|
}
|
109
|
+
|
104
110
|
// }, {
|
105
111
|
// "labelTextTKey": "hi",
|
106
112
|
// "fieldName": "hi",
|
@@ -254,24 +260,19 @@
|
|
254
260
|
// "importLabelKey": "btnLabels.importProperties",
|
255
261
|
// "importUrl": "/import/properties"
|
256
262
|
// }],
|
257
|
-
"websiteContentTabsList": [
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
{
|
267
|
-
|
268
|
-
|
269
|
-
},
|
270
|
-
{
|
271
|
-
"tabValue": "legal",
|
272
|
-
"tabTitleKey": "webContentSections.legal"
|
273
|
-
},
|
274
|
-
{
|
263
|
+
"websiteContentTabsList": [{
|
264
|
+
// "tabValue": "landing-carousel",
|
265
|
+
// "tabTitleKey": "webContentSections.landingCarousel"
|
266
|
+
// }, {
|
267
|
+
// "tabValue": "content-area-cols",
|
268
|
+
// "tabTitleKey": "webContentSections.contentAreaCols"
|
269
|
+
// }, {
|
270
|
+
// "tabValue": "about-us",
|
271
|
+
// "tabTitleKey": "webContentSections.aboutUs"
|
272
|
+
// }, {
|
273
|
+
// "tabValue": "legal",
|
274
|
+
// "tabTitleKey": "webContentSections.legal"
|
275
|
+
// }, {
|
275
276
|
"tabValue": "footer",
|
276
277
|
"tabTitleKey": "webContentSections.footer"
|
277
278
|
}]
|
data/config/locales/admin.en.yml
CHANGED
@@ -61,14 +61,45 @@ en:
|
|
61
61
|
landing: Landing
|
62
62
|
legal: Legal
|
63
63
|
pageSections:
|
64
|
+
notEditable:
|
65
|
+
This section cannot be edited
|
66
|
+
contactUsFormAndMap:
|
67
|
+
title: Form and Map
|
68
|
+
info: Contact us form and map
|
69
|
+
pageTitle: Page title
|
64
70
|
services:
|
65
71
|
title: Services you offer
|
66
72
|
info: An overview of the services you offer
|
67
73
|
people:
|
68
74
|
title: Your team
|
69
75
|
info: Summary info about your team
|
76
|
+
# landingCarousel:
|
77
|
+
# title: Home page carousel
|
78
|
+
# info: Main section displaying images and text
|
79
|
+
rawHtml:
|
80
|
+
title: HTML Content
|
81
|
+
info: You can add extra HTML here
|
82
|
+
topRentals:
|
83
|
+
title: Top Rentals
|
84
|
+
info: Summary list of properties to rent
|
85
|
+
topSales:
|
86
|
+
title: Top Sales
|
87
|
+
info: Summary list of properties for sale
|
88
|
+
contactUsForm:
|
89
|
+
title: Contact us form
|
90
|
+
info: Form to allow visitors to send you a message
|
91
|
+
# aboutUs:
|
92
|
+
# title: Text and photo
|
93
|
+
# info: A little bit about your business
|
94
|
+
ourAgency:
|
95
|
+
title: About our agency
|
96
|
+
info: A little bit about your business
|
97
|
+
landingHero:
|
98
|
+
title: Main header
|
99
|
+
info: Large image and text highlighting your busi
|
70
100
|
editor:
|
71
101
|
pickPhoto: Pick photo
|
102
|
+
uploadPhoto: Upload photo
|
72
103
|
inTabLabels:
|
73
104
|
topNav: Top Navigation
|
74
105
|
footer: Footer
|
@@ -140,12 +171,12 @@ en:
|
|
140
171
|
suffixTr: in Turkish
|
141
172
|
privacyPolicy: Privacy Policy
|
142
173
|
legalAdvice: Legal Notice
|
143
|
-
landingcarousel: Text for carousel image
|
144
|
-
cac1: Column 1
|
145
|
-
cac2: Column 2
|
146
|
-
cac3: Column 3
|
147
|
-
landingPageHero: Content for the main page
|
148
|
-
tagLine: Tag Line
|
174
|
+
# landingcarousel: Text for carousel image
|
175
|
+
# cac1: Column 1
|
176
|
+
# cac2: Column 2
|
177
|
+
# cac3: Column 3
|
178
|
+
# landingPageHero: Content for the main page
|
179
|
+
# tagLine: Tag Line
|
149
180
|
aboutUs: About us
|
150
181
|
footerInfo: Extra footer content
|
151
182
|
|
@@ -168,7 +199,7 @@ en:
|
|
168
199
|
aboutUs: About us
|
169
200
|
contactInformation: Contact information
|
170
201
|
sell: Sell
|
171
|
-
tagLine: Tag Line
|
202
|
+
# tagLine: Tag Line
|
172
203
|
legal: Legal
|
173
204
|
general: General
|
174
205
|
landingCarousel: Landing Page Carousel
|