pwb 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/comfy/admin/cms/custom.js.coffee +1 -0
- data/app/assets/stylesheets/comfy/admin/cms/custom.sass +1 -0
- data/app/assets/stylesheets/pwb/themes/berlin/inmo.scss +6 -1
- data/app/assets/stylesheets/pwb/themes/berlin/main.scss +12 -11
- data/app/assets/stylesheets/pwb/themes/default/shame.scss +1 -1
- data/app/controllers/pwb/admin_panel_controller.rb +2 -2
- data/app/controllers/pwb/api/v1/cms_pages_controller.rb +102 -0
- data/app/controllers/pwb/api/v1/website_controller.rb +7 -0
- data/app/controllers/pwb/api_public/v1/props_controller.rb +2 -2
- data/app/controllers/pwb/application_api_controller.rb +3 -7
- data/app/controllers/pwb/application_controller.rb +2 -3
- data/app/controllers/pwb/comfy_controller.rb +106 -0
- data/app/controllers/pwb/css_controller.rb +1 -2
- data/app/controllers/pwb/devise/registrations_controller.rb +2 -5
- data/app/controllers/pwb/devise_controller.rb +3 -8
- data/app/controllers/pwb/export/properties_controller.rb +5 -6
- data/app/controllers/pwb/export/translations_controller.rb +1 -5
- data/app/controllers/pwb/export/web_contents_controller.rb +1 -4
- data/app/controllers/pwb/export/website_controller.rb +0 -1
- data/app/controllers/pwb/import/mls_controller.rb +3 -6
- data/app/controllers/pwb/import/properties_controller.rb +2 -4
- data/app/controllers/pwb/import/scrapper_controller.rb +6 -9
- data/app/controllers/pwb/props_controller.rb +10 -13
- data/app/controllers/pwb/search_controller.rb +16 -16
- data/app/controllers/pwb/sections_controller.rb +21 -22
- data/app/controllers/pwb/welcome_controller.rb +1 -2
- data/app/helpers/pwb/application_helper.rb +37 -0
- data/app/helpers/pwb/css_helper.rb +9 -0
- data/app/models/pwb/cms_page_container.rb +9 -0
- data/app/models/pwb/content.rb +10 -6
- data/app/models/pwb/prop.rb +12 -4
- data/app/models/pwb/section.rb +1 -1
- data/app/models/pwb/website.rb +14 -1
- data/app/resources/pwb/api/v1/cms_block_resource.rb +11 -0
- data/app/resources/pwb/api/v1/cms_page_resource.rb +27 -0
- data/app/themes/berlin/views/layouts/pwb/application.html.erb +25 -9
- data/app/themes/berlin/views/pwb/props/show.html.erb +5 -5
- data/app/themes/berlin/views/pwb/search/_search_results.html.erb +2 -1
- data/app/themes/berlin/views/pwb/search/buy.html.erb +1 -1
- data/app/themes/berlin/views/pwb/search/rent.html.erb +2 -1
- data/app/themes/berlin/views/pwb/sections/about_us.html.erb +3 -2
- data/app/themes/berlin/views/pwb/sections/cms.html.erb +34 -0
- data/app/themes/berlin/views/pwb/sections/contact_us.html.erb +2 -1
- data/app/themes/berlin/views/pwb/welcome/_about_us_to_del.html.erb +35 -0
- data/app/themes/berlin/views/pwb/welcome/{_adv_search.html.erb → _adv_search_to_del.html.erb} +0 -0
- data/app/themes/berlin/views/pwb/welcome/_landing_carousel.html.erb +1 -1
- data/app/themes/berlin/views/pwb/welcome/_latest_properties.html.erb +2 -1
- data/app/themes/default/views/layouts/pwb/application.html.erb +24 -3
- data/app/themes/default/views/pwb/sections/about_us.html.erb +1 -2
- data/app/themes/default/views/pwb/sections/cms.html.erb +30 -0
- data/app/themes/default/views/pwb/welcome/_single_property_row.html.erb +2 -1
- data/app/themes/default/views/pwb/welcome/index.html.erb +3 -1
- data/app/views/layouts/pwb/devise.html.erb +1 -0
- data/app/views/pwb/_analytics.html.erb +15 -0
- data/app/views/pwb/_footer.html.erb +0 -12
- data/app/views/pwb/custom_css/{berlin.css.erb → _berlin.css.erb} +0 -1
- data/app/views/pwb/custom_css/{default.css.erb → _default.css.erb} +0 -1
- data/app/views/pwb/custom_css/_shared.css.erb +1 -0
- data/app/views/pwb/props/_images_section_carousel.html.erb +13 -27
- data/app/views/pwb/props/_prop_info_list.html.erb +1 -1
- data/app/views/pwb/search/_search_result_item.html.erb +62 -64
- data/app/views/pwb/search/_search_result_item_to_del.html.erb +3 -3
- data/config/client_setups/default.json +59 -21
- data/config/cms_page_containers/about-us.json +18 -0
- data/config/cms_page_containers/about.json +107 -0
- data/config/cms_page_containers/landing.json +19 -0
- data/config/cms_page_containers/legal.json +17 -0
- data/config/cms_page_containers/sell.json +96 -0
- data/config/initializers/cloudinary.rb +3 -0
- data/config/initializers/comfortable_mexican_sofa.rb +142 -0
- data/config/locales/admin.en.yml +213 -0
- data/config/locales/admin.es.yml +32 -17
- data/config/locales/admin.ru.yml +432 -0
- data/config/locales/admin.zh.yml.tmp +226 -0
- data/config/locales/de.yml +31 -32
- data/config/locales/devise.zh-HK.yml +119 -0
- data/config/locales/en.yml +3 -0
- data/config/locales/es.yml +3 -5
- data/config/locales/rails.zh-HK.yml +210 -0
- data/config/locales/ru.yml +11 -11
- data/config/locales/zh-HK.yml +154 -0
- data/config/routes.rb +17 -2
- data/db/cms_fixtures/cms/categories/pages.yml +3 -0
- data/db/cms_fixtures/cms/files/_rerenting-landing_framed.png.yml +6 -0
- data/{spec/dummy/public/system/comfy/cms/files/files/000/000/003/original → db/cms_fixtures/cms/files}/rerenting-landing_framed.png +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/attributes.yml +4 -0
- data/db/cms_fixtures/cms/layouts/about-us/content.html +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/javascript.js +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/people/attributes.yml +4 -0
- data/db/cms_fixtures/cms/layouts/about-us/people/content.html +55 -0
- data/db/cms_fixtures/cms/layouts/about-us/services/attributes.yml +4 -0
- data/db/cms_fixtures/cms/layouts/about-us/services/content.html +32 -0
- 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 +4 -0
- data/db/cms_fixtures/cms/layouts/default-layout/content.html +51 -0
- 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 +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_d.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/content_a.html +1 -0
- 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 +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/attributes.yml +8 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_a.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_b.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_c.html +1 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/title_a.html +1 -0
- 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 +8 -0
- data/db/cms_fixtures/cms/pages/index/content.html +1 -0
- data/db/cms_fixtures/cms/pages/index/title.html +0 -0
- data/db/cms_fixtures/cms/snippets/snippet1/attributes.yml +3 -0
- data/db/cms_fixtures/cms/snippets/snippet1/content.html +1 -0
- data/db/cms_fixtures/sample-site/categories/files.yml +1 -0
- data/db/cms_fixtures/sample-site/categories/pages.yml +1 -0
- data/db/cms_fixtures/sample-site/categories/snippets.yml +1 -0
- data/db/cms_fixtures/sample-site/files/_sample.jpg.yml +5 -0
- data/db/cms_fixtures/sample-site/files/sample.jpg +0 -0
- data/db/cms_fixtures/sample-site/layouts/default/attributes.yml +1 -0
- data/db/cms_fixtures/sample-site/layouts/default/content.html +5 -0
- data/db/cms_fixtures/sample-site/layouts/default/javascript.js +1 -0
- data/db/cms_fixtures/sample-site/layouts/default/nested/attributes.yml +2 -0
- data/db/cms_fixtures/sample-site/layouts/default/nested/content.haml +3 -0
- data/db/cms_fixtures/sample-site/layouts/default/nested/javascript.js +1 -0
- data/db/cms_fixtures/sample-site/layouts/default/nested/stylesheet.css +1 -0
- data/db/cms_fixtures/sample-site/layouts/default/stylesheet.css +1 -0
- data/db/cms_fixtures/sample-site/pages/index/attributes.yml +6 -0
- data/db/cms_fixtures/sample-site/pages/index/child/attributes.yml +3 -0
- data/db/cms_fixtures/sample-site/pages/index/child/left.haml +1 -0
- data/db/cms_fixtures/sample-site/pages/index/child/right.html +1 -0
- data/db/cms_fixtures/sample-site/pages/index/child/thumbnail.png +0 -0
- data/db/cms_fixtures/sample-site/pages/index/content.html +2 -0
- data/db/cms_fixtures/sample-site/snippets/default/attributes.yml +4 -0
- data/db/cms_fixtures/sample-site/snippets/default/content.html +1 -0
- data/db/migrate/20170513221300_create_cms.rb +133 -0
- data/db/seeds/spain/translations.rb +2 -2
- data/db/seeds/translations_ca.rb +92 -0
- data/db/seeds/translations_de.rb +86 -85
- data/db/seeds/translations_en.rb +73 -73
- data/db/seeds/translations_es.rb +79 -78
- data/db/seeds/translations_ru.rb +92 -0
- data/db/yml_seeds/prop/flat_for_rent.yml +4 -4
- data/db/yml_seeds/sections.yml +2 -2
- data/db/yml_seeds/website.yml +3 -1
- data/lib/pwb/cms_data_loader.rb +38 -0
- data/lib/pwb/engine.rb +1 -0
- data/lib/pwb/locale_loader.rb +47 -0
- data/lib/pwb/seeder.rb +8 -5
- data/lib/pwb/version.rb +1 -1
- data/lib/tasks/pwb_tasks.rake +1 -0
- data/spec/dummy/config/routes.rb +5 -0
- data/spec/dummy/config/secrets.yml +5 -0
- data/spec/dummy/db/schema.rb +111 -1
- data/spec/dummy/log/development.log +0 -0
- data/spec/features/pwb/admin_spec.rb +14 -40
- data/spec/features/pwb/admin_spec_tmp.rb +54 -0
- data/spec/fixtures/to_import/pwb-properties.csv +2 -2
- data/spec/views/pwb/application_layout.html.erb_spec.rb +1 -0
- metadata +207 -235
- data/app/themes/berlin/views/pwb/welcome/_about_us.html.erb +0 -36
- data/db/seeds/translations_others.rb +0 -215
- data/spec/dummy/public/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css +0 -16
- data/spec/dummy/public/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css.gz +0 -0
- data/spec/dummy/public/assets/application-ec8550e416fd8df1557ddb7f132ccd38baaafd36e4c5c9aff8420fbd47c0313f.js +0 -617
- data/spec/dummy/public/assets/application-ec8550e416fd8df1557ddb7f132ccd38baaafd36e4c5c9aff8420fbd47c0313f.js.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg +0 -288
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-a26394f7ede100ca118eff2eda08596275a9839b959c226e15439557a5a80742.woff +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-fe185d11a49676890d47bb783312a0cda5a44c4039214094e7957b4c040ef11c.woff2 +0 -0
- data/spec/dummy/public/assets/pwb/application-0dc6ff845cde8e032ed365593c17fe09c18a6966d44f551946bf1673d8d1ac51.css +0 -13
- data/spec/dummy/public/assets/pwb/application-0dc6ff845cde8e032ed365593c17fe09c18a6966d44f551946bf1673d8d1ac51.css.gz +0 -0
- data/spec/dummy/public/assets/pwb/application-b4df8e7ae7700a0d09d88175af77e7f457ca2fbe15ae08450551ebf3bfb0c4d1.js +0 -15656
- data/spec/dummy/public/assets/pwb/application-b4df8e7ae7700a0d09d88175af77e7f457ca2fbe15ae08450551ebf3bfb0c4d1.js.gz +0 -0
- data/spec/dummy/public/assets/pwb/themes/berlin-279c2e3a7fa11a902fdee83a6819dcc315ff8eb240cfad21b1322cedadb07ea7.js +0 -18690
- data/spec/dummy/public/assets/pwb/themes/berlin-279c2e3a7fa11a902fdee83a6819dcc315ff8eb240cfad21b1322cedadb07ea7.js.gz +0 -0
- data/spec/dummy/public/assets/pwb/themes/berlin-8038d5cfd670e73fbffb581f6bb8d8c00ac448957945622c5c34438c467d218b.css +0 -8582
- data/spec/dummy/public/assets/pwb/themes/berlin-8038d5cfd670e73fbffb581f6bb8d8c00ac448957945622c5c34438c467d218b.css.gz +0 -0
- data/spec/dummy/public/assets/pwb/themes/chic-facdff61de4827adfd797b6a36ffd6c8b432072df7190ed722d039f971caa539.css +0 -3500
- data/spec/dummy/public/assets/pwb/themes/chic-facdff61de4827adfd797b6a36ffd6c8b432072df7190ed722d039f971caa539.css.gz +0 -0
- data/spec/dummy/public/assets/pwb/themes/default-d697fb0c278f500986e614ddd7eb41fd7db502a54f3370b3e8166cc1714509d0.css +0 -8423
- data/spec/dummy/public/assets/pwb/themes/default-d697fb0c278f500986e614ddd7eb41fd7db502a54f3370b3e8166cc1714509d0.css.gz +0 -0
- data/spec/dummy/public/assets/pwb_admin_panel/application-2d624898965d7a347eb7f365feab34257032c25051633370811ed7dfd24d7c8c.js +0 -61
- data/spec/dummy/public/assets/pwb_admin_panel/application-2d624898965d7a347eb7f365feab34257032c25051633370811ed7dfd24d7c8c.js.gz +0 -0
- data/spec/dummy/public/assets/pwb_admin_panel/application-f0e38d58d1ce32501b22edd16697f45b561fa44b5be9265398a05e8dee169885.css +0 -17970
- data/spec/dummy/public/assets/pwb_admin_panel/application-f0e38d58d1ce32501b22edd16697f45b561fa44b5be9265398a05e8dee169885.css.gz +0 -0
- data/spec/dummy/public/img/about-us.png +0 -0
- data/spec/dummy/public/img/agents/agent-1.png +0 -0
- data/spec/dummy/public/img/agents/agent-3.png +0 -0
- data/spec/dummy/public/img/agents/agent-4.png +0 -0
- data/spec/dummy/public/img/agents/agent-5.png +0 -0
- data/spec/dummy/public/img/banner-ads.jpg +0 -0
- data/spec/dummy/public/img/blog-img-1.jpg +0 -0
- data/spec/dummy/public/img/blog-img-2.jpg +0 -0
- data/spec/dummy/public/img/blog-img-3.jpg +0 -0
- data/spec/dummy/public/img/client-brand-1.png +0 -0
- data/spec/dummy/public/img/client-brand-2.png +0 -0
- data/spec/dummy/public/img/client-brand-3.png +0 -0
- data/spec/dummy/public/img/client-brand-4.png +0 -0
- data/spec/dummy/public/img/client-brand-5.png +0 -0
- data/spec/dummy/public/img/favicon.ico +0 -0
- data/spec/dummy/public/img/gallery/big/1.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/10.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/11 - Copy.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/12.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/2.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/3.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/4.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/5.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/6.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/7.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/8.jpg +0 -0
- data/spec/dummy/public/img/gallery/big/9.jpg +0 -0
- data/spec/dummy/public/img/gallery/fancybox_buttons.png +0 -0
- data/spec/dummy/public/img/gallery/fancybox_loading.gif +0 -0
- data/spec/dummy/public/img/gallery/fancybox_loading@2x.gif +0 -0
- data/spec/dummy/public/img/gallery/fancybox_overlay.png +0 -0
- data/spec/dummy/public/img/gallery/fancybox_sprite.png +0 -0
- data/spec/dummy/public/img/gallery/fancybox_sprite@2x.png +0 -0
- data/spec/dummy/public/img/gallery/small/1.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/10.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/11.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/12.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/2.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/3.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/4.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/5.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/6.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/7.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/8.jpg +0 -0
- data/spec/dummy/public/img/gallery/small/9.jpg +0 -0
- data/spec/dummy/public/img/item/1.jpg +0 -0
- data/spec/dummy/public/img/item/2.jpg +0 -0
- data/spec/dummy/public/img/item/3.jpg +0 -0
- data/spec/dummy/public/img/item/4.jpg +0 -0
- data/spec/dummy/public/img/item/5.jpg +0 -0
- data/spec/dummy/public/img/item/6.jpg +0 -0
- data/spec/dummy/public/img/logo.png +0 -0
- data/spec/dummy/public/img/promo-banner.jpg +0 -0
- data/spec/dummy/public/img/property-header-bg.jpg +0 -0
- data/spec/dummy/public/img/property-view-2.jpg +0 -0
- data/spec/dummy/public/img/signin-bg.jpg +0 -0
- data/spec/dummy/public/img/slider/1.jpg +0 -0
- data/spec/dummy/public/img/slider/2.jpg +0 -0
- data/spec/dummy/public/img/slider/3.jpg +0 -0
- data/spec/dummy/public/img/slider/4.jpg +0 -0
- data/spec/dummy/public/img/slider/5.jpg +0 -0
- data/spec/dummy/public/img/slider/6.jpg +0 -0
- data/spec/dummy/public/img/testimonial-1.png +0 -0
- data/spec/dummy/public/img/testimonial-2.png +0 -0
- data/spec/dummy/public/img/testimonial-3.png +0 -0
- data/spec/dummy/public/img/testimonial-bg.jpg +0 -0
- data/spec/dummy/public/js/bootstrap.js +0 -2363
- data/spec/dummy/public/js/custom.js +0 -355
- data/spec/dummy/public/js/jquery.fancybox.pack.js +0 -46
- data/spec/dummy/public/js/jquery.min.js +0 -5
- data/spec/dummy/public/js/jquery.mixitup.js +0 -2098
- data/spec/dummy/public/js/nouislider.js +0 -1899
- data/spec/dummy/public/js/slick.js +0 -2670
- data/spec/dummy/public/system/comfy/cms/files/files/000/000/003/cms_thumb/rerenting-landing_framed.png +0 -0
data/config/routes.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
Pwb::Engine.routes.draw do
|
2
|
+
|
3
|
+
|
2
4
|
# devise_for :users, class_name: "Pwb::User", module: :devise
|
3
5
|
root to: 'welcome#index'
|
4
6
|
resources :welcome, only: :index
|
@@ -24,7 +26,7 @@ Pwb::Engine.routes.draw do
|
|
24
26
|
# TODO - get locales dynamically
|
25
27
|
scope "(:locale)", locale: /en|nl|es|fr|de|pt|it|ca|ar|ru/ do
|
26
28
|
|
27
|
-
devise_scope :user do
|
29
|
+
devise_scope :user do
|
28
30
|
get "/users/edit_success" => "devise/registrations#edit_success", as: "user_edit_success"
|
29
31
|
end
|
30
32
|
# https://github.com/plataformatec/devise/wiki/How-To:-Use-devise-inside-a-mountable-engine
|
@@ -36,12 +38,14 @@ Pwb::Engine.routes.draw do
|
|
36
38
|
|
37
39
|
get "/" => "welcome#index", as: "home"
|
38
40
|
get "/p/:page_slug" => "sections#generic_page", as: "generic_page"
|
41
|
+
get "/c/:page_slug" => "comfy#show"
|
39
42
|
|
40
43
|
get "/properties/for-rent/:id/:url_friendly_title" => "props#show_for_rent", as: "prop_show_for_rent"
|
41
44
|
get "/properties/for-sale/:id/:url_friendly_title" => "props#show_for_sale", as: "prop_show_for_sale"
|
42
45
|
|
43
46
|
get "/about-us" => "sections#about_us"
|
44
47
|
# get "/sell" => "sections#sell"
|
48
|
+
# get "/sell" => "comfy#show"
|
45
49
|
get "/buy" => "search#buy"
|
46
50
|
get "/rent" => "search#rent"
|
47
51
|
|
@@ -85,9 +89,10 @@ Pwb::Engine.routes.draw do
|
|
85
89
|
get "/website/all" => "website#all"
|
86
90
|
get "/properties" => "properties#all"
|
87
91
|
end
|
88
|
-
|
92
|
+
|
89
93
|
namespace :api do
|
90
94
|
namespace :v1 do
|
95
|
+
# get "/cms/tag/:tag_name" => "cms#tag"
|
91
96
|
get "/translations/list/:locale" => "translations#list"
|
92
97
|
|
93
98
|
|
@@ -110,6 +115,10 @@ Pwb::Engine.routes.draw do
|
|
110
115
|
# put "tenant" => "agency#update_legacy"
|
111
116
|
put "/master_address" => "agency#update_master_address"
|
112
117
|
|
118
|
+
post '/cms-pages/photos/:page_id/:block_label' => 'cms_pages#set_photo'
|
119
|
+
get "/cms-pages/meta/:page_name" => "cms_pages#meta"
|
120
|
+
jsonapi_resources :cms_pages
|
121
|
+
|
113
122
|
# get "/web-contents" => "agency#infos"
|
114
123
|
jsonapi_resources :lite_properties
|
115
124
|
jsonapi_resources :properties
|
@@ -146,5 +155,11 @@ Pwb::Engine.routes.draw do
|
|
146
155
|
|
147
156
|
end
|
148
157
|
end
|
158
|
+
|
159
|
+
# comfy_route :cms_admin, :path => '/comfy-admin'
|
160
|
+
|
161
|
+
# # Make sure this routeset is defined last
|
162
|
+
# comfy_route :cms, :path => '/comfy', :sitemap => false
|
163
|
+
|
149
164
|
end
|
150
165
|
end
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<section class="slice light-gray bb">
|
2
|
+
<div class="wp-section">
|
3
|
+
<div class="container">
|
4
|
+
<div class="section-title-wr">
|
5
|
+
<h3 class="section-title left"><span>Our team</span></h3>
|
6
|
+
</div>
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-md-3">
|
9
|
+
<div class="wp-block inverse">
|
10
|
+
<div class="figure">
|
11
|
+
<img alt="" src="{{ cms:page:person_img_url_a:text }}" class="img-responsive">
|
12
|
+
</div>
|
13
|
+
<h2>{{ cms:page:person_name_a:text }}<small>{{ cms:page:person_title_a:text }}</small></h2>
|
14
|
+
<p>
|
15
|
+
{{ cms:page:person_details_a:text }}
|
16
|
+
</p>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<div class="col-md-3">
|
20
|
+
<div class="wp-block inverse">
|
21
|
+
<div class="figure">
|
22
|
+
<img alt="" src="{{ cms:page:person_img_url_b:text }}" class="img-responsive">
|
23
|
+
</div>
|
24
|
+
<h2>{{ cms:page:person_name_b:text }}<small>{{ cms:page:person_title_b:text }}</small></h2>
|
25
|
+
<p>
|
26
|
+
{{ cms:page:person_details_b:text }}
|
27
|
+
</p>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div class="col-md-3">
|
31
|
+
<div class="wp-block inverse">
|
32
|
+
<div class="figure">
|
33
|
+
<img alt="" src="{{ cms:page:person_img_url_c:text }}" class="img-responsive">
|
34
|
+
</div>
|
35
|
+
<h2>{{ cms:page:person_name_c:text }}<small>{{ cms:page:person_title_c:text }}</small></h2>
|
36
|
+
<p>
|
37
|
+
{{ cms:page:person_details_c:text }}
|
38
|
+
</p>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<div class="col-md-3">
|
42
|
+
<div class="wp-block inverse">
|
43
|
+
<div class="figure">
|
44
|
+
<img alt="" src="{{ cms:page:person_img_url_d:text }}" class="img-responsive">
|
45
|
+
</div>
|
46
|
+
<h2>{{ cms:page:person_name_d:text }}<small>{{ cms:page:person_title_d:text }}</small></h2>
|
47
|
+
<p>
|
48
|
+
{{ cms:page:person_details_d:text }}
|
49
|
+
</p>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
</section>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<section class="slice light-gray bb">
|
2
|
+
<div class="wp-section services-section">
|
3
|
+
<div class="container">
|
4
|
+
<div class="row services-wrapper">
|
5
|
+
<div class="col-md-4 ss-cont">
|
6
|
+
<div class="single-service">
|
7
|
+
<div class="bordered top-bordered"> </div>
|
8
|
+
<div class="fa fa-home icon-service"> </div>
|
9
|
+
<h4>{{ cms:page:title_a:text }}</h4>
|
10
|
+
<p>{{ cms:page:content_a:text }}</p>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="col-md-4 ss-cont">
|
14
|
+
<div class="single-service">
|
15
|
+
<div class="bordered top-bordered"> </div>
|
16
|
+
<div class="fa fa-user icon-service"> </div>
|
17
|
+
<h4>{{ cms:page:title_b:text }}</h4>
|
18
|
+
<p>{{ cms:page:content_b:text }}</p>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
<div class="col-md-4 ss-cont">
|
22
|
+
<div class="single-service">
|
23
|
+
<div class="bordered top-bordered"> </div>
|
24
|
+
<div class="fa fa-money icon-service"> </div>
|
25
|
+
<h4>{{ cms:page:title_c:text }}</h4>
|
26
|
+
<p>{{ cms:page:content_c:text }}</p>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</section>
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,51 @@
|
|
1
|
+
<div class="pg-opt">
|
2
|
+
|
3
|
+
<div class='header'>
|
4
|
+
{{ cms:snippet:header }}
|
5
|
+
</div>
|
6
|
+
<div class='content'>
|
7
|
+
<h1> {{ cms:page:title:string }} </h1>
|
8
|
+
{{ cms:page:content }}
|
9
|
+
</div>
|
10
|
+
<div class='footer'>
|
11
|
+
{{ cms:snippet:footer }}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
|
15
|
+
<div class="container">
|
16
|
+
<div class="row">
|
17
|
+
<div class="col-md-6">
|
18
|
+
<h2>
|
19
|
+
P1
|
20
|
+
</h2>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div class="col-md-6" style="">
|
24
|
+
<ol class="breadcrumb">
|
25
|
+
<li><a href="/">
|
26
|
+
Home
|
27
|
+
</a></li>
|
28
|
+
<li class="active">
|
29
|
+
P1
|
30
|
+
</li>
|
31
|
+
</ol>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
<section class="slice bg-white bb">
|
38
|
+
<div class="wp-section">
|
39
|
+
<div class="container">
|
40
|
+
<div class="row">
|
41
|
+
<div class="col-md-6">
|
42
|
+
<img src="/uploads/pwb/content_photo/image/3/carousel_grass.jpg" alt="" class="img-responsive about-us-img">
|
43
|
+
</div>
|
44
|
+
<div class="col-md-6">
|
45
|
+
{{ cms:page:content:rich_text }}
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
</section>
|
51
|
+
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
Extremely experienced and capable
|
@@ -0,0 +1 @@
|
|
1
|
+
Hardest working person you'll ever meet.
|
@@ -0,0 +1 @@
|
|
1
|
+
Realtor with over two decades experience in the sector.
|
@@ -0,0 +1 @@
|
|
1
|
+
Newest member of our team. Has a passion for helping customers.
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
Sally Trupa
|
@@ -0,0 +1 @@
|
|
1
|
+
Tom Fastly
|
@@ -0,0 +1 @@
|
|
1
|
+
Bill Puertas
|
@@ -0,0 +1 @@
|
|
1
|
+
Andrea Alegria
|
@@ -0,0 +1 @@
|
|
1
|
+
Sales Director
|
@@ -0,0 +1 @@
|
|
1
|
+
Secretary
|
@@ -0,0 +1 @@
|
|
1
|
+
Director
|
@@ -0,0 +1 @@
|
|
1
|
+
Customer support
|
@@ -0,0 +1 @@
|
|
1
|
+
Extremely experienced and capable
|
@@ -0,0 +1 @@
|
|
1
|
+
Hardest working person you'll ever meet.
|
@@ -0,0 +1 @@
|
|
1
|
+
Realtor with over two decades experience in the sector.
|
@@ -0,0 +1 @@
|
|
1
|
+
Newest member of our team. Has a passion for helping customers.
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
Sally Trupa
|
@@ -0,0 +1 @@
|
|
1
|
+
Tom Fastly
|
@@ -0,0 +1 @@
|
|
1
|
+
Bill Puertas
|
@@ -0,0 +1 @@
|
|
1
|
+
Andrea Alegria
|
@@ -0,0 +1 @@
|
|
1
|
+
Sales Director
|
@@ -0,0 +1 @@
|
|
1
|
+
Secretary
|
@@ -0,0 +1 @@
|
|
1
|
+
Director
|
@@ -0,0 +1 @@
|
|
1
|
+
Customer support
|
@@ -0,0 +1 @@
|
|
1
|
+
Extremely experienced and capable
|
@@ -0,0 +1 @@
|
|
1
|
+
Hardest working person you'll ever meet.
|
@@ -0,0 +1 @@
|
|
1
|
+
Realtor with over two decades experience in the sector.
|
@@ -0,0 +1 @@
|
|
1
|
+
Newest member of our team. Has a passion for helping customers.
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|
@@ -0,0 +1 @@
|
|
1
|
+
https://images.pexels.com/photos/90333/pexels-photo-90333.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb
|