Prev changes

This commit is contained in:
Miguel Nogueira 2021-10-13 01:19:56 +01:00
parent fc6d7d2b18
commit 4594973a21
Signed by: miguel456
GPG Key ID: 2CF61B825316C6A0
4 changed files with 79 additions and 75 deletions

BIN
..env.swp

Binary file not shown.

View File

@ -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', 'name' => 'BootstrapMultiselectDropdown',
'active' => true, 'active' => true,
@ -626,6 +610,22 @@ return [
'location' => 'https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css' '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',
],
],
],
], ],
]; ];

39
public/js/app.js vendored
View File

@ -77256,30 +77256,31 @@ __webpack_require__(/*! chart.js */ "./node_modules/chart.js/dist/Chart.js");
__webpack_require__(/*! ./bootstrap */ "./resources/js/bootstrap.js"); __webpack_require__(/*! ./bootstrap */ "./resources/js/bootstrap.js");
flatpickr__WEBPACK_IMPORTED_MODULE_0___default()("#appointmentDateTime", { $(document).ready(function () {
flatpickr__WEBPACK_IMPORTED_MODULE_0___default()("#appointmentDateTime", {
enableTime: true, enableTime: true,
dateFormat: "Y-m-d H:i", dateFormat: "Y-m-d H:i",
"static": false "static": false
}); });
$("#banAccountTrigger").on("click", function (event) { $("#banAccountTrigger").on("click", function (event) {
$("#banAccountModal").modal('show'); $("#banAccountModal").modal('show');
}); });
$("#durationDropdown").dropdown(); $("#durationDropdown").dropdown();
$(".dropdown-menu a").on("click", function (e) { $(".dropdown-menu a").on("click", function (e) {
$(".duration-btn").text(this.innerHTML); $(".duration-btn").text(this.innerHTML);
$("#operator").val(this.innerHTML); $("#operator").val(this.innerHTML);
}); });
$("#banAccountButton").on("click", function () { $("#banAccountButton").on("click", function () {
$("#banAccountForm").submit(); $("#banAccountForm").submit();
}); });
$("#comment").keyup(function () { $("#comment").keyup(function () {
$("#charcount").text($("#comment").val().length); $("#charcount").text($("#comment").val().length);
}); });
$("#submitComment").on('click', function () { $("#submitComment").on('click', function () {
$("#newComment").submit(); $("#newComment").submit();
});
$("#jointype").bootstrapToggle();
}); });
$("#jointype").bootstrapToggle();
$("#associatedVacancies").multiselect();
/***/ }), /***/ }),
@ -77375,7 +77376,7 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
// broadcaster: 'pusher', // broadcaster: 'pusher',
// key: process.env.MIX_PUSHER_APP_KEY, // key: process.env.MIX_PUSHER_APP_KEY,
// cluster: process.env.MIX_PUSHER_APP_CLUSTER, // 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 */ /*! no static exports found */
/***/ (function(module, exports, __webpack_require__) { /***/ (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/rbrecruiter/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/rbrecruiter/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"); __webpack_require__(/*! /home/miguel456/Desktop/Projects/rbrecruiter/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"); module.exports = __webpack_require__(/*! /home/miguel456/Desktop/Projects/rbrecruiter/resources/sass/app.scss */"./resources/sass/app.scss");
/***/ }) /***/ })

31
resources/js/app.js vendored
View File

@ -10,39 +10,42 @@ require('./bootstrap');
import flatpickr from "flatpickr"; import flatpickr from "flatpickr";
$(document).ready(function () {
flatpickr("#appointmentDateTime", { flatpickr("#appointmentDateTime", {
enableTime: true, enableTime: true,
dateFormat: "Y-m-d H:i", dateFormat: "Y-m-d H:i",
static: false static: false
}); });
$("#banAccountTrigger").on("click", function(event){ $("#banAccountTrigger").on("click", function(event){
$("#banAccountModal").modal('show'); $("#banAccountModal").modal('show');
}); });
$("#durationDropdown").dropdown(); $("#durationDropdown").dropdown();
$(".dropdown-menu a").on("click", function(e){ $(".dropdown-menu a").on("click", function(e){
$(".duration-btn").text(this.innerHTML); $(".duration-btn").text(this.innerHTML);
$("#operator").val(this.innerHTML); $("#operator").val(this.innerHTML);
}); });
$("#banAccountButton").on("click", function(){ $("#banAccountButton").on("click", function(){
$("#banAccountForm").submit(); $("#banAccountForm").submit();
}); });
$("#comment").keyup(function(){ $("#comment").keyup(function(){
$("#charcount").text($("#comment").val().length); $("#charcount").text($("#comment").val().length);
}); });
$("#submitComment").on('click', function(){ $("#submitComment").on('click', function(){
$("#newComment").submit(); $("#newComment").submit();
});
$("#jointype").bootstrapToggle();
}); });
$("#jointype").bootstrapToggle();