Commit 7abd8452 authored by Recteur LP's avatar Recteur LP

add bootstrap-select

parent 6acef2ea
Pipeline #1355 passed with stages
in 9 minutes and 23 seconds
......@@ -53,6 +53,7 @@ module.exports = function(grunt) {
// Copy vendors
{expand: true, cwd: 'node_modules/admin-lte/plugins/', src: ['**'], dest: 'pyrmin/static/vendor/'},
{expand: true, cwd: 'node_modules/admin-lte/dist/', src: ['**'], dest: 'pyrmin/static/vendor/admin-lte/'},
{expand: true, cwd: 'node_modules/bootstrap-select/dist/', src: ['**'], dest: 'pyrmin/static/vendor/bootstrap-select/'},
],
},
},
......
......@@ -333,6 +333,11 @@
"popper.js": ">=1.10"
}
},
"bootstrap-select": {
"version": "1.13.12",
"resolved": "https://registry.npmjs.org/bootstrap-select/-/bootstrap-select-1.13.12.tgz",
"integrity": "sha512-epsPt6WpgmL9Q9Y22JFntajdhhqvCwV/JKiBZF3YFvMHK9YzzDPQft/Cjqvsgq0bhF32BlvG03Qs3qA/pVRAqQ=="
},
"bootstrap-slider": {
"version": "10.6.2",
"resolved": "https://registry.npmjs.org/bootstrap-slider/-/bootstrap-slider-10.6.2.tgz",
......
......@@ -15,6 +15,7 @@
},
"dependencies": {
"admin-lte": "^3.0.2",
"bootstrap-select": "^1.13.12",
"grunt-contrib-watch": "^1.1.0"
}
}
@font-face{font-family:Poppins-Regular;src:url(/vendor/poppins/Poppins-Regular.ttf)}@font-face{font-family:Poppins-Medium;src:url(/vendor/poppins/Poppins-Medium.ttf)}@font-face{font-family:Poppins-Bold;src:url(/vendor/poppins/Poppins-Bold.ttf)}@font-face{font-family:Poppins-SemiBold;src:url(/vendor/poppins/Poppins-SemiBold.ttf)}.navbar-nav>.user-menu>.dropdown-menu,.navbar-nav>.user-menu>.dropdown-menu>.user-body,.navbar-nav>.user-menu>.dropdown-menu>.user-body>.login-box-body{background:#222d32;border-color:#222d32}.dropdown-menu>.user-body a{background:#222d32}.navbar-nav>.user-menu>.dropdown-menu input:-webkit-autofill,.navbar-nav>.user-menu>.dropdown-menu>.user-body>.label_better{background-color:#222d32;-webkit-box-shadow:0 0 0 1000px #222d32 inset;-moz-box-shadow:0 0 0 1000px #222d32 inset;box-shadow:0 0 0 1000px #222d32 inset;-webkit-text-fill-color:#666}.navbar-nav>.user-menu>.dropdown-menu{width:360px}.user-panel{color:#c2c7d0}.main-footer{background:none repeat scroll 0 0 #18191a;color:#fff;font-weight:700;height:151px;border-top:none}.space_top{margin-top:20px}.slider{width:400px}.user-image{border-radius:50%;max-height:50px}.content-header>.header_tags{background:0 0;border-radius:2px;float:right;font-size:12px;margin-bottom:0;margin-top:0;padding:7px 5px;position:absolute;right:10px;top:15px}.content-header>.toolbar{background:0 0;border-radius:2px;float:right;font-size:12px;margin-bottom:0;margin-top:0;padding:7px 5px;position:absolute;right:10px;top:0}.scroll-top-wrapper{background-color:#222d32;border-bottom-left-radius:10px;border-bottom-right-radius:10px;border-top-left-radius:10px;border-top-right-radius:10px;bottom:78px;color:#eee;height:48px;line-height:45px;opacity:.7;overflow:hidden;padding-top:2px;position:fixed;right:40px;text-align:center;-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:hidden;width:50px;z-index:99999999}.scroll-top-wrapper:hover{opacity:1}.scroll-top-wrapper .show{cursor:pointer;visibility:visible!important}.scroll-top-wrapper .fa{line-height:inherit}.nav-second-level li,.nav-third-level li{border-bottom:none}.nav-second-level li a{padding:7px 10px 7px 10px;padding-left:52px}.nav-third-level li a{padding-left:62px}.nav-second-level li:last-child{margin-bottom:10px}.mini-navbar .nav li:focus>.nav-second-level,body:not(.fixed-sidebar).mini-navbar .nav li:hover>.nav-second-level{border-radius:0 2px 2px 0;display:block;height:auto;min-width:140px}body.mini-navbar .navbar-default .nav>li>.nav-second-level li a{border-radius:3px;font-size:12px}.fixed-nav .slimScrollDiv #side-menu{padding-bottom:60px}.mini-navbar .nav-second-level li a{padding:10px 10px 10px 15px}.mini-navbar .nav-second-level{background-color:#2f4050;font-size:12px;left:70px;padding:10px 10px 10px 10px;position:absolute;top:0}.mini-navbar li.active .nav-second-level{left:65px}body.mini-navbar .navbar-static-side{width:70px}body.mini-navbar .nav-label,body.mini-navbar .navbar-default .nav li a span,body.mini-navbar .profile-element{display:none}body:not(.fixed-sidebar).mini-navbar .nav-second-level{display:none}body.mini-navbar .navbar-default .nav>li>a{font-size:16px}body.mini-navbar .logo-element{display:block}body.mini-navbar .nav-header{background-color:#1ab394;padding:0}body.mini-navbar #page-wrapper{margin:0 0 0 70px}body.fixed-sidebar .mini-navbar .footer{margin:0}body.mini-navbar #page-wrapper{margin:0 0 0 70px}.fixed-sidebar .mini-navbar .nav li:focus>.nav-second-level{display:block;height:auto}body.fixed-sidebar.mini-navbar .navbar-default .nav>li>.nav-second-level li a{border-radius:3px;font-size:12px}.fixed-sidebar .mini-navbar .nav-second-level li a{padding:10px 10px 10px 15px}.fixed-sidebar .mini-navbar .nav-second-level{font-size:13px;padding:0;position:relative}.fixed-sidebar .mini-navbar li.active .nav-second-level{left:0}body.fixed-sidebar .mini-navbar .navbar-default .nav>li>a{font-size:13px}body.fixed-sidebar .mini-navbar .nav-label,body.fixed-sidebar .mini-navbar .navbar-default .nav li a span{display:inline}.fixed-sidebar .mini-navbar .nav-second-level li a{padding:7px 10px 7px 52px}.fixed-sidebar .mini-navbar .nav-second-level{left:0}.chosen-container-multi{width:200px!important}.input-sm{line-height:10px!important}.dataTables_length{float:left!important}.dataTables_filter{float:right!important}.dt-buttons{margin-right:30px}table.dataTable tr{cursor:pointer}.pace .pace-activity{right:50px!important}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:20px!important}.control-label{padding-top:3px}h1,h2,h3,h4,h5,h6{font-family:Poppins-Medium}input{outline:0;border:none}textarea{outline:0;border:none}input:focus,textarea:focus{border-color:transparent!important}input:focus::-webkit-input-placeholder{color:transparent}input:focus:-moz-placeholder{color:transparent}input:focus::-moz-placeholder{color:transparent}input:focus:-ms-input-placeholder{color:transparent}textarea:focus::-webkit-input-placeholder{color:transparent}textarea:focus:-moz-placeholder{color:transparent}textarea:focus::-moz-placeholder{color:transparent}textarea:focus:-ms-input-placeholder{color:transparent}input::-webkit-input-placeholder{color:#fff}input:-moz-placeholder{color:#fff}input::-moz-placeholder{color:#fff}input:-ms-input-placeholder{color:#fff}textarea::-webkit-input-placeholder{color:#fff}textarea:-moz-placeholder{color:#fff}textarea::-moz-placeholder{color:#fff}textarea:-ms-input-placeholder{color:#fff}label{margin:0;display:block}button{outline:0!important;border:none;background:0 0}button:hover{cursor:pointer}iframe{border:none!important}.login100-form{width:100%;font-family:Poppins-Regular}.wrap-input100{width:100%;position:relative;border-bottom:2px solid rgba(255,255,255,.24);margin-bottom:30px}.input100{font-family:Poppins-Regular;font-size:16px;color:#fff;line-height:1.2;display:block;width:100%;height:45px;background:0 0;padding:0 5px 0 38px}.focus-input100{position:absolute;display:block;width:100%;height:100%;top:0;left:0;pointer-events:none}.focus-input100::before{content:"";display:block;position:absolute;bottom:-2px;left:0;width:0;height:2px;-webkit-transition:all .4s;-o-transition:all .4s;-moz-transition:all .4s;transition:all .4s;background:#fff}.focus-input100::after{font-family:'Font Awesome 5 Free';font-size:22px;color:#fff;content:attr(data-placeholder);display:block;width:100%;position:absolute;top:6px;left:0;padding-left:5px;-webkit-transition:all .4s;-o-transition:all .4s;-moz-transition:all .4s;transition:all .4s}.input100:focus{padding-left:5px}.input100:focus+.focus-input100::after{top:-22px;font-size:18px}.input100:focus+.focus-input100::before{width:100%}.has-val.input100+.focus-input100::after{top:-22px;font-size:18px}.has-val.input100+.focus-input100::before{width:100%}.has-val.input100{padding-left:5px}.validate-input{position:relative}.alert-validate::before{content:attr(data-validate);position:absolute;max-width:70%;background-color:#fff;border:1px solid #c80000;border-radius:2px;padding:4px 25px 4px 10px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);right:0;pointer-events:none;font-family:Poppins-Regular;color:#c80000;font-size:13px;line-height:1.4;text-align:left;visibility:hidden;opacity:0;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-moz-transition:opacity .4s;transition:opacity .4s}.alert-validate::after{content:"\f12a";font-family:FontAwesome;font-size:16px;color:#c80000;display:block;position:absolute;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);right:5px}.alert-validate:hover:before{visibility:visible;opacity:1}@media (max-width:992px){.alert-validate::before{visibility:visible;opacity:1}}
\ No newline at end of file
@font-face{font-family:Poppins-Regular;src:url(/vendor/poppins/Poppins-Regular.ttf)}@font-face{font-family:Poppins-Medium;src:url(/vendor/poppins/Poppins-Medium.ttf)}@font-face{font-family:Poppins-Bold;src:url(/vendor/poppins/Poppins-Bold.ttf)}@font-face{font-family:Poppins-SemiBold;src:url(/vendor/poppins/Poppins-SemiBold.ttf)}.navbar-nav>.user-menu>.dropdown-menu,.navbar-nav>.user-menu>.dropdown-menu>.user-body,.navbar-nav>.user-menu>.dropdown-menu>.user-body>.login-box-body{background:#222d32;border-color:#222d32}.dropdown-menu>.user-body a{background:#222d32}.navbar-nav>.user-menu>.dropdown-menu input:-webkit-autofill,.navbar-nav>.user-menu>.dropdown-menu>.user-body>.label_better{background-color:#222d32;-webkit-box-shadow:0 0 0 1000px #222d32 inset;-moz-box-shadow:0 0 0 1000px #222d32 inset;box-shadow:0 0 0 1000px #222d32 inset;-webkit-text-fill-color:#666}.navbar-nav>.user-menu>.dropdown-menu{width:360px}.user-panel{color:#c2c7d0}.main-footer{background:none repeat scroll 0 0 #18191a;color:#fff;font-weight:700;height:151px;border-top:none}.space_top{margin-top:20px}.slider{width:400px}.user-image{border-radius:50%;max-height:50px}.content-header>.header_tags{background:0 0;border-radius:2px;float:right;font-size:12px;margin-bottom:0;margin-top:0;padding:7px 5px;position:absolute;right:10px;top:15px}.content-header>.toolbar{background:0 0;border-radius:2px;float:right;font-size:12px;margin-bottom:0;margin-top:0;padding:7px 5px;position:absolute;right:10px;top:0}.scroll-top-wrapper{background-color:#222d32;border-bottom-left-radius:10px;border-bottom-right-radius:10px;border-top-left-radius:10px;border-top-right-radius:10px;bottom:78px;color:#eee;height:48px;line-height:45px;opacity:.7;overflow:hidden;padding-top:2px;position:fixed;right:40px;text-align:center;-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;visibility:hidden;width:50px;z-index:99999999}.scroll-top-wrapper:hover{opacity:1}.scroll-top-wrapper .show{cursor:pointer;visibility:visible!important}.scroll-top-wrapper .fa{line-height:inherit}.nav-second-level li,.nav-third-level li{border-bottom:none}.nav-second-level li a{padding:7px 10px 7px 10px;padding-left:52px}.nav-third-level li a{padding-left:62px}.nav-second-level li:last-child{margin-bottom:10px}.mini-navbar .nav li:focus>.nav-second-level,body:not(.fixed-sidebar).mini-navbar .nav li:hover>.nav-second-level{border-radius:0 2px 2px 0;display:block;height:auto;min-width:140px}body.mini-navbar .navbar-default .nav>li>.nav-second-level li a{border-radius:3px;font-size:12px}.fixed-nav .slimScrollDiv #side-menu{padding-bottom:60px}.mini-navbar .nav-second-level li a{padding:10px 10px 10px 15px}.mini-navbar .nav-second-level{background-color:#2f4050;font-size:12px;left:70px;padding:10px 10px 10px 10px;position:absolute;top:0}.mini-navbar li.active .nav-second-level{left:65px}body.mini-navbar .navbar-static-side{width:70px}body.mini-navbar .nav-label,body.mini-navbar .navbar-default .nav li a span,body.mini-navbar .profile-element{display:none}body:not(.fixed-sidebar).mini-navbar .nav-second-level{display:none}body.mini-navbar .navbar-default .nav>li>a{font-size:16px}body.mini-navbar .logo-element{display:block}body.mini-navbar .nav-header{background-color:#1ab394;padding:0}body.mini-navbar #page-wrapper{margin:0 0 0 70px}body.fixed-sidebar .mini-navbar .footer{margin:0}body.mini-navbar #page-wrapper{margin:0 0 0 70px}.fixed-sidebar .mini-navbar .nav li:focus>.nav-second-level{display:block;height:auto}body.fixed-sidebar.mini-navbar .navbar-default .nav>li>.nav-second-level li a{border-radius:3px;font-size:12px}.fixed-sidebar .mini-navbar .nav-second-level li a{padding:10px 10px 10px 15px}.fixed-sidebar .mini-navbar .nav-second-level{font-size:13px;padding:0;position:relative}.fixed-sidebar .mini-navbar li.active .nav-second-level{left:0}body.fixed-sidebar .mini-navbar .navbar-default .nav>li>a{font-size:13px}body.fixed-sidebar .mini-navbar .nav-label,body.fixed-sidebar .mini-navbar .navbar-default .nav li a span{display:inline}.fixed-sidebar .mini-navbar .nav-second-level li a{padding:7px 10px 7px 52px}.fixed-sidebar .mini-navbar .nav-second-level{left:0}.chosen-container-multi{width:200px!important}.input-sm{line-height:10px!important}.dataTables_length{float:left!important;margin-bottom:20px}.dataTables_filter{float:right!important}.dt-buttons{margin-right:30px}table.dataTable tr{cursor:pointer}.pace .pace-activity{right:50px!important}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:20px!important}.control-label{padding-top:3px}h1,h2,h3,h4,h5,h6{font-family:Poppins-Medium}input{outline:0;border:none}textarea{outline:0;border:none}input:focus,textarea:focus{border-color:transparent!important}input:focus::-webkit-input-placeholder{color:transparent}input:focus:-moz-placeholder{color:transparent}input:focus::-moz-placeholder{color:transparent}input:focus:-ms-input-placeholder{color:transparent}textarea:focus::-webkit-input-placeholder{color:transparent}textarea:focus:-moz-placeholder{color:transparent}textarea:focus::-moz-placeholder{color:transparent}textarea:focus:-ms-input-placeholder{color:transparent}input::-webkit-input-placeholder{color:#fff}input:-moz-placeholder{color:#fff}input::-moz-placeholder{color:#fff}input:-ms-input-placeholder{color:#fff}textarea::-webkit-input-placeholder{color:#fff}textarea:-moz-placeholder{color:#fff}textarea::-moz-placeholder{color:#fff}textarea:-ms-input-placeholder{color:#fff}label{margin:0;display:block}button{outline:0!important;border:none;background:0 0}button:hover{cursor:pointer}iframe{border:none!important}.login100-form{width:100%;font-family:Poppins-Regular}.wrap-input100{width:100%;position:relative;border-bottom:2px solid rgba(255,255,255,.24);margin-bottom:30px}.input100{font-family:Poppins-Regular;font-size:16px;color:#fff;line-height:1.2;display:block;width:100%;height:45px;background:0 0;padding:0 5px 0 38px}.focus-input100{position:absolute;display:block;width:100%;height:100%;top:0;left:0;pointer-events:none}.focus-input100::before{content:"";display:block;position:absolute;bottom:-2px;left:0;width:0;height:2px;-webkit-transition:all .4s;-o-transition:all .4s;-moz-transition:all .4s;transition:all .4s;background:#fff}.focus-input100::after{font-family:'Font Awesome 5 Free';font-size:22px;color:#fff;content:attr(data-placeholder);display:block;width:100%;position:absolute;top:6px;left:0;padding-left:5px;-webkit-transition:all .4s;-o-transition:all .4s;-moz-transition:all .4s;transition:all .4s}.input100:focus{padding-left:5px}.input100:focus+.focus-input100::after{top:-22px;font-size:18px}.input100:focus+.focus-input100::before{width:100%}.has-val.input100+.focus-input100::after{top:-22px;font-size:18px}.has-val.input100+.focus-input100::before{width:100%}.has-val.input100{padding-left:5px}.validate-input{position:relative}.alert-validate::before{content:attr(data-validate);position:absolute;max-width:70%;background-color:#fff;border:1px solid #c80000;border-radius:2px;padding:4px 25px 4px 10px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);right:0;pointer-events:none;font-family:Poppins-Regular;color:#c80000;font-size:13px;line-height:1.4;text-align:left;visibility:hidden;opacity:0;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-moz-transition:opacity .4s;transition:opacity .4s}.alert-validate::after{content:"\f12a";font-family:FontAwesome;font-size:16px;color:#c80000;display:block;position:absolute;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);right:5px}.alert-validate:hover:before{visibility:visible;opacity:1}@media (max-width:992px){.alert-validate::before{visibility:visible;opacity:1}}
\ No newline at end of file
/*! PyRmin.js 0.4.0 */
PNotify.prototype.options.styling="fontawesome",PNotify.prototype.options.styling="bootstrap3";var stack_bottomright={dir1:"up",dir2:"left",firstpos1:25,firstpos2:25};function scrollToTop(){verticalOffset="undefined"!=typeof verticalOffset?verticalOffset:0,element=$("body"),offset=element.offset(),offsetTop=offset.top,$("html, body").animate({scrollTop:offsetTop},500,"linear"),$(".modal").each(function(){$(this).is(":visible")&&(offset=$(this).offset(),offsetTop=offset.top,$(this).animate({scrollTop:offsetTop},500,"linear"))})}function get_data(t,r,o){o=void 0!==o?o:{},Pace.track(function(){$.ajax({url:t,type:"GET",data:o,success:function(t,o){return 0!==t.status?(pyrmin().notify("error","API Error",t.error),!1):void 0!==r&&(r(t),!0)},error:function(t,o,e){pyrmin().notify("error",t.status,e),r(rep)}})})}function post_data(t,e,o){o=void 0!==o?o:{},Pace.track(function(){$.ajax({url:t,type:"POST",data:o,success:function(t,o){return 0!==t.status?(pyrmin().notify("error",t.status+" API Error",t.error),!1):void 0!==e&&(e(t),!0)},error:function(t,o,e){return pyrmin().notify("error",t.status,e),!1}})})}function load_data(t,o,e){return Pace.start(),(e=void 0!==e?e:{}).method=o,data=JSON.parse($.ajax({url:t,type:"POST",async:!1,data:e,success:function(t,o){return 0!==t.status&&pyrmin().notify("error",t.status+" API Error",t.error),!0},error:function(t,o){return pyrmin().notify("error",o+" HTTP error",t.error),!1}}).responseText),Pace.stop(),data}function load_data2(t,o){return Pace.start(),o=void 0!==o?o:{},data=$.ajax({url:t,type:"POST",async:!1,data:o,success:function(t,o){return 0!==t.status&&pyrmin().notify("error",t.status+" API Error",t.error),!0},error:function(t,o){return pyrmin().notify("error",o+" HTTP error",t.error),!1}}).responseText,Pace.stop(),JSON.parse(data)}function load_async_data(t,o,e,r){try{(r=void 0!==r?r:{}).method=o,Pace.track(function(){$.ajax({url:t,type:"POST",data:r,success:function(t,o){return 0!==t.status?(notify("error","API Error",t.error),!1):void 0!==e&&(e(t),!0)},error:function(t,o){return pyrmin().notify("error",o+" HTTP error",t.error),!1}})})}catch(t){console.log(t)}}function global_search_callback(o,t){0===o.status?(o.js&&pyrmin().load_res(o.js.src),msg="Found "+o.search.length+" results",msg+='<table class="table table-striped">',$.each(o.search,function(t){msg+=o.search[t]}),msg+="</table>",$("#searchmodal .modal-body").html(msg),$("#searchmodal").modal("show")):console.log(o)}pyrmin=function(t){return t?window===this?new pyrmin(t):(this.e=$(t),this):window===this?new pyrmin:this},pyrmin.constructor=pyrmin,pyrmin.prototype.url="https://pyrmin.io",pyrmin.prototype.version=function(t){if(!t)return"0.4.0";$.ajax({url:pyrmin().url+"/download/",datatype:"jsonp",jsonpCallback:"versionCallback",cache:!0,data:{version:t},success:function(t,o){0===t.status?$("#checkversion").html('<i class="fa fa-check-circle text-success" title="Last version installed"></i>'):$("#checkversion").html('<i class="fa fa-exclamation-triangle text-danger" data-toggle="tooltip" title="Latest version available is: '+t.latest+'"></i>')}})},pyrmin_vendors={colorpicker:["/vendor/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js","/vendor/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css"],datatables:["/vendor/datatables/jquery.dataTables.min.js","/vendor/datatables/datatables.min.css"],nunjucks:["/vendor/nunjucks/nunjucks.min.js"],momentjs:["/vendor/moment/moment.min.js"],odometer:["/vendor/odometer/odometer.min.js","/vendor/odometer/odometer-theme-default.css"],fileinput:["/vendor/boostrap-fileinput/css/fileinput.min.css","/vendor/boostrap-fileinput/js/fileinput.min.js","/vendor/boostrap-fileinput/js/theme.min.js"],chartjs:["/vendor/chart.js/Chart.min.js","/vendor/chart.js/Chart.min.css"],steps:["/vendor/jquery.steps/jquery.steps.min.js","/vendor/jquery.validate/jquery.validate.min.js","/vendor/jquery.steps/jquery.steps.css"],icheck:["/vendor/iCheck/icheck.min.js","/vendor/iCheck/all.css"],chosen:["/vendor/chosen/chosen.jquery.min.js","/vendor/chosen/chosen.min.css"],swal:["/vendor/sweetalert2/sweetalert2.min.js","/vendor/sweetalert2/sweetalert2.min.css","/vendor/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css"],semantic:["/vendor/semantic/semantic.min.js","/vendor/semantic/semantic.min.css"],select:["/vendor/bootstrap-select/js/bootstrap-select.min.js","/vendor/bootstrap-select/css/bootstrap-select.min.css"],select2:["/vendor/select2/js/select2.min.js","/vendor/select2/css/select2.min.css","/vendor/select2-bootstrap4-theme/select2-bootstrap4.min.css"]},pyrmin.prototype.add_vendor=function(t){Array.isArray(t)?$.each(t,function(t,o){$.each(pyrmin_vendors[o],function(t,o){pyrmin().load_res(o)})}):_.notify("warning","addvendor error","method addvendor need an array as parameter")},pyrmin.prototype.notify=function(t,o,e,r){r=void 0===r||r,new PNotify({title:o,text:e,type:t,hide:r,addclass:"stack-bottomright",stack:stack_bottomright,nonblock:{nonblock:!1,nonblock_opacity:.2},buttons:{show_on_nonblock:!0}})},pyrmin.prototype.modal=function(t){modal='<div class="modal fade" id="'+t+'" tabindex="-1" role="dialog"><div class="modal-dialog modal-lg"><div class="modal-content"><div class="modal-header" style="border-bottom: 0px !important;"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title"></h4></div><div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button></div></div>\x3c!-- /.modal-content --\x3e</div>\x3c!-- /.modal-dialog --\x3e</div>\x3c!-- /.modal --\x3e',0===$("#"+t).length||$("#"+t).remove(),$("div#mainwrapper").append(modal),$("#"+t).on("scroll",function(){100<$("#"+t).scrollTop()?$(".scroll-top-wrapper").addClass("show"):$(".scroll-top-wrapper").removeClass("show")})},pyrmin.prototype.switchModals=function(o,e){0===$(o).length||"none"===$(o).css("display")?$(e).modal("show"):($(o).on("hidden.bs.modal",function(t){$(e).modal("show"),$(o).off()}),$(o).modal("hide"))},pyrmin.prototype.confirm=function(t,o,e,r,s,n,a){r=void 0!==r?r:function(t){},n=void 0!==n?n:function(t){},e=void 0!==e?e:"fa fa-question",new PNotify({title:t,text:o,icon:e,addclass:"stack-bottomright",stack:stack_bottomright,hide:!1,confirm:{confirm:!0,buttons:[{text:"Yes",addClass:"btn-flat btn-xs",click:function(t){r(s),t.remove()}},{text:"No",addClass:"btn-flat btn-xs",click:function(t){n(a),t.remove()}}]},buttons:{closer:!1,sticker:!1},history:{history:!1}})},pyrmin.prototype.load_res=function(t){-1!==t.indexOf(".css")?$("head").append("<link rel='stylesheet' type='text/css' href='"+t+"'>"):-1!==t.indexOf(".js")&&$("body").append("<script type='text/javascript' src='"+t+"'><\/script>")},pyrmin.prototype.get=function(t){return Pace.start(),JSON.parse($.ajax({url:t,type:"GET",async:!1,success:function(t,o){return 0!==t.status?(pyrmin().notify("error","API Error",t.error),Pace.stop(),!1):(Pace.stop(),!0)},error:function(t,o,e){return pyrmin().notify("error",t.status,e),Pace.stop(),!1}}).responseText)},$(function(){$(".modal").on("shown.bs.modal",function(t){$(t.target).on("scroll",function(){100<$(t.target).scrollTop()?$(".scroll-top-wrapper").addClass("show"):$(".scroll-top-wrapper").removeClass("show")})}),$(document).on("scroll",function(){100<$(window).scrollTop()?$(".scroll-top-wrapper").addClass("show"):$(".scroll-top-wrapper").removeClass("show")}),$(".scroll-top-wrapper").on("click",scrollToTop)}),$(document).ready(function(){$("#loading_fade").removeClass("modal-backdrop fade in"),$('[data-toggle="tooltip"]').tooltip(),pyrmin().version(pyrmin().version()),$("#searchform").submit(function(t){t.preventDefault(),plugins=$("#searchform_plugins").val().split(","),$.each(plugins,function(t){post_data("/rest/"+plugins[t]+"/search/",global_search_callback,{query:$("#searchform_q").val()})})})});
PNotify.prototype.options.styling="fontawesome",PNotify.prototype.options.styling="bootstrap3";var stack_bottomright={dir1:"up",dir2:"left",firstpos1:25,firstpos2:25};function scrollToTop(){verticalOffset="undefined"!=typeof verticalOffset?verticalOffset:0,element=$("body"),offset=element.offset(),offsetTop=offset.top,$("html, body").animate({scrollTop:offsetTop},500,"linear"),$(".modal").each(function(){$(this).is(":visible")&&(offset=$(this).offset(),offsetTop=offset.top,$(this).animate({scrollTop:offsetTop},500,"linear"))})}function get_data(t,s,o){o=void 0!==o?o:{},Pace.track(function(){$.ajax({url:t,type:"GET",data:o,success:function(t,o){return 0!==t.status?(pyrmin().notify("error","API Error",t.error),!1):void 0!==s&&(s(t),!0)},error:function(t,o,e){pyrmin().notify("error",t.status,e),s(rep)}})})}function post_data(t,e,o){o=void 0!==o?o:{},Pace.track(function(){$.ajax({url:t,type:"POST",data:o,success:function(t,o){return 0!==t.status?(pyrmin().notify("error",t.status+" API Error",t.error),!1):void 0!==e&&(e(t),!0)},error:function(t,o,e){return pyrmin().notify("error",t.status,e),!1}})})}function load_data(t,o,e){return Pace.start(),(e=void 0!==e?e:{}).method=o,data=JSON.parse($.ajax({url:t,type:"POST",async:!1,data:e,success:function(t,o){return 0!==t.status&&pyrmin().notify("error",t.status+" API Error",t.error),!0},error:function(t,o){return pyrmin().notify("error",o+" HTTP error",t.error),!1}}).responseText),Pace.stop(),data}function load_data2(t,o){return Pace.start(),o=void 0!==o?o:{},data=$.ajax({url:t,type:"POST",async:!1,data:o,success:function(t,o){return 0!==t.status&&pyrmin().notify("error",t.status+" API Error",t.error),!0},error:function(t,o){return pyrmin().notify("error",o+" HTTP error",t.error),!1}}).responseText,Pace.stop(),JSON.parse(data)}function load_async_data(t,o,e,s){try{(s=void 0!==s?s:{}).method=o,Pace.track(function(){$.ajax({url:t,type:"POST",data:s,success:function(t,o){return 0!==t.status?(notify("error","API Error",t.error),!1):void 0!==e&&(e(t),!0)},error:function(t,o){return pyrmin().notify("error",o+" HTTP error",t.error),!1}})})}catch(t){console.log(t)}}function global_search_callback(o,t){0===o.status?(o.js&&pyrmin().load_res(o.js.src),msg="Found "+o.search.length+" results",msg+='<table class="table table-striped">',$.each(o.search,function(t){msg+=o.search[t]}),msg+="</table>",$("#searchmodal .modal-body").html(msg),$("#searchmodal").modal("show")):console.log(o)}pyrmin=function(t){return t?window===this?new pyrmin(t):(this.e=$(t),this):window===this?new pyrmin:this},pyrmin.constructor=pyrmin,pyrmin.prototype.url="https://pyrmin.io",pyrmin.prototype.version=function(t){if(!t)return"0.4.0";$.ajax({url:pyrmin().url+"/download/",datatype:"jsonp",jsonpCallback:"versionCallback",cache:!0,data:{version:t},success:function(t,o){0===t.status?$("#checkversion").html('<i class="fa fa-check-circle text-success" title="Last version installed"></i>'):$("#checkversion").html('<i class="fa fa-exclamation-triangle text-danger" data-toggle="tooltip" title="Latest version available is: '+t.latest+'"></i>')}})},pyrmin_vendors={colorpicker:["/vendor/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js","/vendor/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css"],datatables:["/vendor/datatables/jquery.dataTables.min.js","/vendor/datatables-bs4/js/dataTables.bootstrap4.min.js","/vendor/datatables-bs4/css/dataTables.bootstrap4.min.css","/vendor/datatables-select/css/select.bootstrap4.min.css","/vendor/datatables-select/js/dataTables.select.min.js","/vendor/datatables-select/js/select.bootstrap4.min.js","/vendor/datatables-responsive/css/responsive.bootstrap4.min.css","/vendor/datatables-responsive/js/dataTables.responsive.min.js","/vendor/datatables-responsive/js/responsive.bootstrap4.min.js"],nunjucks:["/vendor/nunjucks/nunjucks.min.js"],momentjs:["/vendor/moment/moment.min.js"],odometer:["/vendor/odometer/odometer.min.js","/vendor/odometer/odometer-theme-default.css"],fileinput:["/vendor/boostrap-fileinput/css/fileinput.min.css","/vendor/boostrap-fileinput/js/fileinput.min.js","/vendor/boostrap-fileinput/js/theme.min.js"],chartjs:["/vendor/chart.js/Chart.min.js","/vendor/chart.js/Chart.min.css"],steps:["/vendor/jquery.steps/jquery.steps.min.js","/vendor/jquery.validate/jquery.validate.min.js","/vendor/jquery.steps/jquery.steps.css"],icheck:["/vendor/iCheck/icheck.min.js","/vendor/iCheck/all.css"],chosen:["/vendor/chosen/chosen.jquery.min.js","/vendor/chosen/chosen.min.css"],swal:["/vendor/sweetalert2/sweetalert2.min.js","/vendor/sweetalert2/sweetalert2.min.css","/vendor/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css"],semantic:["/vendor/semantic/semantic.min.js","/vendor/semantic/semantic.min.css"],select:["/vendor/bootstrap-select/js/bootstrap-select.min.js","/vendor/bootstrap-select/css/bootstrap-select.min.css"],select2:["/vendor/select2/js/select2.full.min.js","/vendor/select2/css/select2.min.css","/vendor/select2-bootstrap4-theme/select2-bootstrap4.min.css"]},pyrmin.prototype.add_vendor=function(t){Array.isArray(t)?$.each(t,function(t,o){$.each(pyrmin_vendors[o],function(t,o){pyrmin().load_res(o)})}):_.notify("warning","addvendor error","method addvendor need an array as parameter")},pyrmin.prototype.notify=function(t,o,e,s){s=void 0===s||s,new PNotify({title:o,text:e,type:t,hide:s,addclass:"stack-bottomright",stack:stack_bottomright,nonblock:{nonblock:!1,nonblock_opacity:.2},buttons:{show_on_nonblock:!0}})},pyrmin.prototype.modal=function(t){modal='<div class="modal fade" id="'+t+'" tabindex="-1" role="dialog"><div class="modal-dialog modal-lg"><div class="modal-content"><div class="modal-header" style="border-bottom: 0px !important;"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title"></h4></div><div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button></div></div>\x3c!-- /.modal-content --\x3e</div>\x3c!-- /.modal-dialog --\x3e</div>\x3c!-- /.modal --\x3e',0===$("#"+t).length||$("#"+t).remove(),$("div#mainwrapper").append(modal),$("#"+t).on("scroll",function(){100<$("#"+t).scrollTop()?$(".scroll-top-wrapper").addClass("show"):$(".scroll-top-wrapper").removeClass("show")})},pyrmin.prototype.switchModals=function(o,e){0===$(o).length||"none"===$(o).css("display")?$(e).modal("show"):($(o).on("hidden.bs.modal",function(t){$(e).modal("show"),$(o).off()}),$(o).modal("hide"))},pyrmin.prototype.confirm=function(t,o,e,s,r,n,a){s=void 0!==s?s:function(t){},n=void 0!==n?n:function(t){},e=void 0!==e?e:"fa fa-question",new PNotify({title:t,text:o,icon:e,addclass:"stack-bottomright",stack:stack_bottomright,hide:!1,confirm:{confirm:!0,buttons:[{text:"Yes",addClass:"btn-flat btn-xs",click:function(t){s(r),t.remove()}},{text:"No",addClass:"btn-flat btn-xs",click:function(t){n(a),t.remove()}}]},buttons:{closer:!1,sticker:!1},history:{history:!1}})},pyrmin.prototype.load_res=function(t){-1!==t.indexOf(".css")?$("head").append("<link rel='stylesheet' type='text/css' href='"+t+"'>"):-1!==t.indexOf(".js")&&$("body").append("<script type='text/javascript' src='"+t+"'><\/script>")},pyrmin.prototype.get=function(t){return Pace.start(),JSON.parse($.ajax({url:t,type:"GET",async:!1,success:function(t,o){return 0!==t.status?(pyrmin().notify("error","API Error",t.error),Pace.stop(),!1):(Pace.stop(),!0)},error:function(t,o,e){return pyrmin().notify("error",t.status,e),Pace.stop(),!1}}).responseText)},$(function(){$(".modal").on("shown.bs.modal",function(t){$(t.target).on("scroll",function(){100<$(t.target).scrollTop()?$(".scroll-top-wrapper").addClass("show"):$(".scroll-top-wrapper").removeClass("show")})}),$(document).on("scroll",function(){100<$(window).scrollTop()?$(".scroll-top-wrapper").addClass("show"):$(".scroll-top-wrapper").removeClass("show")}),$(".scroll-top-wrapper").on("click",scrollToTop)}),$(document).ready(function(){$("#loading_fade").removeClass("modal-backdrop fade in"),$('[data-toggle="tooltip"]').tooltip(),pyrmin().version(pyrmin().version()),$("#searchform").submit(function(t){t.preventDefault(),plugins=$("#searchform_plugins").val().split(","),$.each(plugins,function(t){post_data("/rest/"+plugins[t]+"/search/",global_search_callback,{query:$("#searchform_q").val()})})})});
//# sourceMappingURL=pyrmin.min.js.map
\ No newline at end of file
{"version":3,"sources":["../../../src/js/pyrmin.js"],"names":["PNotify","prototype","options","styling","stack_bottomright","dir1","dir2","firstpos1","firstpos2","scrollToTop","verticalOffset","element","$","offset","offsetTop","top","animate","scrollTop","each","this","is","get_data","url","callback","params","Pace","track","ajax","type","data","success","rep","status","pyrmin","notify","error","jq","message","post_data","load_data","method","start","JSON","parse","async","responseText","stop","load_data2","load_async_data","err","console","log","global_search_callback","js","load_res","src","msg","search","length","row","html","modal","id","window","e","constructor","version","datatype","jsonpCallback","cache","latest","pyrmin_vendors","colorpicker","datatables","nunjucks","momentjs","odometer","fileinput","chartjs","steps","icheck","chosen","swal","semantic","select","select2","add_vendor","vendors","Array","isArray","index","vendor","file","_","level","title","hide","text","addclass","stack","nonblock","nonblock_opacity","buttons","show_on_nonblock","remove","append","on","addClass","removeClass","switchModals","fromModal","toModal","css","off","confirm","icon","ok_function","ok_args","nok_function","nok_args","click","notice","closer","sticker","history","href","indexOf","get","target","document","ready","tooltip","submit","preventDefault","plugins","val","split","query"],"mappings":";AAEAA,QAAQC,UAAUC,QAAQC,QAAU,cACpCH,QAAQC,UAAUC,QAAQC,QAAU,aACpC,IAAIC,kBAAoB,CAACC,KAAQ,KAAMC,KAAQ,OAAQC,UAAa,GAAIC,UAAa,IAkUrF,SAASC,cACLC,eAA4C,oBAArB,eAAmCA,eAAiB,EAC3EC,QAAUC,EAAE,QACZC,OAASF,QAAQE,SACjBC,UAAYD,OAAOE,IACnBH,EAAE,cAAcI,QAAQ,CAACC,UAAWH,WAAY,IAAK,UAErDF,EAAE,UAAUM,KAAK,WACRN,EAAEO,MAAMC,GAAG,cACZP,OAASD,EAAEO,MAAMN,SACjBC,UAAYD,OAAOE,IACnBH,EAAEO,MAAMH,QAAQ,CAACC,UAAWH,WAAY,IAAK,aAKzD,SAASO,SAASC,EAAKC,EAAUC,GAC7BA,OAA2B,IAAXA,EAAyBA,EAAS,GAClDC,KAAKC,MAAM,WACPd,EAAEe,KAAK,CACLL,IAAKA,EACLM,KAAM,MACNC,KAAML,EACNM,QAAU,SAASC,EAAKC,GAClB,OAAkB,IAAfD,EAAIC,QACHC,SAASC,OAAO,QAAS,YAAaH,EAAII,QACnC,QAEiB,IAAbZ,IACXA,EAASQ,IACF,IAKfI,MAAO,SAASC,EAAGJ,EAAOK,GACtBJ,SAASC,OAAO,QAASE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gB,QACEC,KAAKC,MAAM/B,EAAEe,KAAK,CACjBL,IAAKA,EACLM,KAAM,MACNgB,OAAO,EACPd,QAAU,SAASC,EAAKC,GACpB,OAAkB,IAAfD,EAAIC,QACHC,SAASC,OAAO,QAAS,YAAaH,EAAII,OAC1CV,KAAKqB,QACE,IAEPrB,KAAKqB,QACE,IAGfX,MAAO,SAASC,EAAIJ,EAAQK,GAGxB,OAFAJ,SAASC,OAAO,QAASE,EAAGJ,OAAQK,GACpCZ,KAAKqB,QACE,KAEZD,eAGXjC,EAAE,WAEEA,EAAE,UAAU8F,GAAG,iBAAkB,SAAS1C,GACtCpD,EAAEoD,EAAEgE,QAAQtB,GAAG,SAAU,WACS,IAA1B9F,EAAEoD,EAAEgE,QAAQ/G,YACZL,EAAE,uBAAuB+F,SAAS,QAElC/F,EAAE,uBAAuBgG,YAAY,YAKjDhG,EAAEqH,UAAUvB,GAAG,SAAU,WAEO,IAAxB9F,EAAEmD,QAAQ9C,YACVL,EAAE,uBAAuB+F,SAAS,QAElC/F,EAAE,uBAAuBgG,YAAY,UAI7ChG,EAAE,uBAAuB8F,GAAG,QAASjG,eA0LzCG,EAAEqH,UAAUC,MAAM,WACdtH,EAAE,iBAAiBgG,YAAY,0BAC/BhG,EAAE,2BAA2BuH,UAC7BlG,SAASiC,QAAQjC,SAASiC,WAC1BtD,EAAE,eAAewH,OAAO,SAASpE,GAC7BA,EAAEqE,iBACFC,QAAU1H,EAAE,uBAAuB2H,MAAMC,MAAM,KAC/C5H,EAAEM,KAAKoH,QAAS,SAAS3E,GACrBrB,UAAU,SAAWgG,QAAQ3E,GAAO,WAAaP,uBAAwB,CAACqF,MAAS7H,EAAE,iBAAiB2H","file":"pyrmin.min.js"}
\ No newline at end of file
{"version":3,"sources":["../../../src/js/pyrmin.js"],"names":["PNotify","prototype","options","styling","stack_bottomright","dir1","dir2","firstpos1","firstpos2","scrollToTop","verticalOffset","element","$","offset","offsetTop","top","animate","scrollTop","each","this","is","get_data","url","callback","params","Pace","track","ajax","type","data","success","rep","status","pyrmin","notify","error","jq","message","post_data","load_data","method","start","JSON","parse","async","responseText","stop","load_data2","load_async_data","err","console","log","global_search_callback","js","load_res","src","msg","search","length","row","html","modal","id","window","e","constructor","version","datatype","jsonpCallback","cache","latest","pyrmin_vendors","colorpicker","datatables","nunjucks","momentjs","odometer","fileinput","chartjs","steps","icheck","chosen","swal","semantic","select","select2","add_vendor","vendors","Array","isArray","index","vendor","file","_","level","title","hide","text","addclass","stack","nonblock","nonblock_opacity","buttons","show_on_nonblock","remove","append","on","addClass","removeClass","switchModals","fromModal","toModal","css","off","confirm","icon","ok_function","ok_args","nok_function","nok_args","click","notice","closer","sticker","history","href","indexOf","get","target","document","ready","tooltip","submit","preventDefault","plugins","val","split","query"],"mappings":";AAEAA,QAAQC,UAAUC,QAAQC,QAAU,cACpCH,QAAQC,UAAUC,QAAQC,QAAU,aACpC,IAAIC,kBAAoB,CAACC,KAAQ,KAAMC,KAAQ,OAAQC,UAAa,GAAIC,UAAa,IA4UrF,SAASC,cACLC,eAA4C,oBAArB,eAAmCA,eAAiB,EAC3EC,QAAUC,EAAE,QACZC,OAASF,QAAQE,SACjBC,UAAYD,OAAOE,IACnBH,EAAE,cAAcI,QAAQ,CAACC,UAAWH,WAAY,IAAK,UAErDF,EAAE,UAAUM,KAAK,WACRN,EAAEO,MAAMC,GAAG,cACZP,OAASD,EAAEO,MAAMN,SACjBC,UAAYD,OAAOE,IACnBH,EAAEO,MAAMH,QAAQ,CAACC,UAAWH,WAAY,IAAK,aAKzD,SAASO,SAASC,EAAKC,EAAUC,GAC7BA,OAA2B,IAAXA,EAAyBA,EAAS,GAClDC,KAAKC,MAAM,WACPd,EAAEe,KAAK,CACLL,IAAKA,EACLM,KAAM,MACNC,KAAML,EACNM,QAAU,SAASC,EAAKC,GAClB,OAAkB,IAAfD,EAAIC,QACHC,SAASC,OAAO,QAAS,YAAaH,EAAII,QACnC,QAEiB,IAAbZ,IACXA,EAASQ,IACF,IAK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copyright 2013-2014 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
/*!
* Bootstrap-select v1.13.12 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2019 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
@-webkit-keyframes bs-notify-fadeOut {
0% {
opacity: 0.9;
}
100% {
opacity: 0;
}
}
@-o-keyframes bs-notify-fadeOut {
0% {
opacity: 0.9;
}
100% {
opacity: 0;
}
}
@keyframes bs-notify-fadeOut {
0% {
opacity: 0.9;
}
100% {
opacity: 0;
}
}
select.bs-select-hidden,
.bootstrap-select > select.bs-select-hidden,
select.selectpicker {
display: none !important;
}
.bootstrap-select {
/*width: 220px\9; IE8 and below*/
width: 220px \0;
/*IE9 and below*/
vertical-align: middle;
}
.bootstrap-select > .btn {
.bootstrap-select > .dropdown-toggle {
position: relative;
width: 100%;
padding-right: 25px;
text-align: right;
white-space: nowrap;
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.bootstrap-select > .dropdown-toggle:after {
margin-top: -1px;
}
.error .bootstrap-select .btn {
border: 1px solid #b94a48;
.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active {
color: #999;
}
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:active {
color: rgba(255, 255, 255, 0.5);
}
.bootstrap-select > select {
position: absolute !important;
bottom: 0;
left: 50%;
display: block !important;
width: 0.5px !important;
height: 100% !important;
padding: 0 !important;
opacity: 0 !important;
border: none;
z-index: 0 !important;
}
.bootstrap-select > select.mobile-device {
top: 0;
left: 0;
display: block !important;
width: 100% !important;
z-index: 2 !important;
}
.control-group.error .bootstrap-select .dropdown-toggle {
.has-error .bootstrap-select .dropdown-toggle,
.error .bootstrap-select .dropdown-toggle,
.bootstrap-select.is-invalid .dropdown-toggle,
.was-validated .bootstrap-select select:invalid + .dropdown-toggle {
border-color: #b94a48;
}
.bootstrap-select.is-valid .dropdown-toggle,
.was-validated .bootstrap-select select:valid + .dropdown-toggle {
border-color: #28a745;
}
.bootstrap-select.fit-width {
width: auto !important;
}
.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
width: 220px;
}
.bootstrap-select .btn:focus {
.bootstrap-select > select.mobile-device:focus + .dropdown-toggle,
.bootstrap-select .dropdown-toggle:focus {
outline: thin dotted #333333 !important;
outline: 5px auto -webkit-focus-ring-color !important;
outline-offset: -2px;
......@@ -35,71 +137,140 @@
margin-bottom: 0;
padding: 0;
border: none;
height: auto;
}
.bootstrap-select.form-control:not([class*="col-"]) {
:not(.input-group) > .bootstrap-select.form-control:not([class*="col-"]) {
width: 100%;
}
.bootstrap-select.btn-group:not(.input-group-btn),
.bootstrap-select.btn-group[class*="col-"] {
.bootstrap-select.form-control.input-group-btn {
float: none;
z-index: auto;
}
.form-inline .bootstrap-select,
.form-inline .bootstrap-select.form-control:not([class*="col-"]) {
width: auto;
}
.bootstrap-select:not(.input-group-btn),
.bootstrap-select[class*="col-"] {
float: none;
display: inline-block;
margin-left: 0;
}
.bootstrap-select.btn-group.dropdown-menu-right,
.bootstrap-select.btn-group[class*="col-"].dropdown-menu-right,
.row-fluid .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right {
.bootstrap-select.dropdown-menu-right,
.bootstrap-select[class*="col-"].dropdown-menu-right,
.row .bootstrap-select[class*="col-"].dropdown-menu-right {
float: right;
}
.form-search .bootstrap-select.btn-group,
.form-inline .bootstrap-select.btn-group,
.form-horizontal .bootstrap-select.btn-group,
.form-group .bootstrap-select.btn-group {
.form-inline .bootstrap-select,
.form-horizontal .bootstrap-select,
.form-group .bootstrap-select {
margin-bottom: 0;
}
.form-group-lg .bootstrap-select.btn-group.form-control,
.form-group-sm .bootstrap-select.btn-group.form-control {
.form-group-lg .bootstrap-select.form-control,
.form-group-sm .bootstrap-select.form-control {
padding: 0;
}
.form-inline .bootstrap-select.btn-group .form-control {
width: 100%;
.form-group-lg .bootstrap-select.form-control .dropdown-toggle,
.form-group-sm .bootstrap-select.form-control .dropdown-toggle {
height: 100%;
font-size: inherit;
line-height: inherit;
border-radius: inherit;
}
.input-append .bootstrap-select.btn-group {
margin-left: -1px;
.bootstrap-select.form-control-sm .dropdown-toggle,
.bootstrap-select.form-control-lg .dropdown-toggle {
font-size: inherit;
line-height: inherit;
border-radius: inherit;
}
.input-prepend .bootstrap-select.btn-group {
margin-right: -1px;
.bootstrap-select.form-control-sm .dropdown-toggle {
padding: 0.25rem 0.5rem;
}
.bootstrap-select.btn-group > .disabled {
.bootstrap-select.form-control-lg .dropdown-toggle {
padding: 0.5rem 1rem;
}
.form-inline .bootstrap-select .form-control {
width: 100%;
}
.bootstrap-select.disabled,
.bootstrap-select > .disabled {
cursor: not-allowed;
}
.bootstrap-select.btn-group > .disabled:focus {
.bootstrap-select.disabled:focus,
.bootstrap-select > .disabled:focus {
outline: none !important;
}
.bootstrap-select.btn-group .btn .filter-option {
display: inline-block;
overflow: hidden;
.bootstrap-select.bs-container {
position: absolute;
top: 0;
left: 0;
height: 0 !important;
padding: 0 !important;
}
.bootstrap-select.bs-container .dropdown-menu {
z-index: 1060;
}
.bootstrap-select .dropdown-toggle .filter-option {
position: static;
top: 0;
left: 0;
float: left;
height: 100%;
width: 100%;
text-align: left;
overflow: hidden;
-webkit-box-flex: 0;
-webkit-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
}
.bs3.bootstrap-select .dropdown-toggle .filter-option {
padding-right: inherit;
}
.input-group .bs3-has-addon.bootstrap-select .dropdown-toggle .filter-option {
position: absolute;
padding-top: inherit;
padding-bottom: inherit;
padding-left: inherit;
float: none;
}
.bootstrap-select.btn-group .btn .caret {
.input-group .bs3-has-addon.bootstrap-select .dropdown-toggle .filter-option .filter-option-inner {
padding-right: inherit;
}
.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
overflow: hidden;
}
.bootstrap-select .dropdown-toggle .filter-expand {
width: 0 !important;
float: left;
opacity: 0 !important;
overflow: hidden;
}
.bootstrap-select .dropdown-toggle .caret {
position: absolute;
top: 50%;
right: 12px;
margin-top: -2px;
vertical-align: middle;
}
.bootstrap-select.btn-group[class*="col-"] .btn {
.input-group .bootstrap-select.form-control .dropdown-toggle {
border-radius: inherit;
}
.bootstrap-select[class*="col-"] .dropdown-toggle {
width: 100%;
}
.bootstrap-select.btn-group .dropdown-menu {
.bootstrap-select .dropdown-menu {
min-width: 100%;
z-index: 1035;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.bootstrap-select.btn-group .dropdown-menu.inner {
.bootstrap-select .dropdown-menu > .inner:focus {
outline: none !important;
}
.bootstrap-select .dropdown-menu.inner {
position: static;
float: none;
border: 0;
padding: 0;
margin: 0;
......@@ -107,35 +278,36 @@
-webkit-box-shadow: none;
box-shadow: none;
}
.bootstrap-select.btn-group .dropdown-menu li {
.bootstrap-select .dropdown-menu li {
position: relative;
}
.bootstrap-select.btn-group .dropdown-menu li:not(.disabled) a:hover small,
.bootstrap-select.btn-group .dropdown-menu li:not(.disabled) a:focus small,
.bootstrap-select.btn-group .dropdown-menu li.active:not(.disabled) a small {
color: #64b1d8;
color: rgba(100, 177, 216, 0.4);
.bootstrap-select .dropdown-menu li.active small {
color: rgba(255, 255, 255, 0.5) !important;
}
.bootstrap-select.btn-group .dropdown-menu li.disabled a {
.bootstrap-select .dropdown-menu li.disabled a {
cursor: not-allowed;
}
.bootstrap-select.btn-group .dropdown-menu li a {
.bootstrap-select .dropdown-menu li a {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.bootstrap-select.btn-group .dropdown-menu li a.opt {
.bootstrap-select .dropdown-menu li a.opt {
position: relative;
padding-left: 2.25em;
}
.bootstrap-select.btn-group .dropdown-menu li a span.check-mark {
.bootstrap-select .dropdown-menu li a span.check-mark {
display: none;
}
.bootstrap-select.btn-group .dropdown-menu li a span.text {
.bootstrap-select .dropdown-menu li a span.text {
display: inline-block;
}
.bootstrap-select.btn-group .dropdown-menu li small {
.bootstrap-select .dropdown-menu li small {
padding-left: 0.5em;
}
.bootstrap-select.btn-group .dropdown-menu .notify {
.bootstrap-select .dropdown-menu .notify {
position: absolute;
bottom: 5px;
width: 96%;
......@@ -152,45 +324,70 @@
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.bootstrap-select.btn-group .no-results {
.bootstrap-select .dropdown-menu .notify.fadeOut {
-webkit-animation: 300ms linear 750ms forwards bs-notify-fadeOut;
-o-animation: 300ms linear 750ms forwards bs-notify-fadeOut;
animation: 300ms linear 750ms forwards bs-notify-fadeOut;
}
.bootstrap-select .no-results {