From 4594973a21bfe0a886fb815a18634aa77218220d Mon Sep 17 00:00:00 2001 From: Miguel N Date: Wed, 13 Oct 2021 01:19:56 +0100 Subject: [PATCH] Prev changes --- ..env.swp | Bin 1024 -> 0 bytes config/adminlte.php | 34 ++++++++++++------------ public/js/app.js | 57 +++++++++++++++++++-------------------- resources/js/app.js | 63 +++++++++++++++++++++++--------------------- 4 files changed, 79 insertions(+), 75 deletions(-) delete mode 100644 ..env.swp diff --git a/..env.swp b/..env.swp deleted file mode 100644 index 61ad66a963a236ab58210737e1dd2c9bec82ab94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmYc?$V<%2S1{ExVL$;Pz6=bxndzmeIVPrNC^DEFh`Io0-O{AeypmE(1yB*a)VwmB SlA{u%Aut*Ov<`t#bPE87y$)*t diff --git a/config/adminlte.php b/config/adminlte.php index 6df80ce..e2b9e49 100755 --- a/config/adminlte.php +++ b/config/adminlte.php @@ -578,22 +578,6 @@ return [ ], ], ], - [ - 'name' => 'BootstrapToggleButton', - 'active' => true, - 'files' => [ - [ - 'type' => 'css', - 'asset' => false, - 'location' => 'https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css', - ], - [ - 'type' => 'js', - 'asset' => false, - 'location' => 'https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js', - ], - ], - ], [ 'name' => 'BootstrapMultiselectDropdown', 'active' => true, @@ -626,6 +610,22 @@ return [ 'location' => 'https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css' ] ] - ] + ], + [ + 'name' => 'BootstrapToggleButton', + 'active' => true, + 'files' => [ + [ + 'type' => 'css', + 'asset' => false, + 'location' => 'https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css', + ], + [ + 'type' => 'js', + 'asset' => false, + 'location' => 'https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js', + ], + ], + ], ], ]; diff --git a/public/js/app.js b/public/js/app.js index 129c3c6..525a043 100755 --- a/public/js/app.js +++ b/public/js/app.js @@ -77256,30 +77256,31 @@ __webpack_require__(/*! chart.js */ "./node_modules/chart.js/dist/Chart.js"); __webpack_require__(/*! ./bootstrap */ "./resources/js/bootstrap.js"); -flatpickr__WEBPACK_IMPORTED_MODULE_0___default()("#appointmentDateTime", { - enableTime: true, - dateFormat: "Y-m-d H:i", - "static": false +$(document).ready(function () { + flatpickr__WEBPACK_IMPORTED_MODULE_0___default()("#appointmentDateTime", { + enableTime: true, + dateFormat: "Y-m-d H:i", + "static": false + }); + $("#banAccountTrigger").on("click", function (event) { + $("#banAccountModal").modal('show'); + }); + $("#durationDropdown").dropdown(); + $(".dropdown-menu a").on("click", function (e) { + $(".duration-btn").text(this.innerHTML); + $("#operator").val(this.innerHTML); + }); + $("#banAccountButton").on("click", function () { + $("#banAccountForm").submit(); + }); + $("#comment").keyup(function () { + $("#charcount").text($("#comment").val().length); + }); + $("#submitComment").on('click', function () { + $("#newComment").submit(); + }); + $("#jointype").bootstrapToggle(); }); -$("#banAccountTrigger").on("click", function (event) { - $("#banAccountModal").modal('show'); -}); -$("#durationDropdown").dropdown(); -$(".dropdown-menu a").on("click", function (e) { - $(".duration-btn").text(this.innerHTML); - $("#operator").val(this.innerHTML); -}); -$("#banAccountButton").on("click", function () { - $("#banAccountForm").submit(); -}); -$("#comment").keyup(function () { - $("#charcount").text($("#comment").val().length); -}); -$("#submitComment").on('click', function () { - $("#newComment").submit(); -}); -$("#jointype").bootstrapToggle(); -$("#associatedVacancies").multiselect(); /***/ }), @@ -77375,7 +77376,7 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; // broadcaster: 'pusher', // key: process.env.MIX_PUSHER_APP_KEY, // cluster: process.env.MIX_PUSHER_APP_CLUSTER, -// encrypted: true +// forceTLS: true // }); /***/ }), @@ -77409,10 +77410,10 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -__webpack_require__(/*! /home/miguel456/Desktop/Projects/staffmanager/resources/js/app.js */"./resources/js/app.js"); -__webpack_require__(/*! /home/miguel456/Desktop/Projects/staffmanager/resources/js/application_charts.js */"./resources/js/application_charts.js"); -__webpack_require__(/*! /home/miguel456/Desktop/Projects/staffmanager/resources/js/calendar.js */"./resources/js/calendar.js"); -module.exports = __webpack_require__(/*! /home/miguel456/Desktop/Projects/staffmanager/resources/sass/app.scss */"./resources/sass/app.scss"); +__webpack_require__(/*! /home/miguel456/Desktop/Projects/rbrecruiter/resources/js/app.js */"./resources/js/app.js"); +__webpack_require__(/*! /home/miguel456/Desktop/Projects/rbrecruiter/resources/js/application_charts.js */"./resources/js/application_charts.js"); +__webpack_require__(/*! /home/miguel456/Desktop/Projects/rbrecruiter/resources/js/calendar.js */"./resources/js/calendar.js"); +module.exports = __webpack_require__(/*! /home/miguel456/Desktop/Projects/rbrecruiter/resources/sass/app.scss */"./resources/sass/app.scss"); /***/ }) diff --git a/resources/js/app.js b/resources/js/app.js index 08bd18f..1937ac9 100755 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -10,39 +10,42 @@ require('./bootstrap'); import flatpickr from "flatpickr"; +$(document).ready(function () { -flatpickr("#appointmentDateTime", { - enableTime: true, - dateFormat: "Y-m-d H:i", - static: false -}); + flatpickr("#appointmentDateTime", { + enableTime: true, + dateFormat: "Y-m-d H:i", + static: false + }); -$("#banAccountTrigger").on("click", function(event){ + $("#banAccountTrigger").on("click", function(event){ - $("#banAccountModal").modal('show'); + $("#banAccountModal").modal('show'); + + }); + + $("#durationDropdown").dropdown(); + + $(".dropdown-menu a").on("click", function(e){ + + $(".duration-btn").text(this.innerHTML); + $("#operator").val(this.innerHTML); + + }); + + $("#banAccountButton").on("click", function(){ + $("#banAccountForm").submit(); + }); + + $("#comment").keyup(function(){ + $("#charcount").text($("#comment").val().length); + }); + + $("#submitComment").on('click', function(){ + $("#newComment").submit(); + }); + + $("#jointype").bootstrapToggle(); }); -$("#durationDropdown").dropdown(); - -$(".dropdown-menu a").on("click", function(e){ - - $(".duration-btn").text(this.innerHTML); - $("#operator").val(this.innerHTML); - -}); - -$("#banAccountButton").on("click", function(){ - $("#banAccountForm").submit(); -}); - -$("#comment").keyup(function(){ - $("#charcount").text($("#comment").val().length); -}); - -$("#submitComment").on('click', function(){ - $("#newComment").submit(); -}); - -$("#jointype").bootstrapToggle(); -