phcthemes_web_theme_pack 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +0 -0
- data/Rakefile +32 -0
- data/app/assets/config/phcthemes_web_theme_pack_manifest.js +3 -0
- data/app/assets/javascripts/common/backstretch/jquery.backstretch.js +1602 -0
- data/app/assets/javascripts/common/bootstrap-datepicker/bootstrap-datepicker.js +2039 -0
- data/app/assets/javascripts/common/bootstrap-markdown/bootstrap-markdown.js +1390 -0
- data/app/assets/javascripts/common/bootstrap-select/bootstrap-select.js +3139 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js +51 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js +41 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js +40 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js +40 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js +44 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js +46 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js +39 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js.map +1 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.min.js +8 -0
- data/app/assets/javascripts/common/bootstrap/bootstrap.bundle.js +7013 -0
- data/app/assets/javascripts/common/custom/custom.js +0 -0
- data/app/assets/javascripts/common/daterangepicker/daterangepicker.js +1565 -0
- data/app/assets/javascripts/common/flexslider/jquery.flexslider.js +1252 -0
- data/app/assets/javascripts/common/greenstock/greensock.js +36 -0
- data/app/assets/javascripts/common/icheck/icheck.js +509 -0
- data/app/assets/javascripts/common/imagesloaded/imagesloaded.pkgd.js +497 -0
- data/app/assets/javascripts/common/isotope/isotope.pkgd.js +3563 -0
- data/app/assets/javascripts/common/jquery-countdown/jquery.countdown.js +246 -0
- data/app/assets/javascripts/common/jquery-filterizer/jquery.filterizr.min.js +1 -0
- data/app/assets/javascripts/common/jquery-placeholder/jquery.placeholder.js +281 -0
- data/app/assets/javascripts/common/jquery-validation/jquery.validate.js +1650 -0
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.js +1281 -0
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.min.js +10 -0
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.africa.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.asia.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.australia.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.europe.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.north-america.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.south-america.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.algeria.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.argentina.js +1 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.brazil.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.canada.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.europe.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.france.js +1 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.germany.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.greece.js +1 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iran.js +6 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iraq.js +1 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.russia.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.tunisia.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.turkey.js +11 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.usa.js +2 -0
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.world.js +2 -0
- data/app/assets/javascripts/common/js-cookie/js.cookie.js +165 -0
- data/app/assets/javascripts/common/layerslider/layerslider.kreaturamedia.jquery.js +13 -0
- data/app/assets/javascripts/common/layerslider/layerslider.origami.js +13 -0
- data/app/assets/javascripts/common/layerslider/layerslider.timeline.js +13 -0
- data/app/assets/javascripts/common/layerslider/layerslider.transitions.js +13 -0
- data/app/assets/javascripts/common/leaflet/leaflet.js +5 -0
- data/app/assets/javascripts/common/magnific-popup/jquery.magnific-popup.js +1860 -0
- data/app/assets/javascripts/common/mapbox/mapbox.js +51 -0
- data/app/assets/javascripts/common/moderizer/modernizr.js +11 -0
- data/app/assets/javascripts/common/owl-carousel/owl.carousel.js +3448 -0
- data/app/assets/javascripts/common/pace/pace.js +935 -0
- data/app/assets/javascripts/common/paroller/jquery.paroller.js +228 -0
- data/app/assets/javascripts/common/particlejs/particles.js +1541 -0
- data/app/assets/javascripts/common/plyr/plyr.js +9137 -0
- data/app/assets/javascripts/common/rangeslider/rangeslider.js +498 -0
- data/app/assets/javascripts/common/retina/retina.js +100 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.actions.js +386 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.carousel.js +365 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.kenburn.js +199 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.layeranimation.js +2524 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.migration.js +260 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.navigation.js +1156 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.parallax.js +465 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.slideanims.js +1447 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.video.js +1464 -0
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.revolution.js +3286 -0
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.tools.min.js +8710 -0
- data/app/assets/javascripts/common/scrollup/jquery.scrollUp.js +168 -0
- data/app/assets/javascripts/common/select2/select2.full.js +6597 -0
- data/app/assets/javascripts/common/selectbox/jquery.selectBox.js +1092 -0
- data/app/assets/javascripts/common/smooth-scroll/SmoothScroll.js +788 -0
- data/app/assets/javascripts/common/spectrum/spectrum.js +2323 -0
- data/app/assets/javascripts/common/stepper/jquery.fs.stepper.js +339 -0
- data/app/assets/javascripts/common/swiper/swiper.js +8124 -0
- data/app/assets/javascripts/common/typed/typed.js +1045 -0
- data/app/assets/javascripts/common/visable/jquery.visible.js +68 -0
- data/app/assets/javascripts/common/waypoints/jquery.waypoints.js +662 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_appstrap.js +11 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_basic.js +39 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_bold.js +34 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_coloradmin.js +12 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_devine_villas.js +20 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_smarty.js +57 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_xero.js +18 -0
- data/app/assets/javascripts/phcthemes_web_theme_pack_zoner.js +24 -0
- data/app/assets/javascripts/themes/appstrap/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/appstrap/theme/custom-script.js +69 -0
- data/app/assets/javascripts/themes/appstrap/theme/script.js +3096 -0
- data/app/assets/javascripts/themes/basic/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/bold/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/coloradmin/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/coloradmin/theme/apps.js +236 -0
- data/app/assets/javascripts/themes/devine_villas/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/devine_villas/theme/dashboard.js +19 -0
- data/app/assets/javascripts/themes/devine_villas/theme/main.js +384 -0
- data/app/assets/javascripts/themes/devine_villas/theme/map.js +563 -0
- data/app/assets/javascripts/themes/devine_villas/theme/searchmap.js +69 -0
- data/app/assets/javascripts/themes/smarty/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/smarty/theme/scripts.js +4271 -0
- data/app/assets/javascripts/themes/xero/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/xero/theme/app.js +696 -0
- data/app/assets/javascripts/themes/zoner/custom-maps/custom-map.js +289 -0
- data/app/assets/javascripts/themes/zoner/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/zoner/draggable/draggable.js +196 -0
- data/app/assets/javascripts/themes/zoner/jquery-dependclass/dependclass.js +56 -0
- data/app/assets/javascripts/themes/zoner/jquery-slider/jquery.slider.js +700 -0
- data/app/assets/javascripts/themes/zoner/jquery-vanillabox/jquery.vanillabox.min.js +24 -0
- data/app/assets/javascripts/themes/zoner/jshashtable/hashtable.js +402 -0
- data/app/assets/javascripts/themes/zoner/numberformatter/numberformatter.js +566 -0
- data/app/assets/javascripts/themes/zoner/simple-js-templating/tmpl.js +35 -0
- data/app/assets/javascripts/themes/zoner/theme/main.js +667 -0
- data/app/assets/stylesheets/common/custom/custom.scss +0 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_appstrap.scss +28 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_basic.scss +0 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_bold.scss +21 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_coloradmin.scss +22 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_devine_villas.scss +28 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_smarty.scss +47 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_xero.scss +28 -0
- data/app/assets/stylesheets/phcthemes_web_theme_pack_zoner.scss +22 -0
- data/app/assets/stylesheets/themes/appstrap/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/bold/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/coloradmin/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/devine_villas/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/smarty/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/xero/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/zoner/custom/custom.scss +0 -0
- data/lib/phcthemes_web_theme_pack.rb +5 -0
- data/lib/phcthemes_web_theme_pack/engine.rb +13 -0
- data/lib/phcthemes_web_theme_pack/version.rb +3 -0
- data/lib/tasks/phcthemes_web_theme_pack_tasks.rake +4 -0
- metadata +375 -0
@@ -0,0 +1,289 @@
|
|
1
|
+
var mapStyles = [{featureType:'water',elementType:'all',stylers:[{hue:'#d7ebef'},{saturation:-5},{lightness:54},{visibility:'on'}]},{featureType:'landscape',elementType:'all',stylers:[{hue:'#eceae6'},{saturation:-49},{lightness:22},{visibility:'on'}]},{featureType:'poi.park',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-81},{lightness:34},{visibility:'on'}]},{featureType:'poi.medical',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-80},{lightness:-2},{visibility:'on'}]},{featureType:'poi.school',elementType:'all',stylers:[{hue:'#c8c6c3'},{saturation:-91},{lightness:-7},{visibility:'on'}]},{featureType:'landscape.natural',elementType:'all',stylers:[{hue:'#c8c6c3'},{saturation:-71},{lightness:-18},{visibility:'on'}]},{featureType:'road.highway',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-92},{lightness:60},{visibility:'on'}]},{featureType:'poi',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-81},{lightness:34},{visibility:'on'}]},{featureType:'road.arterial',elementType:'all',stylers:[{hue:'#dddbd7'},{saturation:-92},{lightness:37},{visibility:'on'}]},{featureType:'transit',elementType:'geometry',stylers:[{hue:'#c8c6c3'},{saturation:4},{lightness:10},{visibility:'on'}]}];
|
2
|
+
|
3
|
+
$.ajaxSetup({
|
4
|
+
cache: true
|
5
|
+
});
|
6
|
+
|
7
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
8
|
+
// Google Map - Homepage
|
9
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
10
|
+
|
11
|
+
function createHomepageGoogleMap(_latitude,_longitude){
|
12
|
+
setMapHeight();
|
13
|
+
if( document.getElementById('map') != null ){
|
14
|
+
$.getScript("assets/js/locations.js", function(){
|
15
|
+
var map = new google.maps.Map(document.getElementById('map'), {
|
16
|
+
zoom: 14,
|
17
|
+
scrollwheel: false,
|
18
|
+
center: new google.maps.LatLng(_latitude, _longitude),
|
19
|
+
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
20
|
+
styles: mapStyles
|
21
|
+
});
|
22
|
+
var i;
|
23
|
+
var newMarkers = [];
|
24
|
+
for (i = 0; i < locations.length; i++) {
|
25
|
+
var pictureLabel = document.createElement("img");
|
26
|
+
pictureLabel.src = locations[i][7];
|
27
|
+
var boxText = document.createElement("div");
|
28
|
+
infoboxOptions = {
|
29
|
+
content: boxText,
|
30
|
+
disableAutoPan: false,
|
31
|
+
//maxWidth: 150,
|
32
|
+
pixelOffset: new google.maps.Size(-100, 0),
|
33
|
+
zIndex: null,
|
34
|
+
alignBottom: true,
|
35
|
+
boxClass: "infobox-wrapper",
|
36
|
+
enableEventPropagation: true,
|
37
|
+
closeBoxMargin: "0px 0px -8px 0px",
|
38
|
+
closeBoxURL: "assets/img/close-btn.png",
|
39
|
+
infoBoxClearance: new google.maps.Size(1, 1)
|
40
|
+
};
|
41
|
+
var marker = new MarkerWithLabel({
|
42
|
+
title: locations[i][0],
|
43
|
+
position: new google.maps.LatLng(locations[i][3], locations[i][4]),
|
44
|
+
map: map,
|
45
|
+
icon: 'assets/img/marker.png',
|
46
|
+
labelContent: pictureLabel,
|
47
|
+
labelAnchor: new google.maps.Point(50, 0),
|
48
|
+
labelClass: "marker-style"
|
49
|
+
});
|
50
|
+
newMarkers.push(marker);
|
51
|
+
boxText.innerHTML =
|
52
|
+
'<div class="infobox-inner">' +
|
53
|
+
'<a href="' + locations[i][5] + '">' +
|
54
|
+
'<div class="infobox-image" style="position: relative">' +
|
55
|
+
'<img src="' + locations[i][6] + '">' + '<div><span class="infobox-price">' + locations[i][2] + '</span></div>' +
|
56
|
+
'</div>' +
|
57
|
+
'</a>' +
|
58
|
+
'<div class="infobox-description">' +
|
59
|
+
'<div class="infobox-title"><a href="'+ locations[i][5] +'">' + locations[i][0] + '</a></div>' +
|
60
|
+
'<div class="infobox-location">' + locations[i][1] + '</div>' +
|
61
|
+
'</div>' +
|
62
|
+
'</div>';
|
63
|
+
//Define the infobox
|
64
|
+
newMarkers[i].infobox = new InfoBox(infoboxOptions);
|
65
|
+
google.maps.event.addListener(marker, 'click', (function(marker, i) {
|
66
|
+
return function() {
|
67
|
+
for (h = 0; h < newMarkers.length; h++) {
|
68
|
+
newMarkers[h].infobox.close();
|
69
|
+
}
|
70
|
+
newMarkers[i].infobox.open(map, this);
|
71
|
+
}
|
72
|
+
})(marker, i));
|
73
|
+
|
74
|
+
}
|
75
|
+
var clusterStyles = [
|
76
|
+
{
|
77
|
+
url: 'assets/img/cluster.png',
|
78
|
+
height: 37,
|
79
|
+
width: 37
|
80
|
+
}
|
81
|
+
];
|
82
|
+
var markerCluster = new MarkerClusterer(map, newMarkers, {styles: clusterStyles, maxZoom: 15});
|
83
|
+
$('body').addClass('loaded');
|
84
|
+
setTimeout(function() {
|
85
|
+
$('body').removeClass('has-fullscreen-map');
|
86
|
+
}, 1000);
|
87
|
+
$('#map').removeClass('fade-map');
|
88
|
+
|
89
|
+
// Dynamically show/hide markers --------------------------------------------------------------
|
90
|
+
|
91
|
+
google.maps.event.addListener(map, 'idle', function() {
|
92
|
+
|
93
|
+
for (var i=0; i < locations.length; i++) {
|
94
|
+
if ( map.getBounds().contains(newMarkers[i].getPosition()) ){
|
95
|
+
// newMarkers[i].setVisible(true); // <- Uncomment this line to use dynamic displaying of markers
|
96
|
+
|
97
|
+
//newMarkers[i].setMap(map);
|
98
|
+
//markerCluster.setMap(map);
|
99
|
+
} else {
|
100
|
+
// newMarkers[i].setVisible(false); // <- Uncomment this line to use dynamic displaying of markers
|
101
|
+
|
102
|
+
//newMarkers[i].setMap(null);
|
103
|
+
//markerCluster.setMap(null);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
});
|
107
|
+
|
108
|
+
// Function which set marker to the user position
|
109
|
+
function success(position) {
|
110
|
+
var center = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
|
111
|
+
map.panTo(center);
|
112
|
+
$('#map').removeClass('fade-map');
|
113
|
+
}
|
114
|
+
|
115
|
+
});
|
116
|
+
// Enable Geo Location on button click
|
117
|
+
$('.geo-location').on("click", function() {
|
118
|
+
if (navigator.geolocation) {
|
119
|
+
$('#map').addClass('fade-map');
|
120
|
+
navigator.geolocation.getCurrentPosition(success);
|
121
|
+
} else {
|
122
|
+
error('Geo Location is not supported');
|
123
|
+
}
|
124
|
+
});
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
// Function which set marker to the user position
|
129
|
+
function success(position) {
|
130
|
+
createHomepageGoogleMap(position.coords.latitude, position.coords.longitude);
|
131
|
+
}
|
132
|
+
|
133
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
134
|
+
// Google Map - Property Detail
|
135
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
136
|
+
|
137
|
+
function initMap(propertyId) {
|
138
|
+
$.getScript("assets/js/locations.js", function(){
|
139
|
+
var subtractPosition = 0;
|
140
|
+
var mapWrapper = $('#property-detail-map.float');
|
141
|
+
|
142
|
+
if (document.documentElement.clientWidth > 1200) {
|
143
|
+
subtractPosition = 0.013;
|
144
|
+
}
|
145
|
+
if (document.documentElement.clientWidth < 1199) {
|
146
|
+
subtractPosition = 0.006;
|
147
|
+
}
|
148
|
+
if (document.documentElement.clientWidth < 979) {
|
149
|
+
subtractPosition = 0.001;
|
150
|
+
}
|
151
|
+
if (document.documentElement.clientWidth < 767) {
|
152
|
+
subtractPosition = 0;
|
153
|
+
}
|
154
|
+
|
155
|
+
var mapCenter = new google.maps.LatLng(locations[propertyId][3],locations[propertyId][4]);
|
156
|
+
|
157
|
+
if ( $("#property-detail-map").hasClass("float") ) {
|
158
|
+
mapCenter = new google.maps.LatLng(locations[propertyId][3],locations[propertyId][4] - subtractPosition);
|
159
|
+
mapWrapper.css('width', mapWrapper.width() + mapWrapper.offset().left )
|
160
|
+
}
|
161
|
+
|
162
|
+
var mapOptions = {
|
163
|
+
zoom: 15,
|
164
|
+
center: mapCenter,
|
165
|
+
disableDefaultUI: false,
|
166
|
+
scrollwheel: false,
|
167
|
+
styles: mapStyles
|
168
|
+
};
|
169
|
+
var mapElement = document.getElementById('property-detail-map');
|
170
|
+
var map = new google.maps.Map(mapElement, mapOptions);
|
171
|
+
|
172
|
+
var pictureLabel = document.createElement("img");
|
173
|
+
pictureLabel.src = locations[propertyId][7];
|
174
|
+
var markerPosition = new google.maps.LatLng(locations[propertyId][3],locations[propertyId][4]);
|
175
|
+
var marker = new MarkerWithLabel({
|
176
|
+
position: markerPosition,
|
177
|
+
map: map,
|
178
|
+
icon: 'assets/img/marker.png',
|
179
|
+
labelContent: pictureLabel,
|
180
|
+
labelAnchor: new google.maps.Point(50, 0),
|
181
|
+
labelClass: "marker-style"
|
182
|
+
});
|
183
|
+
});
|
184
|
+
}
|
185
|
+
|
186
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
187
|
+
// Google Map - Contact
|
188
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
189
|
+
|
190
|
+
function contactUsMap(){
|
191
|
+
var mapCenter = new google.maps.LatLng(_latitude,_longitude);
|
192
|
+
var mapOptions = {
|
193
|
+
zoom: 15,
|
194
|
+
center: mapCenter,
|
195
|
+
disableDefaultUI: false,
|
196
|
+
scrollwheel: false,
|
197
|
+
styles: mapStyles
|
198
|
+
};
|
199
|
+
var mapElement = document.getElementById('contact-map');
|
200
|
+
var map = new google.maps.Map(mapElement, mapOptions);
|
201
|
+
|
202
|
+
var marker = new MarkerWithLabel({
|
203
|
+
position: mapCenter,
|
204
|
+
map: map,
|
205
|
+
icon: 'assets/img/marker.png',
|
206
|
+
//labelContent: pictureLabel,
|
207
|
+
labelAnchor: new google.maps.Point(50, 0),
|
208
|
+
labelClass: "marker-style"
|
209
|
+
});
|
210
|
+
}
|
211
|
+
|
212
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
213
|
+
// OpenStreetMap - Homepage
|
214
|
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
215
|
+
|
216
|
+
function createHomepageOSM(_latitude,_longitude){
|
217
|
+
setMapHeight();
|
218
|
+
if( document.getElementById('map') != null ){
|
219
|
+
$.getScript("assets/js/locations.js", function(){
|
220
|
+
var map = L.map('map', {
|
221
|
+
center: [_latitude,_longitude],
|
222
|
+
zoom: 14,
|
223
|
+
scrollWheelZoom: false
|
224
|
+
});
|
225
|
+
L.tileLayer('http://openmapsurfer.uni-hd.de/tiles/roadsg/x={x}&y={y}&z={z}', {
|
226
|
+
//L.tileLayer('http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
|
227
|
+
//subdomains: '0123',
|
228
|
+
attribution: 'Imagery from <a href="http://giscience.uni-hd.de/">GIScience Research Group @ University of Heidelberg</a> — Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
|
229
|
+
}).addTo(map);
|
230
|
+
var markers = L.markerClusterGroup({
|
231
|
+
showCoverageOnHover: false
|
232
|
+
});
|
233
|
+
for (var i = 0; i < locations.length; i++) {
|
234
|
+
var _icon = L.divIcon({
|
235
|
+
html: '<img src="' + locations[i][7] +'">',
|
236
|
+
iconSize: [40, 48],
|
237
|
+
iconAnchor: [20, 48],
|
238
|
+
popupAnchor: [0, -48]
|
239
|
+
});
|
240
|
+
var title = locations[i][0];
|
241
|
+
var marker = L.marker(new L.LatLng(locations[i][3],locations[i][4]), {
|
242
|
+
title: title,
|
243
|
+
icon: _icon
|
244
|
+
});
|
245
|
+
marker.bindPopup(
|
246
|
+
'<div class="property">' +
|
247
|
+
'<a href="' + locations[i][5] + '">' +
|
248
|
+
'<div class="property-image">' +
|
249
|
+
'<img src="' + locations[i][6] + '">' +
|
250
|
+
'</div>' +
|
251
|
+
'<div class="overlay">' +
|
252
|
+
'<div class="info">' +
|
253
|
+
'<div class="tag price"> ' + locations[i][2] + '</div>' +
|
254
|
+
'<h3>' + locations[i][0] + '</h3>' +
|
255
|
+
'<figure>' + locations[i][1] + '</figure>' +
|
256
|
+
'</div>' +
|
257
|
+
'</div>' +
|
258
|
+
'</a>' +
|
259
|
+
'</div>'
|
260
|
+
);
|
261
|
+
markers.addLayer(marker);
|
262
|
+
}
|
263
|
+
|
264
|
+
map.addLayer(markers);
|
265
|
+
map.on('locationfound', onLocationFound);
|
266
|
+
|
267
|
+
function locateUser() {
|
268
|
+
$('#map').addClass('fade-map');
|
269
|
+
map.locate({setView : true})
|
270
|
+
}
|
271
|
+
|
272
|
+
function onLocationFound(){
|
273
|
+
$('#map').removeClass('fade-map');
|
274
|
+
}
|
275
|
+
|
276
|
+
$('.geo-location').on("click", function() {
|
277
|
+
locateUser();
|
278
|
+
});
|
279
|
+
|
280
|
+
$('body').addClass('loaded');
|
281
|
+
setTimeout(function() {
|
282
|
+
$('body').removeClass('has-fullscreen-map');
|
283
|
+
}, 1000);
|
284
|
+
$('#map').removeClass('fade-map');
|
285
|
+
});
|
286
|
+
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
File without changes
|
@@ -0,0 +1,196 @@
|
|
1
|
+
/**
|
2
|
+
* draggable - Class allows to make any element draggable
|
3
|
+
*
|
4
|
+
* Written by
|
5
|
+
* Egor Khmelev (hmelyoff@gmail.com)
|
6
|
+
*
|
7
|
+
* Licensed under the MIT (MIT-LICENSE.txt).
|
8
|
+
*
|
9
|
+
* @author Egor Khmelev
|
10
|
+
* @version 0.1.0-BETA ($Id$)
|
11
|
+
*
|
12
|
+
**/
|
13
|
+
|
14
|
+
(function( $ ){
|
15
|
+
|
16
|
+
function Draggable(){
|
17
|
+
this._init.apply( this, arguments );
|
18
|
+
};
|
19
|
+
|
20
|
+
Draggable.prototype.oninit = function(){
|
21
|
+
|
22
|
+
};
|
23
|
+
|
24
|
+
Draggable.prototype.events = function(){
|
25
|
+
|
26
|
+
};
|
27
|
+
|
28
|
+
Draggable.prototype.onmousedown = function(){
|
29
|
+
this.ptr.css({ position: "absolute" });
|
30
|
+
};
|
31
|
+
|
32
|
+
Draggable.prototype.onmousemove = function( evt, x, y ){
|
33
|
+
this.ptr.css({ left: x, top: y });
|
34
|
+
};
|
35
|
+
|
36
|
+
Draggable.prototype.onmouseup = function(){
|
37
|
+
|
38
|
+
};
|
39
|
+
|
40
|
+
Draggable.prototype.isDefault = {
|
41
|
+
drag: false,
|
42
|
+
clicked: false,
|
43
|
+
toclick: true,
|
44
|
+
mouseup: false
|
45
|
+
};
|
46
|
+
|
47
|
+
Draggable.prototype._init = function(){
|
48
|
+
if( arguments.length > 0 ){
|
49
|
+
this.ptr = $(arguments[0]);
|
50
|
+
this.outer = $(".draggable-outer");
|
51
|
+
|
52
|
+
this.is = {};
|
53
|
+
$.extend( this.is, this.isDefault );
|
54
|
+
|
55
|
+
var _offset = this.ptr.offset();
|
56
|
+
this.d = {
|
57
|
+
left: _offset.left,
|
58
|
+
top: _offset.top,
|
59
|
+
width: this.ptr.width(),
|
60
|
+
height: this.ptr.height()
|
61
|
+
};
|
62
|
+
|
63
|
+
this.oninit.apply( this, arguments );
|
64
|
+
|
65
|
+
this._events();
|
66
|
+
}
|
67
|
+
};
|
68
|
+
|
69
|
+
Draggable.prototype._getPageCoords = function( event ){
|
70
|
+
if( event.targetTouches && event.targetTouches[0] ){
|
71
|
+
return { x: event.targetTouches[0].pageX, y: event.targetTouches[0].pageY };
|
72
|
+
} else
|
73
|
+
return { x: event.pageX, y: event.pageY };
|
74
|
+
};
|
75
|
+
|
76
|
+
Draggable.prototype._bindEvent = function( ptr, eventType, handler ){
|
77
|
+
var self = this;
|
78
|
+
|
79
|
+
if( this.supportTouches_ )
|
80
|
+
ptr.get(0).addEventListener( this.events_[ eventType ], handler, false );
|
81
|
+
|
82
|
+
else
|
83
|
+
ptr.bind( this.events_[ eventType ], handler );
|
84
|
+
};
|
85
|
+
|
86
|
+
Draggable.prototype._events = function(){
|
87
|
+
var self = this;
|
88
|
+
|
89
|
+
this.supportTouches_ = 'ontouchend' in document;
|
90
|
+
this.events_ = {
|
91
|
+
"click": this.supportTouches_ ? "touchstart" : "click",
|
92
|
+
"down": this.supportTouches_ ? "touchstart" : "mousedown",
|
93
|
+
"move": this.supportTouches_ ? "touchmove" : "mousemove",
|
94
|
+
"up" : this.supportTouches_ ? "touchend" : "mouseup"
|
95
|
+
};
|
96
|
+
|
97
|
+
this._bindEvent( $( document ), "move", function( event ){
|
98
|
+
if( self.is.drag ){
|
99
|
+
event.stopPropagation();
|
100
|
+
event.preventDefault();
|
101
|
+
self._mousemove( event );
|
102
|
+
}
|
103
|
+
});
|
104
|
+
this._bindEvent( $( document ), "down", function( event ){
|
105
|
+
if( self.is.drag ){
|
106
|
+
event.stopPropagation();
|
107
|
+
event.preventDefault();
|
108
|
+
}
|
109
|
+
});
|
110
|
+
this._bindEvent( $( document ), "up", function( event ){
|
111
|
+
self._mouseup( event );
|
112
|
+
});
|
113
|
+
|
114
|
+
this._bindEvent( this.ptr, "down", function( event ){
|
115
|
+
self._mousedown( event );
|
116
|
+
return false;
|
117
|
+
});
|
118
|
+
this._bindEvent( this.ptr, "up", function( event ){
|
119
|
+
self._mouseup( event );
|
120
|
+
});
|
121
|
+
|
122
|
+
this.ptr.find("a")
|
123
|
+
.click(function(){
|
124
|
+
self.is.clicked = true;
|
125
|
+
|
126
|
+
if( !self.is.toclick ){
|
127
|
+
self.is.toclick = true;
|
128
|
+
return false;
|
129
|
+
}
|
130
|
+
})
|
131
|
+
.mousedown(function( event ){
|
132
|
+
self._mousedown( event );
|
133
|
+
return false;
|
134
|
+
});
|
135
|
+
|
136
|
+
this.events();
|
137
|
+
};
|
138
|
+
|
139
|
+
Draggable.prototype._mousedown = function( evt ){
|
140
|
+
this.is.drag = true;
|
141
|
+
this.is.clicked = false;
|
142
|
+
this.is.mouseup = false;
|
143
|
+
|
144
|
+
var _offset = this.ptr.offset();
|
145
|
+
var coords = this._getPageCoords( evt );
|
146
|
+
this.cx = coords.x - _offset.left;
|
147
|
+
this.cy = coords.y - _offset.top;
|
148
|
+
|
149
|
+
$.extend(this.d, {
|
150
|
+
left: _offset.left,
|
151
|
+
top: _offset.top,
|
152
|
+
width: this.ptr.width(),
|
153
|
+
height: this.ptr.height()
|
154
|
+
});
|
155
|
+
|
156
|
+
if( this.outer && this.outer.get(0) ){
|
157
|
+
this.outer.css({ height: Math.max(this.outer.height(), $(document.body).height()), overflow: "hidden" });
|
158
|
+
}
|
159
|
+
|
160
|
+
this.onmousedown( evt );
|
161
|
+
};
|
162
|
+
|
163
|
+
Draggable.prototype._mousemove = function( evt ){
|
164
|
+
this.is.toclick = false;
|
165
|
+
var coords = this._getPageCoords( evt );
|
166
|
+
this.onmousemove( evt, coords.x - this.cx, coords.y - this.cy );
|
167
|
+
};
|
168
|
+
|
169
|
+
Draggable.prototype._mouseup = function( evt ){
|
170
|
+
var oThis = this;
|
171
|
+
|
172
|
+
if( this.is.drag ){
|
173
|
+
this.is.drag = false;
|
174
|
+
|
175
|
+
if( this.outer && this.outer.get(0) ){
|
176
|
+
|
177
|
+
if( $.browser.mozilla ){
|
178
|
+
this.outer.css({ overflow: "hidden" });
|
179
|
+
} else {
|
180
|
+
this.outer.css({ overflow: "visible" });
|
181
|
+
}
|
182
|
+
|
183
|
+
if( $.browser.msie && $.browser.version == '6.0' ){
|
184
|
+
this.outer.css({ height: "100%" });
|
185
|
+
} else {
|
186
|
+
this.outer.css({ height: "auto" });
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
this.onmouseup( evt );
|
191
|
+
}
|
192
|
+
};
|
193
|
+
|
194
|
+
window.Draggable = Draggable;
|
195
|
+
|
196
|
+
})( jQuery );
|