PIREP form styling and improvments

This commit is contained in:
Nabeel Shahzad
2018-04-06 17:10:45 -05:00
parent 42264eb180
commit 12a442970e
30 changed files with 721 additions and 468 deletions

View File

@@ -136,14 +136,20 @@ const removeItem = function (obj, item) {
return obj;
};
/**
* Initialize any plugins on the page
*/
const initPlugins = () => {
$('.select2').select2({width: 'resolve'});
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'icheckbox_square-blue'
});
};
$(document).ready(function () {
$('.select2').select2();
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'icheckbox_square-blue'
});
initPlugins();
let storage = getStorage('phpvms.admin');