diff --git a/.env.example b/.env.example index e4196f1..92f7a51 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -APP_NAME=Laravel +APP_NAME="File Management System" APP_ENV=local APP_KEY= APP_DEBUG=true diff --git a/composer.json b/composer.json index 396a7b2..89c344f 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,7 @@ "require": { "php": "^8.0.2", "anlutro/l4-settings": "^1.3", + "deployer/deployer": "^7.0", "dompdf/dompdf": "^2.0", "guzzlehttp/guzzle": "^7.2", "haruncpi/laravel-id-generator": "^1.1", diff --git a/public/assets/media/logos/android-chrome-192x192.png b/public/assets/media/logos/android-chrome-192x192.png deleted file mode 100644 index 6c71e6a..0000000 Binary files a/public/assets/media/logos/android-chrome-192x192.png and /dev/null differ diff --git a/public/assets/media/logos/android-chrome-512x512.png b/public/assets/media/logos/android-chrome-512x512.png deleted file mode 100644 index f66731a..0000000 Binary files a/public/assets/media/logos/android-chrome-512x512.png and /dev/null differ diff --git a/public/assets/media/logos/apple-touch-icon.png b/public/assets/media/logos/apple-touch-icon.png deleted file mode 100644 index ce5ce96..0000000 Binary files a/public/assets/media/logos/apple-touch-icon.png and /dev/null differ diff --git a/resources/_keenthemes/src/media/logos/favicon-16x16.png b/resources/_keenthemes/src/media/logos/favicon-16x16.png new file mode 100644 index 0000000..644cdb9 Binary files /dev/null and b/resources/_keenthemes/src/media/logos/favicon-16x16.png differ diff --git a/resources/_keenthemes/src/media/logos/favicon-32x32.png b/resources/_keenthemes/src/media/logos/favicon-32x32.png new file mode 100644 index 0000000..a122424 Binary files /dev/null and b/resources/_keenthemes/src/media/logos/favicon-32x32.png differ diff --git a/resources/_keenthemes/src/media/logos/favicon.ico b/resources/_keenthemes/src/media/logos/favicon.ico index 94838e5..3fd4fd8 100644 Binary files a/resources/_keenthemes/src/media/logos/favicon.ico and b/resources/_keenthemes/src/media/logos/favicon.ico differ diff --git a/resources/_keenthemes/src/media/logos/logo_agi.png b/resources/_keenthemes/src/media/logos/logo_agi.png new file mode 100644 index 0000000..a16ae47 Binary files /dev/null and b/resources/_keenthemes/src/media/logos/logo_agi.png differ diff --git a/resources/_keenthemes/src/media/misc/bg-login.png b/resources/_keenthemes/src/media/misc/bg-login.png new file mode 100644 index 0000000..dead034 Binary files /dev/null and b/resources/_keenthemes/src/media/misc/bg-login.png differ diff --git a/resources/mix/custom/authentication/sign-in/uim.js b/resources/mix/custom/authentication/sign-in/uim.js new file mode 100644 index 0000000..1dbfe81 --- /dev/null +++ b/resources/mix/custom/authentication/sign-in/uim.js @@ -0,0 +1,60 @@ +"use strict"; +var KTSigninGeneral = function () { + var t, e, r; + return { + init: function () { + t = document.querySelector("#kt_sign_in_form"), e = document.querySelector("#kt_sign_in_submit"), r = FormValidation.formValidation(t, { + fields: { + email: { + validators: { + notEmpty: {message: "User ID is required"} + } + }, password: {validators: {notEmpty: {message: "The password is required"}}} + }, + plugins: { + trigger: new FormValidation.plugins.Trigger, + bootstrap: new FormValidation.plugins.Bootstrap5({ + rowSelector: ".fv-row", + eleInvalidClass: "", + eleValidClass: "" + }) + } + }), e.addEventListener("click", (function (i) { + i.preventDefault(), r.validate().then((function (r) { + "Valid" == r ? (e.setAttribute("data-kt-indicator", "on"), e.disabled = !0, axios.post(e.closest("form").getAttribute("action"), new FormData(t)).then((function (e) { + if (e) { + t.reset(); + const e = t.getAttribute("data-kt-redirect-url"); + e && (location.href = e) + } else Swal.fire({ + text: "Sorry, the email or password is incorrect, please try again.", + icon: "error", + buttonsStyling: !1, + confirmButtonText: "Ok, got it!", + customClass: {confirmButton: "btn btn-primary"} + }) + })).catch((function (t) { + Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: !1, + confirmButtonText: "Ok, got it!", + customClass: {confirmButton: "btn btn-primary"} + }) + })).then((() => { + e.removeAttribute("data-kt-indicator"), e.disabled = !1 + }))) : Swal.fire({ + text: "Sorry, looks like there are some errors detected, please try again.", + icon: "error", + buttonsStyling: !1, + confirmButtonText: "Ok, got it!", + customClass: {confirmButton: "btn btn-primary"} + }) + })) + })) + } + } +}(); +KTUtil.onDOMContentLoaded((function () { + KTSigninGeneral.init() +}));