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
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,236 @@
|
|
1
|
+
/*
|
2
|
+
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3 & 4
|
3
|
+
Version: 4.3.0
|
4
|
+
Author: Sean Ngu
|
5
|
+
Website: http://www.seantheme.com/color-admin-v4.3/frontend/blog/
|
6
|
+
----------------------------
|
7
|
+
APPS CONTENT TABLE
|
8
|
+
----------------------------
|
9
|
+
|
10
|
+
<!-- ======== GLOBAL SCRIPT SETTING ======== -->
|
11
|
+
01. Handle Home Content Height
|
12
|
+
02. Handle Header Navigation State
|
13
|
+
03. Handle Commas to Number
|
14
|
+
04. Handle Page Container Show
|
15
|
+
05. Handle Pace Page Loading Plugins
|
16
|
+
06. Handle Page Scroll Content Animation
|
17
|
+
07. Handle Header Scroll To Action
|
18
|
+
08. Handle Tooltip Activation
|
19
|
+
09. Handle Theme Panel Expand
|
20
|
+
10. Handle Theme Page Control
|
21
|
+
11. Handle Grid Post Masonry
|
22
|
+
12. Handle Paroller
|
23
|
+
|
24
|
+
<!-- ======== APPLICATION SETTING ======== -->
|
25
|
+
Application Controller
|
26
|
+
*/
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
/* 01. Handle Home Content Height
|
31
|
+
------------------------------------------------ */
|
32
|
+
var handleHomeContentHeight = function() {
|
33
|
+
$('#home').height($(window).height());
|
34
|
+
};
|
35
|
+
|
36
|
+
|
37
|
+
/* 02. Handle Header Navigation State
|
38
|
+
------------------------------------------------ */
|
39
|
+
var handleHeaderNavigationState = function() {
|
40
|
+
$(window).on('scroll', function() {
|
41
|
+
var totalScrollTop = $(window).scrollTop();
|
42
|
+
if (totalScrollTop >= 50){
|
43
|
+
$('#header').addClass('navbar-sm');
|
44
|
+
} else {
|
45
|
+
$('#header').removeClass('navbar-sm');
|
46
|
+
}
|
47
|
+
});
|
48
|
+
};
|
49
|
+
|
50
|
+
|
51
|
+
/* 03. Handle Commas to Number
|
52
|
+
------------------------------------------------ */
|
53
|
+
var handleAddCommasToNumber = function(value) {
|
54
|
+
return value.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
|
55
|
+
};
|
56
|
+
|
57
|
+
|
58
|
+
/* 04. Handle Page Container Show
|
59
|
+
------------------------------------------------ */
|
60
|
+
var handlePageContainerShow = function() {
|
61
|
+
$('#page-container').addClass('in');
|
62
|
+
};
|
63
|
+
|
64
|
+
|
65
|
+
/* 05. Handle Pace Page Loading Plugins
|
66
|
+
------------------------------------------------ */
|
67
|
+
var handlePaceLoadingPlugins = function() {
|
68
|
+
Pace.on('hide', function(){
|
69
|
+
setTimeout(function() {
|
70
|
+
$('.pace').addClass('hide');
|
71
|
+
}, 1000);
|
72
|
+
});
|
73
|
+
};
|
74
|
+
|
75
|
+
|
76
|
+
/* 06. Handle Page Scroll Content Animation
|
77
|
+
------------------------------------------------ */
|
78
|
+
var handlePageScrollContentAnimation = function() {
|
79
|
+
$('[data-scrollview="true"]').each(function() {
|
80
|
+
var myElement = $(this);
|
81
|
+
|
82
|
+
var elementWatcher = scrollMonitor.create( myElement, 60 );
|
83
|
+
|
84
|
+
elementWatcher.enterViewport(function() {
|
85
|
+
$(myElement).find('[data-animation=true]').each(function() {
|
86
|
+
var targetAnimation = $(this).attr('data-animation-type');
|
87
|
+
var targetElement = $(this);
|
88
|
+
if (!$(targetElement).hasClass('contentAnimated')) {
|
89
|
+
if (targetAnimation == 'number') {
|
90
|
+
var finalNumber = parseInt($(targetElement).attr('data-final-number'));
|
91
|
+
$({animateNumber: 0}).animate({animateNumber: finalNumber}, {
|
92
|
+
duration: 1000,
|
93
|
+
easing:'swing',
|
94
|
+
step: function() {
|
95
|
+
var displayNumber = handleAddCommasToNumber(Math.ceil(this.animateNumber));
|
96
|
+
$(targetElement).text(displayNumber).addClass('contentAnimated');
|
97
|
+
}
|
98
|
+
});
|
99
|
+
} else {
|
100
|
+
$(this).addClass(targetAnimation + ' contentAnimated');
|
101
|
+
}
|
102
|
+
}
|
103
|
+
});
|
104
|
+
});
|
105
|
+
});
|
106
|
+
};
|
107
|
+
|
108
|
+
|
109
|
+
/* 07. Handle Header Scroll To Action
|
110
|
+
------------------------------------------------ */
|
111
|
+
var handleHeaderScrollToAction = function() {
|
112
|
+
$('[data-click=scroll-to-target]').on('click', function(e) {
|
113
|
+
e.preventDefault();
|
114
|
+
e.stopPropagation();
|
115
|
+
var target = $(this).attr('href');
|
116
|
+
var headerHeight = 50;
|
117
|
+
$('html, body').animate({
|
118
|
+
scrollTop: $(target).offset().top - headerHeight
|
119
|
+
}, 500);
|
120
|
+
|
121
|
+
if ($(this).attr('data-toggle') == 'dropdown') {
|
122
|
+
var targetLi = $(this).closest('li.dropdown');
|
123
|
+
if ($(targetLi).hasClass('open')) {
|
124
|
+
$(targetLi).removeClass('open');
|
125
|
+
} else {
|
126
|
+
$(targetLi).addClass('open');
|
127
|
+
}
|
128
|
+
}
|
129
|
+
});
|
130
|
+
$(document).click(function(e) {
|
131
|
+
if (!e.isPropagationStopped()) {
|
132
|
+
$('.dropdown.open').removeClass('open');
|
133
|
+
}
|
134
|
+
});
|
135
|
+
};
|
136
|
+
|
137
|
+
|
138
|
+
/* 08. Handle Tooltip Activation
|
139
|
+
------------------------------------------------ */
|
140
|
+
var handleTooltipActivation = function() {
|
141
|
+
if ($('[data-toggle=tooltip]').length !== 0) {
|
142
|
+
$('[data-toggle=tooltip]').tooltip();
|
143
|
+
}
|
144
|
+
};
|
145
|
+
|
146
|
+
|
147
|
+
/* 09. Handle Theme Panel Expand
|
148
|
+
------------------------------------------------ */
|
149
|
+
var handleThemePanelExpand = function() {
|
150
|
+
$(document).on('click', '[data-click="theme-panel-expand"]', function() {
|
151
|
+
var targetContainer = '.theme-panel';
|
152
|
+
var targetClass = 'active';
|
153
|
+
if ($(targetContainer).hasClass(targetClass)) {
|
154
|
+
$(targetContainer).removeClass(targetClass);
|
155
|
+
} else {
|
156
|
+
$(targetContainer).addClass(targetClass);
|
157
|
+
}
|
158
|
+
});
|
159
|
+
};
|
160
|
+
|
161
|
+
|
162
|
+
/* 10. Handle Theme Page Control
|
163
|
+
------------------------------------------------ */
|
164
|
+
var handleThemePageControl = function() {
|
165
|
+
if (typeof Cookies !== 'undefined') {
|
166
|
+
if (Cookies.get('theme')) {
|
167
|
+
if ($('.theme-list').length !== 0) {
|
168
|
+
$('.theme-list [data-theme]').closest('li').removeClass('active');
|
169
|
+
$('.theme-list [data-theme="'+ Cookies.get('theme') +'"]').closest('li').addClass('active');
|
170
|
+
}
|
171
|
+
var cssFileSrc = $('[data-theme="'+ Cookies.get('theme') +'"]').attr('data-theme-file');
|
172
|
+
$('#theme').attr('href', cssFileSrc, { expires: 365 });
|
173
|
+
}
|
174
|
+
|
175
|
+
$(document).on('click', '.theme-list [data-theme]', function() {
|
176
|
+
var cssFileSrc = $(this).attr('data-theme-file');
|
177
|
+
$('#theme').attr('href', cssFileSrc);
|
178
|
+
$('.theme-list [data-theme]').not(this).closest('li').removeClass('active');
|
179
|
+
$(this).closest('li').addClass('active');
|
180
|
+
Cookies.set('theme', $(this).attr('data-theme'));
|
181
|
+
});
|
182
|
+
}
|
183
|
+
};
|
184
|
+
|
185
|
+
|
186
|
+
/* 11. Handle Grid Post Masonry
|
187
|
+
------------------------------------------------ */
|
188
|
+
var handlePostGrid = function() {
|
189
|
+
if (typeof $.fn.masonry !== 'undefined') {
|
190
|
+
if ($('.post-grid').length !== 0) {
|
191
|
+
$('.post-grid').masonry({
|
192
|
+
// set itemSelector so .grid-sizer is not used in layout
|
193
|
+
itemSelector: '.post-li',
|
194
|
+
// use element for option
|
195
|
+
columnWidth: '.post-li',
|
196
|
+
percentPosition: true
|
197
|
+
});
|
198
|
+
}
|
199
|
+
}
|
200
|
+
};
|
201
|
+
|
202
|
+
|
203
|
+
/* 12. Handle Paroller
|
204
|
+
------------------------------------------------ */
|
205
|
+
|
206
|
+
var handleParoller = function() {
|
207
|
+
if (typeof $.fn.paroller !== 'undefined') {
|
208
|
+
if ($('[data-paroller="true"]').length !== 0) {
|
209
|
+
$('[data-paroller="true"]').paroller();
|
210
|
+
}
|
211
|
+
}
|
212
|
+
};
|
213
|
+
|
214
|
+
|
215
|
+
/* Application Controller
|
216
|
+
------------------------------------------------ */
|
217
|
+
var App = function () {
|
218
|
+
"use strict";
|
219
|
+
|
220
|
+
return {
|
221
|
+
//main function
|
222
|
+
init: function () {
|
223
|
+
handleHomeContentHeight();
|
224
|
+
handleHeaderNavigationState();
|
225
|
+
handlePageContainerShow();
|
226
|
+
handlePaceLoadingPlugins();
|
227
|
+
handlePageScrollContentAnimation();
|
228
|
+
handleHeaderScrollToAction();
|
229
|
+
handleTooltipActivation();
|
230
|
+
handleThemePanelExpand();
|
231
|
+
handleThemePageControl();
|
232
|
+
handlePostGrid();
|
233
|
+
handleParoller();
|
234
|
+
}
|
235
|
+
};
|
236
|
+
}();
|
File without changes
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$(document).ready(function() {
|
2
|
+
|
3
|
+
"use strict";
|
4
|
+
|
5
|
+
/*----------------------------------------------
|
6
|
+
Dashboard Nav
|
7
|
+
-----------------------------------------------*/
|
8
|
+
|
9
|
+
$('#dashboard-nav .dropdown').on('click', function (event) {
|
10
|
+
var clickover = $(event.target);
|
11
|
+
$(this).siblings('.dropdown').children('.dropdown-menu').slideUp();
|
12
|
+
$(this).children('.dropdown-menu').slideToggle();
|
13
|
+
});
|
14
|
+
|
15
|
+
$("#dashboard-nav .dropdown > a ").on('click', function(e) {
|
16
|
+
e.preventDefault();
|
17
|
+
});
|
18
|
+
|
19
|
+
})
|
@@ -0,0 +1,384 @@
|
|
1
|
+
/* global $, document, window */
|
2
|
+
$(document).ready(function () {
|
3
|
+
|
4
|
+
"use strict";
|
5
|
+
|
6
|
+
/*-------------------------------------
|
7
|
+
Navbar Toggle for Mobile
|
8
|
+
-------------------------------------*/
|
9
|
+
|
10
|
+
function navbarCollapse() {
|
11
|
+
if ($(window).width() < 992) {
|
12
|
+
$(document).on('click', function (event) {
|
13
|
+
var clickover = $(event.target);
|
14
|
+
var _opened = $("#navbar-collapse").hasClass("in");
|
15
|
+
if (_opened === true && !(clickover.is('.navbar-nav .submenu')) && !(clickover.is('.navbar-nav .submenu > a'))) {
|
16
|
+
$("button.navbar-toggle").trigger('click');
|
17
|
+
}
|
18
|
+
if (!(clickover.is('#footer-nav .submenu')) && !(clickover.is('#footer-nav .submenu > a'))) {
|
19
|
+
$('#footer-nav .submenu').removeClass('submenu-open');
|
20
|
+
}
|
21
|
+
});
|
22
|
+
|
23
|
+
$('.navbar-nav .submenu').unbind('click');
|
24
|
+
$('.navbar-nav .submenu-item').css('display', 'none');
|
25
|
+
$('.navbar-nav .submenu').on('click', function () {
|
26
|
+
$(this).children('.submenu-item').slideToggle();
|
27
|
+
});
|
28
|
+
|
29
|
+
$('.navbar-nav .submenu .submenu').on('click', function (e) {
|
30
|
+
e.stopPropagation();
|
31
|
+
});
|
32
|
+
|
33
|
+
} else {
|
34
|
+
$('.navbar-nav .submenu-item').css('display', 'block');
|
35
|
+
}
|
36
|
+
}
|
37
|
+
navbarCollapse();
|
38
|
+
|
39
|
+
|
40
|
+
function footerNav() {
|
41
|
+
if ($(window).width() < 992) {
|
42
|
+
$('#footer-nav .submenu').unbind('click');
|
43
|
+
$('#footer-nav .submenu').on('click', function () {
|
44
|
+
if ($(this).hasClass('submenu-open')) {
|
45
|
+
$(this).removeClass('submenu-open');
|
46
|
+
} else {
|
47
|
+
$(this).addClass('submenu-open');
|
48
|
+
}
|
49
|
+
});
|
50
|
+
$('#footer-nav .submenu > a').on('click', function (e) {
|
51
|
+
e.preventDefault();
|
52
|
+
});
|
53
|
+
$('#footer-nav .submenu .submenu').on('click', function (e) {
|
54
|
+
e.stopPropagation();
|
55
|
+
});
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
footerNav();
|
60
|
+
|
61
|
+
|
62
|
+
/*----------------------------------------
|
63
|
+
Advance Search Option
|
64
|
+
---------------------------------------*/
|
65
|
+
$('.advance-search-toggle').on('click', function(){
|
66
|
+
$('.advance-search-options').slideToggle();
|
67
|
+
});
|
68
|
+
|
69
|
+
|
70
|
+
/*----------------------------------------
|
71
|
+
Side Map Sticky
|
72
|
+
---------------------------------------*/
|
73
|
+
|
74
|
+
function sideMap() {
|
75
|
+
$(window).on('scroll', function () {
|
76
|
+
var scroll = $(window).scrollTop();
|
77
|
+
|
78
|
+
if (scroll >= 370 && $(window).width() > 992) {
|
79
|
+
$('.listing-side-map').addClass('fixed');
|
80
|
+
} else {
|
81
|
+
$('.listing-side-map').removeClass('fixed');
|
82
|
+
}
|
83
|
+
});
|
84
|
+
}
|
85
|
+
|
86
|
+
sideMap();
|
87
|
+
|
88
|
+
/*-------------------------------------
|
89
|
+
Header Search Js
|
90
|
+
-------------------------------------*/
|
91
|
+
|
92
|
+
$('.search-button a').on('click', function (e) {
|
93
|
+
$('.header-search').slideToggle();
|
94
|
+
$(this).find('.fa-search').removeClass('.fa-search').toggleClass('fa-times');
|
95
|
+
e.preventDefault();
|
96
|
+
})
|
97
|
+
|
98
|
+
$('.search-toggle-mobile').on('click', function (e) {
|
99
|
+
$('.header-search').slideToggle();
|
100
|
+
$(this).find('.fa-search').removeClass('.fa-search').toggleClass('fa-times');
|
101
|
+
e.preventDefault();
|
102
|
+
})
|
103
|
+
|
104
|
+
|
105
|
+
if ($(window).width() > 991) {
|
106
|
+
$(document).on('mouseup', function (event) {
|
107
|
+
var clickover = $(event.target);
|
108
|
+
var _opened = $(".header-search").is(':visible');
|
109
|
+
if (_opened === true && !(clickover.is('.header-search, .header-search *, .search-button a, .search-button a *'))) {
|
110
|
+
$(".search-button a").trigger('click');
|
111
|
+
}
|
112
|
+
});
|
113
|
+
} else {
|
114
|
+
$(document).on('mouseup', function (event) {
|
115
|
+
var clickover = $(event.target);
|
116
|
+
var _opened = $(".header-search").is(':visible');
|
117
|
+
if (_opened === true && !(clickover.is('.header-search, .header-search *, .search-toggle-mobile, .search-toggle-mobile *'))) {
|
118
|
+
$(".search-toggle-mobile").trigger('click');
|
119
|
+
}
|
120
|
+
});
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
/*-------------------------------------
|
125
|
+
Plyr Js
|
126
|
+
-------------------------------------*/
|
127
|
+
|
128
|
+
plyr.setup();
|
129
|
+
|
130
|
+
|
131
|
+
/*-------------------------------------
|
132
|
+
Flickr Gallery
|
133
|
+
-------------------------------------*/
|
134
|
+
|
135
|
+
$("#flickr-gallery").jsFlickrGallery({
|
136
|
+
pagination: {
|
137
|
+
generate: false
|
138
|
+
},
|
139
|
+
modal: {
|
140
|
+
generate: false
|
141
|
+
}
|
142
|
+
});
|
143
|
+
|
144
|
+
/*-------------------------------------------
|
145
|
+
Magnific PopUp
|
146
|
+
-------------------------------------------*/
|
147
|
+
|
148
|
+
$('.flickr-gallery').each(function () { // the containers for all your galleries
|
149
|
+
$(this).magnificPopup({
|
150
|
+
delegate: 'a', // the selector for gallery item
|
151
|
+
type: 'image',
|
152
|
+
gallery: {
|
153
|
+
enabled: true
|
154
|
+
},
|
155
|
+
});
|
156
|
+
});
|
157
|
+
|
158
|
+
/*-------------------------------------
|
159
|
+
Product View Control
|
160
|
+
-------------------------------------*/
|
161
|
+
|
162
|
+
function searchPropertyController() {
|
163
|
+
$(".style-controllder-area .controller").on('click', function () {
|
164
|
+
$('.controller').removeClass("active");
|
165
|
+
$(this).addClass("active");
|
166
|
+
});
|
167
|
+
|
168
|
+
$(".style-controllder-area .list").on('click', function () {
|
169
|
+
$(".search-property .column").removeClass("col-sm-6").addClass("col-xs-12");
|
170
|
+
});
|
171
|
+
|
172
|
+
$(".style-controllder-area .grid").on('click', function () {
|
173
|
+
if ($('.search-property .column').hasClass("col-xs-12")) {
|
174
|
+
$('.search-property .column').removeClass("col-xs-12").addClass("col-sm-6");
|
175
|
+
}
|
176
|
+
});
|
177
|
+
|
178
|
+
}
|
179
|
+
|
180
|
+
searchPropertyController();
|
181
|
+
|
182
|
+
|
183
|
+
/*----------------------------------------
|
184
|
+
Select Tag Style
|
185
|
+
---------------------------------------*/
|
186
|
+
|
187
|
+
$('.listing-search-form #city').selectpicker({
|
188
|
+
style: 'form-control white-bg',
|
189
|
+
});
|
190
|
+
|
191
|
+
$('.listing-search-form #type').selectpicker({
|
192
|
+
style: 'form-control white-bg',
|
193
|
+
});
|
194
|
+
|
195
|
+
$('.listing-search-form #bedroom').selectpicker({
|
196
|
+
style: 'form-control white-bg',
|
197
|
+
});
|
198
|
+
|
199
|
+
$('.listing-search-form #washroom').selectpicker({
|
200
|
+
style: 'form-control white-bg',
|
201
|
+
});
|
202
|
+
|
203
|
+
$('#search-field-category').selectpicker({
|
204
|
+
style: 'form-control white-bg',
|
205
|
+
});
|
206
|
+
|
207
|
+
$('#agents-city').selectpicker({
|
208
|
+
style: 'form-control white-bg',
|
209
|
+
});
|
210
|
+
|
211
|
+
$('#search-catagries').selectpicker({
|
212
|
+
style: 'form-control white-bg',
|
213
|
+
});
|
214
|
+
|
215
|
+
$('#listing_category').selectpicker({
|
216
|
+
style: 'form-control white-bg',
|
217
|
+
});
|
218
|
+
|
219
|
+
|
220
|
+
$('#listing_price').selectpicker({
|
221
|
+
style: 'form-control white-bg',
|
222
|
+
});
|
223
|
+
|
224
|
+
$('#listing_timezone').selectpicker({
|
225
|
+
style: 'form-control white-bg',
|
226
|
+
});
|
227
|
+
|
228
|
+
$('#page-language').selectpicker({
|
229
|
+
style: 'form-control white-bg',
|
230
|
+
});
|
231
|
+
|
232
|
+
|
233
|
+
/*-------------------------------------------
|
234
|
+
TineMCE JS
|
235
|
+
-------------------------------------------*/
|
236
|
+
|
237
|
+
tinymce.init({
|
238
|
+
selector: '.tinymce-editor',
|
239
|
+
height: 200,
|
240
|
+
menubar: false,
|
241
|
+
theme: 'modern',
|
242
|
+
mobile: {
|
243
|
+
theme: 'mobile',
|
244
|
+
plugins: ['autosave', 'lists', 'autolink']
|
245
|
+
},
|
246
|
+
plugins: [
|
247
|
+
'advlist autolink lists link image charmap print preview anchor',
|
248
|
+
'searchreplace visualblocks code fullscreen',
|
249
|
+
'insertdatetime media table contextmenu paste code'
|
250
|
+
],
|
251
|
+
toolbar: 'bold italic | alignleft aligncenter alignright alignjustify | link image | undo redo',
|
252
|
+
});
|
253
|
+
|
254
|
+
/*----------------------------------------
|
255
|
+
Owl Carousel
|
256
|
+
---------------------------------------*/
|
257
|
+
|
258
|
+
if ($('.cp-slider').length > 0) {
|
259
|
+
$('.cp-slider').each(function () {
|
260
|
+
$(this).owlCarousel({
|
261
|
+
singleItem: true,
|
262
|
+
slideSpeed: 200,
|
263
|
+
autoPlay: 3000,
|
264
|
+
stopOnHover: true,
|
265
|
+
navigation: true,
|
266
|
+
navigationText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
|
267
|
+
pagination: false
|
268
|
+
});
|
269
|
+
});
|
270
|
+
};
|
271
|
+
|
272
|
+
if ($('.listing-slider').length > 0) {
|
273
|
+
$('.listing-slider').each(function () {
|
274
|
+
$(this).owlCarousel({
|
275
|
+
singleItem: true,
|
276
|
+
slideSpeed: 200,
|
277
|
+
autoPlay: 3000,
|
278
|
+
stopOnHover: true,
|
279
|
+
navigation: true,
|
280
|
+
navigationText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
|
281
|
+
pagination: false
|
282
|
+
});
|
283
|
+
});
|
284
|
+
};
|
285
|
+
|
286
|
+
if ($('.post-slider').length > 0) {
|
287
|
+
$('.post-slider').each(function () {
|
288
|
+
$(this).owlCarousel({
|
289
|
+
singleItem: true,
|
290
|
+
slideSpeed: 200,
|
291
|
+
autoPlay: 3000,
|
292
|
+
stopOnHover: true,
|
293
|
+
navigation: true,
|
294
|
+
navigationText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
|
295
|
+
pagination: false
|
296
|
+
});
|
297
|
+
});
|
298
|
+
};
|
299
|
+
|
300
|
+
if ($('#property-slider').length > 0) {
|
301
|
+
$('#property-slider').owlCarousel({
|
302
|
+
singleItem: true,
|
303
|
+
slideSpeed: 200,
|
304
|
+
autoPlay: 3000,
|
305
|
+
stopOnHover: true,
|
306
|
+
navigation: true,
|
307
|
+
navigationText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
|
308
|
+
pagination: false
|
309
|
+
});
|
310
|
+
};
|
311
|
+
|
312
|
+
|
313
|
+
$('.testimonial').each(function () {
|
314
|
+
$(this).owlCarousel({
|
315
|
+
singleItem: true,
|
316
|
+
slideSpeed: 200,
|
317
|
+
autoPlay: 3000,
|
318
|
+
stopOnHover: true,
|
319
|
+
navigation: true,
|
320
|
+
navigationText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
|
321
|
+
pagination: false
|
322
|
+
});
|
323
|
+
});
|
324
|
+
|
325
|
+
/*----------------------------------------
|
326
|
+
Price Range
|
327
|
+
---------------------------------------*/
|
328
|
+
|
329
|
+
$('.nstSlider').nstSlider({
|
330
|
+
"left_grip_selector": ".leftGrip",
|
331
|
+
"right_grip_selector": ".rightGrip",
|
332
|
+
"value_bar_selector": ".bar",
|
333
|
+
"value_changed_callback": function (cause, leftValue, rightValue) {
|
334
|
+
$(this).parent().find('.leftLabel').text(leftValue);
|
335
|
+
$(this).parent().find('.rightLabel').text(rightValue);
|
336
|
+
}
|
337
|
+
});
|
338
|
+
|
339
|
+
|
340
|
+
/*-----------------------------------
|
341
|
+
Contact Form
|
342
|
+
-----------------------------------*/
|
343
|
+
// Function for email address validation
|
344
|
+
function isValidEmail(emailAddress) {
|
345
|
+
var pattern = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
|
346
|
+
|
347
|
+
return pattern.test(emailAddress);
|
348
|
+
|
349
|
+
}
|
350
|
+
$("#contactForm").on('submit', function (e) {
|
351
|
+
e.preventDefault();
|
352
|
+
var data = {
|
353
|
+
name: $("#name").val(),
|
354
|
+
email: $("#email").val(),
|
355
|
+
phone: $("#phone").val(),
|
356
|
+
subject: $("#subject").val(),
|
357
|
+
message: $("#message").val()
|
358
|
+
};
|
359
|
+
|
360
|
+
if (isValidEmail(data['email']) && (data['message'].length > 1) && (data['name'].length > 1)) {
|
361
|
+
$.ajax({
|
362
|
+
type: "POST",
|
363
|
+
url: "sendmail.php",
|
364
|
+
data: data,
|
365
|
+
success: function () {
|
366
|
+
$('#contactForm .input-success').delay(500).fadeIn(1000);
|
367
|
+
$('#contactForm .input-error').fadeOut(500);
|
368
|
+
}
|
369
|
+
});
|
370
|
+
} else {
|
371
|
+
$('#contactForm .input-error').delay(500).fadeIn(1000);
|
372
|
+
$('#contactForm .input-success').fadeOut(500);
|
373
|
+
}
|
374
|
+
|
375
|
+
return false;
|
376
|
+
});
|
377
|
+
|
378
|
+
$(window).on('resize orientationchange', function () {
|
379
|
+
navbarCollapse();
|
380
|
+
footerNav();
|
381
|
+
sideMap();
|
382
|
+
searchPropertyController();
|
383
|
+
});
|
384
|
+
})
|