phcthemes_admin_panel_pack 4.0.7 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +2 -0
- data/Rakefile +8 -8
- data/app/assets/config/phcthemes_admin_panel_pack_manifest.js +9 -9
- data/app/assets/javascripts/common/backstretch/jquery.backstretch.js +1602 -1602
- data/app/assets/javascripts/common/bootstrap/bootstrap.bundle.js +7023 -7023
- data/app/assets/javascripts/common/bootstrap/bootstrap.three.js +2377 -2377
- data/app/assets/javascripts/common/bootstrap-datepicker/bootstrap-datepicker.js +2039 -2039
- data/app/assets/javascripts/common/bootstrap-markdown/bootstrap-markdown.js +1390 -1390
- data/app/assets/javascripts/common/bootstrap-select/bootstrap-select.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.min.js +7 -7
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js.map +0 -0
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.min.js +7 -7
- data/app/assets/javascripts/common/chartjs/chart.js +0 -0
- data/app/assets/javascripts/common/ckeditor/ckeditor.js +6 -6
- data/app/assets/javascripts/common/ckeditor/ckeditor.js.map +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/af.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ar.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ast.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/az.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/bg.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ca.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/cs.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/da.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/de-ch.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/de.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/el.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/en-au.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/en-gb.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/eo.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/es.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/et.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/eu.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/fa.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/fi.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/fr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/gl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/gu.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/he.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/hr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/hu.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/id.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/it.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ja.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/km.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/kn.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ko.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ku.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/lt.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/lv.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/nb.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ne.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/nl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/no.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/oc.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/pl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/pt-br.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/pt.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ro.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ru.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/si.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sk.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sl.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sq.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sr-latn.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/sv.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/th.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/tr.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/tt.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/ug.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/uk.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/vi.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/zh-cn.js +0 -0
- data/app/assets/javascripts/common/ckeditor/translations/zh.js +0 -0
- data/app/assets/javascripts/common/clipboardjs/clipboard.js +977 -977
- data/app/assets/javascripts/common/covervid/covervid.js +94 -94
- data/app/assets/javascripts/common/custom/custom.js +0 -0
- data/app/assets/javascripts/common/datatables/datatables.js +15310 -15310
- data/app/assets/javascripts/common/daterangepicker/daterangepicker.js +1565 -1565
- data/app/assets/javascripts/common/fastclick/fastclick.js +841 -841
- data/app/assets/javascripts/common/flexslider/jquery.flexslider.js +1252 -1252
- data/app/assets/javascripts/common/greenstock/greensock.js +35 -35
- data/app/assets/javascripts/common/html5sortable/jquery.sortable.js +98 -98
- data/app/assets/javascripts/common/icheck/icheck.js +509 -509
- data/app/assets/javascripts/common/imagesloaded/imagesloaded.pkgd.js +497 -497
- data/app/assets/javascripts/common/isotope/isotope.pkgd.js +3563 -3563
- data/app/assets/javascripts/common/jquery/jquery-3.4.1.js +10598 -10598
- data/app/assets/javascripts/common/jquery-countdown/jquery.countdown.js +245 -245
- data/app/assets/javascripts/common/jquery-filterizer/jquery.filterizr.min.js +0 -0
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.autogrow.js +37 -37
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.charcounter.js +53 -53
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.checkbox.js +54 -54
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.datepicker.js +59 -59
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.js +823 -823
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.masked.js +46 -46
- data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.time.js +71 -71
- data/app/assets/javascripts/common/jquery-jvectormap/jquery-jvectormap.js +44 -44
- data/app/assets/javascripts/common/jquery-placeholder/jquery.placeholder.js +281 -281
- data/app/assets/javascripts/common/jquery-slimscroll/jquery.slimscroll.js +474 -474
- data/app/assets/javascripts/common/jquery-sparkline/jquery.sparkline.js +3054 -3054
- data/app/assets/javascripts/common/jquery-ui/jquery-ui.js +18705 -18705
- data/app/assets/javascripts/common/jquery-validation/jquery.validate.js +0 -0
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.js +1281 -1281
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.min.js +9 -9
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.africa.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.asia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.australia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.europe.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.north-america.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.south-america.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.algeria.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.argentina.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.brazil.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.canada.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.europe.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.france.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.germany.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.greece.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iran.js +6 -6
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iraq.js +1 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.russia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.tunisia.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.turkey.js +11 -11
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.usa.js +2 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.world.js +2 -2
- data/app/assets/javascripts/common/js-cookie/js.cookie.js +165 -165
- data/app/assets/javascripts/common/layerslider/layerslider.kreaturamedia.jquery.js +12 -12
- data/app/assets/javascripts/common/layerslider/layerslider.origami.js +12 -12
- data/app/assets/javascripts/common/layerslider/layerslider.timeline.js +12 -12
- data/app/assets/javascripts/common/layerslider/layerslider.transitions.js +12 -12
- data/app/assets/javascripts/common/lazysizes/lazysizes.js +754 -754
- data/app/assets/javascripts/common/leaflet/leaflet.js +4 -4
- data/app/assets/javascripts/common/magnific-popup/jquery.magnific-popup.js +1859 -1859
- data/app/assets/javascripts/common/mapbox/mapbox.js +51 -51
- data/app/assets/javascripts/common/metismenu/metisMenu.js +340 -340
- data/app/assets/javascripts/common/moderizer/modernizr.js +11 -11
- data/app/assets/javascripts/common/nouislider/nouislider.js +2637 -2637
- data/app/assets/javascripts/common/owl-carousel/owl.carousel.js +3448 -3448
- data/app/assets/javascripts/common/pace/pace.js +935 -935
- data/app/assets/javascripts/common/paroller/jquery.paroller.js +228 -228
- data/app/assets/javascripts/common/particlejs/particles.js +1540 -1540
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.common.js +1318 -1318
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.esm.js +1316 -1316
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.js +1324 -1324
- data/app/assets/javascripts/common/plyr/plyr.js +9137 -9137
- data/app/assets/javascripts/common/rangeslider/rangeslider.js +498 -498
- data/app/assets/javascripts/common/retina/retina.js +100 -100
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.actions.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.carousel.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.kenburn.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.layeranimation.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.migration.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.navigation.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.parallax.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.slideanims.js +0 -0
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.video.js +0 -0
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.revolution.js +0 -0
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.tools.min.js +0 -0
- data/app/assets/javascripts/common/scrollme/jquery.scrollme.js +455 -455
- data/app/assets/javascripts/common/scrollup/jquery.scrollUp.js +168 -168
- data/app/assets/javascripts/common/select2/select2.full.js +6597 -6597
- data/app/assets/javascripts/common/selectbox/jquery.selectBox.js +1091 -1091
- data/app/assets/javascripts/common/slick/slick.js +3004 -3004
- data/app/assets/javascripts/common/smooth-scroll/SmoothScroll.js +788 -788
- data/app/assets/javascripts/common/spectrum/spectrum.js +2323 -2323
- data/app/assets/javascripts/common/stepper/jquery.fs.stepper.js +339 -339
- data/app/assets/javascripts/common/swiper/swiper.js +8124 -8124
- data/app/assets/javascripts/common/toaster/toastr.js +476 -476
- data/app/assets/javascripts/common/typed/typed.js +1044 -1044
- data/app/assets/javascripts/common/visable/jquery.visible.js +68 -68
- data/app/assets/javascripts/common/waypoints/jquery.waypoints.js +661 -661
- data/app/assets/javascripts/common/wow/wow.js +508 -508
- data/app/assets/javascripts/phcthemes_admin_panel_pack_adminlte.js +12 -12
- data/app/assets/javascripts/phcthemes_admin_panel_pack_boomerang.js +0 -0
- data/app/assets/javascripts/phcthemes_admin_panel_pack_coloradmin.js +5 -5
- data/app/assets/javascripts/phcthemes_admin_panel_pack_inspinia.js +10 -10
- data/app/assets/javascripts/phcthemes_admin_panel_pack_metronic.js +6 -6
- data/app/assets/javascripts/phcthemes_admin_panel_pack_quilpro.js +5 -5
- data/app/assets/javascripts/phcthemes_admin_panel_pack_starlight.js +5 -5
- data/app/assets/javascripts/themes/adminlte/theme/adminlte.js +1141 -1141
- data/app/assets/javascripts/themes/coloradmin/theme/color_admin_app.min.js +0 -0
- data/app/assets/javascripts/themes/coloradmin/theme/color_admin_default.js +0 -0
- data/app/assets/javascripts/themes/inspinia/theme/inspinia.js +279 -279
- data/app/assets/javascripts/themes/metronic/theme/plugins.bundle.js +0 -0
- data/app/assets/javascripts/themes/metronic/theme/prismjs.bundle.js +1922 -1922
- data/app/assets/javascripts/themes/metronic/theme/scripts.bundle.js +0 -0
- data/app/assets/javascripts/themes/metronic/theme/widgets.js +0 -0
- data/app/assets/stylesheets/common/hanna_hearts/hanna_hearts.scss +0 -0
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_adminlte.scss +16 -16
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_boomerang.scss +27 -27
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_coloradmin.scss +11 -11
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_inspinia.scss +18 -18
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_metronic.scss +15 -15
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_quilpro.scss +19 -19
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_starlight.scss +15 -15
- data/lib/phcthemes_admin_panel_pack/engine.rb +20 -20
- data/lib/phcthemes_admin_panel_pack/version.rb +3 -3
- data/lib/phcthemes_admin_panel_pack.rb +6 -6
- data/lib/tasks/phcthemes_admin_panel_pack_tasks.rake +4 -4
- metadata +3 -3
File without changes
|
File without changes
|
@@ -1,279 +1,279 @@
|
|
1
|
-
/*
|
2
|
-
*
|
3
|
-
* INSPINIA - Responsive Admin Theme
|
4
|
-
* version 2.9.2
|
5
|
-
*
|
6
|
-
*/
|
7
|
-
|
8
|
-
|
9
|
-
$(document).ready(function () {
|
10
|
-
|
11
|
-
|
12
|
-
// Fast fix bor position issue with Propper.js
|
13
|
-
// Will be fixed in Bootstrap 4.1 - https://github.com/twbs/bootstrap/pull/24092
|
14
|
-
Popper.Defaults.modifiers.computeStyle.gpuAcceleration = false;
|
15
|
-
|
16
|
-
|
17
|
-
// Add body-small class if window less than 768px
|
18
|
-
if ($(window).width() < 769) {
|
19
|
-
$('body').addClass('body-small')
|
20
|
-
} else {
|
21
|
-
$('body').removeClass('body-small')
|
22
|
-
}
|
23
|
-
|
24
|
-
// MetisMenu
|
25
|
-
var sideMenu = $('#side-menu').metisMenu();
|
26
|
-
|
27
|
-
// Collapse ibox function
|
28
|
-
$('.collapse-link').on('click', function (e) {
|
29
|
-
e.preventDefault();
|
30
|
-
var ibox = $(this).closest('div.ibox');
|
31
|
-
var button = $(this).find('i');
|
32
|
-
var content = ibox.children('.ibox-content');
|
33
|
-
content.slideToggle(200);
|
34
|
-
button.toggleClass('fa-chevron-up').toggleClass('fa-chevron-down');
|
35
|
-
ibox.toggleClass('').toggleClass('border-bottom');
|
36
|
-
setTimeout(function () {
|
37
|
-
ibox.resize();
|
38
|
-
ibox.find('[id^=map-]').resize();
|
39
|
-
}, 50);
|
40
|
-
});
|
41
|
-
|
42
|
-
// Close ibox function
|
43
|
-
$('.close-link').on('click', function (e) {
|
44
|
-
e.preventDefault();
|
45
|
-
var content = $(this).closest('div.ibox');
|
46
|
-
content.remove();
|
47
|
-
});
|
48
|
-
|
49
|
-
// Fullscreen ibox function
|
50
|
-
$('.fullscreen-link').on('click', function (e) {
|
51
|
-
e.preventDefault();
|
52
|
-
var ibox = $(this).closest('div.ibox');
|
53
|
-
var button = $(this).find('i');
|
54
|
-
$('body').toggleClass('fullscreen-ibox-mode');
|
55
|
-
button.toggleClass('fa-expand').toggleClass('fa-compress');
|
56
|
-
ibox.toggleClass('fullscreen');
|
57
|
-
setTimeout(function () {
|
58
|
-
$(window).trigger('resize');
|
59
|
-
}, 100);
|
60
|
-
});
|
61
|
-
|
62
|
-
// Close menu in canvas mode
|
63
|
-
$('.close-canvas-menu').on('click', function (e) {
|
64
|
-
e.preventDefault();
|
65
|
-
$("body").toggleClass("mini-navbar");
|
66
|
-
SmoothlyMenu();
|
67
|
-
});
|
68
|
-
|
69
|
-
// Run menu of canvas
|
70
|
-
$('body.canvas-menu .sidebar-collapse').slimScroll({
|
71
|
-
height: '100%',
|
72
|
-
railOpacity: 0.9
|
73
|
-
});
|
74
|
-
|
75
|
-
// Open close right sidebar
|
76
|
-
$('.right-sidebar-toggle').on('click', function (e) {
|
77
|
-
e.preventDefault();
|
78
|
-
$('#right-sidebar').toggleClass('sidebar-open');
|
79
|
-
});
|
80
|
-
|
81
|
-
// Initialize slimscroll for right sidebar
|
82
|
-
$('.sidebar-container').slimScroll({
|
83
|
-
height: '100%',
|
84
|
-
railOpacity: 0.4,
|
85
|
-
wheelStep: 10
|
86
|
-
});
|
87
|
-
|
88
|
-
// Open close small chat
|
89
|
-
$('.open-small-chat').on('click', function (e) {
|
90
|
-
e.preventDefault();
|
91
|
-
$(this).children().toggleClass('fa-comments').toggleClass('fa-times');
|
92
|
-
$('.small-chat-box').toggleClass('active');
|
93
|
-
});
|
94
|
-
|
95
|
-
// Initialize slimscroll for small chat
|
96
|
-
$('.small-chat-box .content').slimScroll({
|
97
|
-
height: '234px',
|
98
|
-
railOpacity: 0.4
|
99
|
-
});
|
100
|
-
|
101
|
-
// Small todo handler
|
102
|
-
$('.check-link').on('click', function () {
|
103
|
-
var button = $(this).find('i');
|
104
|
-
var label = $(this).next('span');
|
105
|
-
button.toggleClass('fa-check-square').toggleClass('fa-square-o');
|
106
|
-
label.toggleClass('todo-completed');
|
107
|
-
return false;
|
108
|
-
});
|
109
|
-
|
110
|
-
// Minimalize menu
|
111
|
-
$('.navbar-minimalize').on('click', function (event) {
|
112
|
-
event.preventDefault();
|
113
|
-
$("body").toggleClass("mini-navbar");
|
114
|
-
SmoothlyMenu();
|
115
|
-
|
116
|
-
});
|
117
|
-
|
118
|
-
// Tooltips demo
|
119
|
-
$('.tooltip-demo').tooltip({
|
120
|
-
selector: "[data-toggle=tooltip]",
|
121
|
-
container: "body"
|
122
|
-
});
|
123
|
-
|
124
|
-
|
125
|
-
// Move right sidebar top after scroll
|
126
|
-
$(window).scroll(function () {
|
127
|
-
if ($(window).scrollTop() > 0 && !$('body').hasClass('fixed-nav')) {
|
128
|
-
$('#right-sidebar').addClass('sidebar-top');
|
129
|
-
} else {
|
130
|
-
$('#right-sidebar').removeClass('sidebar-top');
|
131
|
-
}
|
132
|
-
});
|
133
|
-
|
134
|
-
$("[data-toggle=popover]")
|
135
|
-
.popover();
|
136
|
-
|
137
|
-
// Add slimscroll to element
|
138
|
-
$('.full-height-scroll').slimscroll({
|
139
|
-
height: '100%'
|
140
|
-
})
|
141
|
-
});
|
142
|
-
|
143
|
-
// Minimalize menu when screen is less than 768px
|
144
|
-
$(window).bind(" resize", function () {
|
145
|
-
if ($(this).width() < 769) {
|
146
|
-
$('body').addClass('body-small')
|
147
|
-
} else {
|
148
|
-
$('body').removeClass('body-small')
|
149
|
-
}
|
150
|
-
});
|
151
|
-
|
152
|
-
// Fixed Sidebar
|
153
|
-
$(window).bind("load", function () {
|
154
|
-
if ($("body").hasClass('fixed-sidebar')) {
|
155
|
-
$('.sidebar-collapse').slimScroll({
|
156
|
-
height: '100%',
|
157
|
-
railOpacity: 0.9
|
158
|
-
});
|
159
|
-
}
|
160
|
-
});
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
// Minimalize menu when screen is less than 768px
|
165
|
-
$(window).bind("load resize", function () {
|
166
|
-
if ($(this).width() < 769) {
|
167
|
-
$('body').addClass('body-small')
|
168
|
-
} else {
|
169
|
-
$('body').removeClass('body-small')
|
170
|
-
}
|
171
|
-
});
|
172
|
-
|
173
|
-
//Local Storage functions
|
174
|
-
//Set proper body class and plugins based on user configuration
|
175
|
-
$(document).ready(function () {
|
176
|
-
if (localStorageSupport()) {
|
177
|
-
|
178
|
-
var collapse = localStorage.getItem("collapse_menu");
|
179
|
-
var fixedsidebar = localStorage.getItem("fixedsidebar");
|
180
|
-
var fixednavbar = localStorage.getItem("fixednavbar");
|
181
|
-
var boxedlayout = localStorage.getItem("boxedlayout");
|
182
|
-
var fixedfooter = localStorage.getItem("fixedfooter");
|
183
|
-
|
184
|
-
var body = $('body');
|
185
|
-
|
186
|
-
if (fixedsidebar == 'on') {
|
187
|
-
body.addClass('fixed-sidebar');
|
188
|
-
$('.sidebar-collapse').slimScroll({
|
189
|
-
height: '100%',
|
190
|
-
railOpacity: 0.9
|
191
|
-
});
|
192
|
-
}
|
193
|
-
|
194
|
-
if (collapse == 'on') {
|
195
|
-
if (body.hasClass('fixed-sidebar')) {
|
196
|
-
if (!body.hasClass('body-small')) {
|
197
|
-
body.addClass('mini-navbar');
|
198
|
-
}
|
199
|
-
} else {
|
200
|
-
if (!body.hasClass('body-small')) {
|
201
|
-
body.addClass('mini-navbar');
|
202
|
-
}
|
203
|
-
|
204
|
-
}
|
205
|
-
}
|
206
|
-
|
207
|
-
if (fixednavbar == 'on') {
|
208
|
-
$(".navbar-static-top").removeClass('navbar-static-top').addClass('navbar-fixed-top');
|
209
|
-
body.addClass('fixed-nav');
|
210
|
-
}
|
211
|
-
|
212
|
-
if (boxedlayout == 'on') {
|
213
|
-
body.addClass('boxed-layout');
|
214
|
-
}
|
215
|
-
|
216
|
-
if (fixedfooter == 'on') {
|
217
|
-
$(".footer").addClass('fixed');
|
218
|
-
}
|
219
|
-
}
|
220
|
-
});
|
221
|
-
|
222
|
-
// check if browser support HTML5 local storage
|
223
|
-
function localStorageSupport() {
|
224
|
-
return (('localStorage' in window) && window['localStorage'] !== null)
|
225
|
-
}
|
226
|
-
|
227
|
-
// For demo purpose - animation css script
|
228
|
-
function animationHover(element, animation) {
|
229
|
-
element = $(element);
|
230
|
-
element.hover(
|
231
|
-
function () {
|
232
|
-
element.addClass('animated ' + animation);
|
233
|
-
},
|
234
|
-
function () {
|
235
|
-
//wait for animation to finish before removing classes
|
236
|
-
window.setTimeout(function () {
|
237
|
-
element.removeClass('animated ' + animation);
|
238
|
-
}, 2000);
|
239
|
-
});
|
240
|
-
}
|
241
|
-
|
242
|
-
function SmoothlyMenu() {
|
243
|
-
if (!$('body').hasClass('mini-navbar') || $('body').hasClass('body-small')) {
|
244
|
-
// Hide menu in order to smoothly turn on when maximize menu
|
245
|
-
$('#side-menu').hide();
|
246
|
-
// For smoothly turn on menu
|
247
|
-
setTimeout(
|
248
|
-
function () {
|
249
|
-
$('#side-menu').fadeIn(400);
|
250
|
-
}, 200);
|
251
|
-
} else if ($('body').hasClass('fixed-sidebar')) {
|
252
|
-
$('#side-menu').hide();
|
253
|
-
setTimeout(
|
254
|
-
function () {
|
255
|
-
$('#side-menu').fadeIn(400);
|
256
|
-
}, 100);
|
257
|
-
} else {
|
258
|
-
// Remove all inline style from jquery fadeIn function to reset menu state
|
259
|
-
$('#side-menu').removeAttr('style');
|
260
|
-
}
|
261
|
-
}
|
262
|
-
|
263
|
-
// Dragable panels
|
264
|
-
function WinMove() {
|
265
|
-
var element = "[class*=col]";
|
266
|
-
var handle = ".ibox-title";
|
267
|
-
var connect = "[class*=col]";
|
268
|
-
$(element).sortable(
|
269
|
-
{
|
270
|
-
handle: handle,
|
271
|
-
connectWith: connect,
|
272
|
-
tolerance: 'pointer',
|
273
|
-
forcePlaceholderSize: true,
|
274
|
-
opacity: 0.8
|
275
|
-
})
|
276
|
-
.disableSelection();
|
277
|
-
}
|
278
|
-
|
279
|
-
|
1
|
+
/*
|
2
|
+
*
|
3
|
+
* INSPINIA - Responsive Admin Theme
|
4
|
+
* version 2.9.2
|
5
|
+
*
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
$(document).ready(function () {
|
10
|
+
|
11
|
+
|
12
|
+
// Fast fix bor position issue with Propper.js
|
13
|
+
// Will be fixed in Bootstrap 4.1 - https://github.com/twbs/bootstrap/pull/24092
|
14
|
+
Popper.Defaults.modifiers.computeStyle.gpuAcceleration = false;
|
15
|
+
|
16
|
+
|
17
|
+
// Add body-small class if window less than 768px
|
18
|
+
if ($(window).width() < 769) {
|
19
|
+
$('body').addClass('body-small')
|
20
|
+
} else {
|
21
|
+
$('body').removeClass('body-small')
|
22
|
+
}
|
23
|
+
|
24
|
+
// MetisMenu
|
25
|
+
var sideMenu = $('#side-menu').metisMenu();
|
26
|
+
|
27
|
+
// Collapse ibox function
|
28
|
+
$('.collapse-link').on('click', function (e) {
|
29
|
+
e.preventDefault();
|
30
|
+
var ibox = $(this).closest('div.ibox');
|
31
|
+
var button = $(this).find('i');
|
32
|
+
var content = ibox.children('.ibox-content');
|
33
|
+
content.slideToggle(200);
|
34
|
+
button.toggleClass('fa-chevron-up').toggleClass('fa-chevron-down');
|
35
|
+
ibox.toggleClass('').toggleClass('border-bottom');
|
36
|
+
setTimeout(function () {
|
37
|
+
ibox.resize();
|
38
|
+
ibox.find('[id^=map-]').resize();
|
39
|
+
}, 50);
|
40
|
+
});
|
41
|
+
|
42
|
+
// Close ibox function
|
43
|
+
$('.close-link').on('click', function (e) {
|
44
|
+
e.preventDefault();
|
45
|
+
var content = $(this).closest('div.ibox');
|
46
|
+
content.remove();
|
47
|
+
});
|
48
|
+
|
49
|
+
// Fullscreen ibox function
|
50
|
+
$('.fullscreen-link').on('click', function (e) {
|
51
|
+
e.preventDefault();
|
52
|
+
var ibox = $(this).closest('div.ibox');
|
53
|
+
var button = $(this).find('i');
|
54
|
+
$('body').toggleClass('fullscreen-ibox-mode');
|
55
|
+
button.toggleClass('fa-expand').toggleClass('fa-compress');
|
56
|
+
ibox.toggleClass('fullscreen');
|
57
|
+
setTimeout(function () {
|
58
|
+
$(window).trigger('resize');
|
59
|
+
}, 100);
|
60
|
+
});
|
61
|
+
|
62
|
+
// Close menu in canvas mode
|
63
|
+
$('.close-canvas-menu').on('click', function (e) {
|
64
|
+
e.preventDefault();
|
65
|
+
$("body").toggleClass("mini-navbar");
|
66
|
+
SmoothlyMenu();
|
67
|
+
});
|
68
|
+
|
69
|
+
// Run menu of canvas
|
70
|
+
$('body.canvas-menu .sidebar-collapse').slimScroll({
|
71
|
+
height: '100%',
|
72
|
+
railOpacity: 0.9
|
73
|
+
});
|
74
|
+
|
75
|
+
// Open close right sidebar
|
76
|
+
$('.right-sidebar-toggle').on('click', function (e) {
|
77
|
+
e.preventDefault();
|
78
|
+
$('#right-sidebar').toggleClass('sidebar-open');
|
79
|
+
});
|
80
|
+
|
81
|
+
// Initialize slimscroll for right sidebar
|
82
|
+
$('.sidebar-container').slimScroll({
|
83
|
+
height: '100%',
|
84
|
+
railOpacity: 0.4,
|
85
|
+
wheelStep: 10
|
86
|
+
});
|
87
|
+
|
88
|
+
// Open close small chat
|
89
|
+
$('.open-small-chat').on('click', function (e) {
|
90
|
+
e.preventDefault();
|
91
|
+
$(this).children().toggleClass('fa-comments').toggleClass('fa-times');
|
92
|
+
$('.small-chat-box').toggleClass('active');
|
93
|
+
});
|
94
|
+
|
95
|
+
// Initialize slimscroll for small chat
|
96
|
+
$('.small-chat-box .content').slimScroll({
|
97
|
+
height: '234px',
|
98
|
+
railOpacity: 0.4
|
99
|
+
});
|
100
|
+
|
101
|
+
// Small todo handler
|
102
|
+
$('.check-link').on('click', function () {
|
103
|
+
var button = $(this).find('i');
|
104
|
+
var label = $(this).next('span');
|
105
|
+
button.toggleClass('fa-check-square').toggleClass('fa-square-o');
|
106
|
+
label.toggleClass('todo-completed');
|
107
|
+
return false;
|
108
|
+
});
|
109
|
+
|
110
|
+
// Minimalize menu
|
111
|
+
$('.navbar-minimalize').on('click', function (event) {
|
112
|
+
event.preventDefault();
|
113
|
+
$("body").toggleClass("mini-navbar");
|
114
|
+
SmoothlyMenu();
|
115
|
+
|
116
|
+
});
|
117
|
+
|
118
|
+
// Tooltips demo
|
119
|
+
$('.tooltip-demo').tooltip({
|
120
|
+
selector: "[data-toggle=tooltip]",
|
121
|
+
container: "body"
|
122
|
+
});
|
123
|
+
|
124
|
+
|
125
|
+
// Move right sidebar top after scroll
|
126
|
+
$(window).scroll(function () {
|
127
|
+
if ($(window).scrollTop() > 0 && !$('body').hasClass('fixed-nav')) {
|
128
|
+
$('#right-sidebar').addClass('sidebar-top');
|
129
|
+
} else {
|
130
|
+
$('#right-sidebar').removeClass('sidebar-top');
|
131
|
+
}
|
132
|
+
});
|
133
|
+
|
134
|
+
$("[data-toggle=popover]")
|
135
|
+
.popover();
|
136
|
+
|
137
|
+
// Add slimscroll to element
|
138
|
+
$('.full-height-scroll').slimscroll({
|
139
|
+
height: '100%'
|
140
|
+
})
|
141
|
+
});
|
142
|
+
|
143
|
+
// Minimalize menu when screen is less than 768px
|
144
|
+
$(window).bind(" resize", function () {
|
145
|
+
if ($(this).width() < 769) {
|
146
|
+
$('body').addClass('body-small')
|
147
|
+
} else {
|
148
|
+
$('body').removeClass('body-small')
|
149
|
+
}
|
150
|
+
});
|
151
|
+
|
152
|
+
// Fixed Sidebar
|
153
|
+
$(window).bind("load", function () {
|
154
|
+
if ($("body").hasClass('fixed-sidebar')) {
|
155
|
+
$('.sidebar-collapse').slimScroll({
|
156
|
+
height: '100%',
|
157
|
+
railOpacity: 0.9
|
158
|
+
});
|
159
|
+
}
|
160
|
+
});
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
// Minimalize menu when screen is less than 768px
|
165
|
+
$(window).bind("load resize", function () {
|
166
|
+
if ($(this).width() < 769) {
|
167
|
+
$('body').addClass('body-small')
|
168
|
+
} else {
|
169
|
+
$('body').removeClass('body-small')
|
170
|
+
}
|
171
|
+
});
|
172
|
+
|
173
|
+
//Local Storage functions
|
174
|
+
//Set proper body class and plugins based on user configuration
|
175
|
+
$(document).ready(function () {
|
176
|
+
if (localStorageSupport()) {
|
177
|
+
|
178
|
+
var collapse = localStorage.getItem("collapse_menu");
|
179
|
+
var fixedsidebar = localStorage.getItem("fixedsidebar");
|
180
|
+
var fixednavbar = localStorage.getItem("fixednavbar");
|
181
|
+
var boxedlayout = localStorage.getItem("boxedlayout");
|
182
|
+
var fixedfooter = localStorage.getItem("fixedfooter");
|
183
|
+
|
184
|
+
var body = $('body');
|
185
|
+
|
186
|
+
if (fixedsidebar == 'on') {
|
187
|
+
body.addClass('fixed-sidebar');
|
188
|
+
$('.sidebar-collapse').slimScroll({
|
189
|
+
height: '100%',
|
190
|
+
railOpacity: 0.9
|
191
|
+
});
|
192
|
+
}
|
193
|
+
|
194
|
+
if (collapse == 'on') {
|
195
|
+
if (body.hasClass('fixed-sidebar')) {
|
196
|
+
if (!body.hasClass('body-small')) {
|
197
|
+
body.addClass('mini-navbar');
|
198
|
+
}
|
199
|
+
} else {
|
200
|
+
if (!body.hasClass('body-small')) {
|
201
|
+
body.addClass('mini-navbar');
|
202
|
+
}
|
203
|
+
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
if (fixednavbar == 'on') {
|
208
|
+
$(".navbar-static-top").removeClass('navbar-static-top').addClass('navbar-fixed-top');
|
209
|
+
body.addClass('fixed-nav');
|
210
|
+
}
|
211
|
+
|
212
|
+
if (boxedlayout == 'on') {
|
213
|
+
body.addClass('boxed-layout');
|
214
|
+
}
|
215
|
+
|
216
|
+
if (fixedfooter == 'on') {
|
217
|
+
$(".footer").addClass('fixed');
|
218
|
+
}
|
219
|
+
}
|
220
|
+
});
|
221
|
+
|
222
|
+
// check if browser support HTML5 local storage
|
223
|
+
function localStorageSupport() {
|
224
|
+
return (('localStorage' in window) && window['localStorage'] !== null)
|
225
|
+
}
|
226
|
+
|
227
|
+
// For demo purpose - animation css script
|
228
|
+
function animationHover(element, animation) {
|
229
|
+
element = $(element);
|
230
|
+
element.hover(
|
231
|
+
function () {
|
232
|
+
element.addClass('animated ' + animation);
|
233
|
+
},
|
234
|
+
function () {
|
235
|
+
//wait for animation to finish before removing classes
|
236
|
+
window.setTimeout(function () {
|
237
|
+
element.removeClass('animated ' + animation);
|
238
|
+
}, 2000);
|
239
|
+
});
|
240
|
+
}
|
241
|
+
|
242
|
+
function SmoothlyMenu() {
|
243
|
+
if (!$('body').hasClass('mini-navbar') || $('body').hasClass('body-small')) {
|
244
|
+
// Hide menu in order to smoothly turn on when maximize menu
|
245
|
+
$('#side-menu').hide();
|
246
|
+
// For smoothly turn on menu
|
247
|
+
setTimeout(
|
248
|
+
function () {
|
249
|
+
$('#side-menu').fadeIn(400);
|
250
|
+
}, 200);
|
251
|
+
} else if ($('body').hasClass('fixed-sidebar')) {
|
252
|
+
$('#side-menu').hide();
|
253
|
+
setTimeout(
|
254
|
+
function () {
|
255
|
+
$('#side-menu').fadeIn(400);
|
256
|
+
}, 100);
|
257
|
+
} else {
|
258
|
+
// Remove all inline style from jquery fadeIn function to reset menu state
|
259
|
+
$('#side-menu').removeAttr('style');
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
// Dragable panels
|
264
|
+
function WinMove() {
|
265
|
+
var element = "[class*=col]";
|
266
|
+
var handle = ".ibox-title";
|
267
|
+
var connect = "[class*=col]";
|
268
|
+
$(element).sortable(
|
269
|
+
{
|
270
|
+
handle: handle,
|
271
|
+
connectWith: connect,
|
272
|
+
tolerance: 'pointer',
|
273
|
+
forcePlaceholderSize: true,
|
274
|
+
opacity: 0.8
|
275
|
+
})
|
276
|
+
.disableSelection();
|
277
|
+
}
|
278
|
+
|
279
|
+
|
File without changes
|