From 43a4e9eb7238d36f89da7ca221b263a64f91eeb6 Mon Sep 17 00:00:00 2001 From: Dr Masroor Ehsan Date: Tue, 21 Jan 2025 00:00:05 +0600 Subject: [PATCH] resources --- resources/assets/js/pages-auth.js | 115 ++++++++++++++++++++++++++++++ resources/imgs/html.png | Bin 0 -> 516 bytes resources/imgs/live.png | Bin 593 -> 610 bytes resources/imgs/pdf.png | Bin 0 -> 527 bytes resources/imgs/weasis.png | Bin 462 -> 961 bytes 5 files changed, 115 insertions(+) create mode 100644 resources/assets/js/pages-auth.js create mode 100644 resources/imgs/html.png create mode 100644 resources/imgs/pdf.png diff --git a/resources/assets/js/pages-auth.js b/resources/assets/js/pages-auth.js new file mode 100644 index 0000000..2b374fe --- /dev/null +++ b/resources/assets/js/pages-auth.js @@ -0,0 +1,115 @@ +/** + * Pages Authentication + */ + +'use strict'; +const formAuthentication = document.querySelector('#formAuthentication'); + +document.addEventListener('DOMContentLoaded', function (e) { + (function () { + // Form validation for Add new record + if (formAuthentication) { + const fv = FormValidation.formValidation(formAuthentication, { + fields: { + username: { + validators: { + notEmpty: { + message: 'Please enter username' + }, + stringLength: { + min: 4, + message: 'Username must be more than 4 characters' + } + } + }, + email: { + validators: { + notEmpty: { + message: 'Please enter your email' + }, + emailAddress: { + message: 'Please enter valid email address' + } + } + }, + 'email-username': { + validators: { + notEmpty: { + message: 'Please enter email / username' + }, + stringLength: { + min: 6, + message: 'Username must be more than 6 characters' + } + } + }, + password: { + validators: { + notEmpty: { + message: 'Please enter your password' + }, + stringLength: { + min: 6, + message: 'Password must be more than 6 characters' + } + } + }, + 'confirm-password': { + validators: { + notEmpty: { + message: 'Please confirm password' + }, + identical: { + compare: function () { + return formAuthentication.querySelector('[name="password"]').value; + }, + message: 'The password and its confirm are not the same' + }, + stringLength: { + min: 6, + message: 'Password must be more than 6 characters' + } + } + }, + terms: { + validators: { + notEmpty: { + message: 'Please agree terms & conditions' + } + } + } + }, + plugins: { + trigger: new FormValidation.plugins.Trigger(), + bootstrap5: new FormValidation.plugins.Bootstrap5({ + eleValidClass: '', + rowSelector: '.mb-5' + }), + submitButton: new FormValidation.plugins.SubmitButton(), + + defaultSubmit: new FormValidation.plugins.DefaultSubmit(), + autoFocus: new FormValidation.plugins.AutoFocus() + }, + init: instance => { + instance.on('plugins.message.placed', function (e) { + if (e.element.parentElement.classList.contains('input-group')) { + e.element.parentElement.insertAdjacentElement('afterend', e.messageElement); + } + }); + } + }); + } + + // Two Steps Verification + const numeralMask = document.querySelectorAll('.numeral-mask'); + + // Verification masking + if (numeralMask.length) { + numeralMask.forEach(e => { + new Cleave(e, { + numeral: true + }); + }); + } + })(); +}); diff --git a/resources/imgs/html.png b/resources/imgs/html.png new file mode 100644 index 0000000000000000000000000000000000000000..877f5db2b84f71e7580c54424588328169961efd GIT binary patch literal 516 zcmV+f0{i`mP)EPw% z+vDQc+Stt5*UIAI*5u^c=jYw&)Wqr5#_8J2>E6=m-_q&i+3Drl>FD3->EPcXt*%D3v!zv|Jz>ym5hly2*lZ|jzD>z{n=W-#n%GVFRw?QJ>jZ9465JneBm?RG}) zcSr7cNbh}5?|xA4e^T&*s5{f3>Y8L0sl_|Eaf{0|o1dt?Z^ZMQ=TOcx+>@XZH_rPA@^zYO@^x0000}LP=Bz2nYy#2xN$nAw7TJNklg`E_hI&|1gitx zooBI!a&mj|HhceSnD^%Ydoz!j5daOtd5AWFJAez!kWDerLbZ-HPsDNhqG33XMh%4P z8BKpjOVlSa6$8;`?&bh09>zWp4LbpFE_VQc5Ezm(pN^C>hU^XfAI%gFOo<}Y-$9$Z zXs-)^6dmMh8SyFyT8M@nO^yEej(zbI4cns^FS?l81}vONwJ_r7r`z`FtXAnn| z1JvIcHa~K7Gsu0P3P|mce)|f?7ch74 zAr~&A?EqP=Cc)V`?Q20=Sl9QJIG6^JCKtlv>jl#9wWDIL$8Z|`jEt~TtkZv zy8Q;MMcj)S04q1pb^z9*Z(k2L_VY&=z>?f@Dj@ZU#H%8U?%#=DKSz$G{7_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