Commit a262bc46 authored by Deep Dey's avatar Deep Dey

feat: add dialog during form submission failure

parent 37d6a4b1
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<link <link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"> rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css"> <link rel="stylesheet" href="./style.css">
</head> </head>
...@@ -25,9 +26,9 @@ ...@@ -25,9 +26,9 @@
<div class="la-form-container"> <div class="la-form-container">
<form id="application-form"> <form id="application-form">
<div class="form-group"> <div class="la-form-group">
<label for="school">Choose your school <span>*</span></label> <label for="school">Choose your school <span>*</span></label>
<select name="school" class="form-control"> <select name="school" class="la-form-control">
<option value="">Select an School</option> <option value="">Select an School</option>
<option value="La Martiniere for Boys">La Martiniere for Boys</option> <option value="La Martiniere for Boys">La Martiniere for Boys</option>
<option value="La Martiniere for Girls">La Martiniere for girls</option> <option value="La Martiniere for Girls">La Martiniere for girls</option>
...@@ -35,9 +36,9 @@ ...@@ -35,9 +36,9 @@
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>Please specify Choice of School</small> <small>Please specify Choice of School</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="category">Category <span>*</span></label> <label for="category">Category <span>*</span></label>
<select name="category" class="form-control"> <select name="category" class="la-form-control">
<option value="">Specify Category</option> <option value="">Specify Category</option>
<option value="Brother / Sister(Not Cousins) studying at La Martiniere, Kolkata">Brother / <option value="Brother / Sister(Not Cousins) studying at La Martiniere, Kolkata">Brother /
Sister(Not Cousins) studying at La Martiniere, Kolkata</option> Sister(Not Cousins) studying at La Martiniere, Kolkata</option>
...@@ -47,15 +48,15 @@ ...@@ -47,15 +48,15 @@
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>Please specify Category</small> <small>Please specify Category</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fullName">Full Name <span>*</span></label> <label for="fullName">Full Name <span>*</span></label>
<input type="text" name="fullName" class="form-control"> <input type="text" name="fullName" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>As given in the Municipal Corporation Birth Certificate/Baptism Certificate</small> <small>As given in the Municipal Corporation Birth Certificate/Baptism Certificate</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="admissionClass">Class <span>*</span></label> <label for="admissionClass">Class <span>*</span></label>
<select name="admissionClass" class="form-control"> <select name="admissionClass" class="la-form-control">
<option value="">Specify Class</option> <option value="">Specify Class</option>
<option value="Lower Nursery">Lower Nursery</option> <option value="Lower Nursery">Lower Nursery</option>
<!-- <option value="Upper Nursery">Upper Nursery</option> --> <!-- <option value="Upper Nursery">Upper Nursery</option> -->
...@@ -64,46 +65,46 @@ ...@@ -64,46 +65,46 @@
<small>Please specify class in which admission is sought. (based on the selection of Class – the <small>Please specify class in which admission is sought. (based on the selection of Class – the
year of Birth is automatically fixed)</small> year of Birth is automatically fixed)</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="dateOfBirth">Date of Birth <span>*</span></label> <label for="dateOfBirth">Date of Birth <span>*</span></label>
<input type="date" name="dateOfBirth" id="dateOfBirth" class="form-control"> <input type="date" name="dateOfBirth" id="dateOfBirth" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>Date of Birth - as given in the Municipal Corporation Birth Certificate/Baptism <small>Date of Birth - as given in the Municipal Corporation Birth Certificate/Baptism
Certificate</small> Certificate</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="nationality">Nationality <span>*</span></label> <label for="nationality">Nationality <span>*</span></label>
<input type="text" name="nationality" class="form-control"> <input type="text" name="nationality" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="religion">Religion <span>*</span></label> <label for="religion">Religion <span>*</span></label>
<input type="text" name="religion" class="form-control"> <input type="text" name="religion" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherTongue">Mother Tongue <span>*</span></label> <label for="motherTongue">Mother Tongue <span>*</span></label>
<input type="text" name="motherTongue" class="form-control"> <input type="text" name="motherTongue" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="community">Community <span>*</span></label> <label for="community">Community <span>*</span></label>
<input type="text" name="community" class="form-control"> <input type="text" name="community" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)</small> <small>Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="otherChildren">Details of Other Children</label> <label for="otherChildren">Details of Other Children</label>
<input type="text" name="otherChildren" class="form-control"> <input type="text" name="otherChildren" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>Please Specify Name, Age, Current School and Class</small> <small>Please Specify Name, Age, Current School and Class</small>
</div> </div>
<!-- start of parent information --> <!-- start of parent information -->
<h3>PARENT INFORMATION</h3> <h3>PARENT INFORMATION</h3>
<div class="form-group"> <div class="la-form-group">
<label for="maritalStatus">Marital Status <span>*</span></label> <label for="maritalStatus">Marital Status <span>*</span></label>
<select name="maritalStatus" class="form-control"> <select name="maritalStatus" class="la-form-control">
<option value="">Choose an option</option> <option value="">Choose an option</option>
<option value="Married">Married</option> <option value="Married">Married</option>
<option value="Separated">Separated</option> <option value="Separated">Separated</option>
...@@ -115,176 +116,176 @@ ...@@ -115,176 +116,176 @@
<!-- Father Information --> <!-- Father Information -->
<h3>DETAILS OF FATHER</h3> <h3>DETAILS OF FATHER</h3>
<div class="form-group"> <div class="la-form-group">
<label for="fatherName">Full Name <span>*</span></label> <label for="fatherName">Full Name <span>*</span></label>
<input type="text" name="fatherName" class="form-control"> <input type="text" name="fatherName" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherEmail">Email <span>*</span></label> <label for="fatherEmail">Email <span>*</span></label>
<input type="email" name="fatherEmail" class="form-control"> <input type="email" name="fatherEmail" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherMobile">Phone <span>*</span></label> <label for="fatherMobile">Phone <span>*</span></label>
<input type="text" name="fatherMobile" class="form-control"> <input type="text" name="fatherMobile" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherNationality">Nationality <span>*</span></label> <label for="fatherNationality">Nationality <span>*</span></label>
<input type="text" name="fatherNationality" class="form-control"> <input type="text" name="fatherNationality" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherReligion">Religion <span>*</span></label> <label for="fatherReligion">Religion <span>*</span></label>
<input type="text" name="fatherReligion" class="form-control"> <input type="text" name="fatherReligion" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherMotherTongue">Mother Tongue <span>*</span></label> <label for="fatherMotherTongue">Mother Tongue <span>*</span></label>
<input type="text" name="fatherMotherTongue" class="form-control"> <input type="text" name="fatherMotherTongue" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherCommunity">Community <span>*</span></label> <label for="fatherCommunity">Community <span>*</span></label>
<input type="text" name="fatherCommunity" class="form-control"> <input type="text" name="fatherCommunity" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)</small> <small>Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherSchoolInfo">School, Name of Institution, Examination <label for="fatherSchoolInfo">School, Name of Institution, Examination
Passed <span>*</span></label> Passed <span>*</span></label>
<input type="text" name="fatherSchoolInfo" class="form-control"> <input type="text" name="fatherSchoolInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherCollegeInfo">College Examination Passed</label> <label for="fatherCollegeInfo">College Examination Passed</label>
<input type="text" name="fatherCollegeInfo" class="form-control"> <input type="text" name="fatherCollegeInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherUniversityInfo">University Examination Passed</label> <label for="fatherUniversityInfo">University Examination Passed</label>
<input type="text" name="fatherUniversityInfo" class="form-control"> <input type="text" name="fatherUniversityInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherProfessionalQualification">Professional Qualification/s Passed</label> <label for="fatherProfessionalQualification">Professional Qualification/s Passed</label>
<input type="text" name="fatherProfessionalQualification" class="form-control"> <input type="text" name="fatherProfessionalQualification" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherOccupation">Occupation and Designation <span>*</span></label> <label for="fatherOccupation">Occupation and Designation <span>*</span></label>
<input type="text" name="fatherOccupation" class="form-control"> <input type="text" name="fatherOccupation" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherMonthlyIncome">Monthly Income <span>*</span></label> <label for="fatherMonthlyIncome">Monthly Income <span>*</span></label>
<input type="text" name="fatherMonthlyIncome" class="form-control"> <input type="text" name="fatherMonthlyIncome" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="fatherWorkplaceInfo">Name of Organisation, Address and Telephone No/s</label> <label for="fatherWorkplaceInfo">Name of Organisation, Address and Telephone No/s</label>
<input type="text" name="fatherWorkplaceInfo" class="form-control"> <input type="text" name="fatherWorkplaceInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<!-- end of Father Information --> <!-- end of Father Information -->
<!-- Mother Information --> <!-- Mother Information -->
<h3>DETAILS OF MOTHER</h3> <h3>DETAILS OF MOTHER</h3>
<div class="form-group"> <div class="la-form-group">
<label for="motherName">Full Name <span>*</span></label> <label for="motherName">Full Name <span>*</span></label>
<input type="text" name="motherName" class="form-control"> <input type="text" name="motherName" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherEmail">Email</label> <label for="motherEmail">Email</label>
<input type="email" name="motherEmail" class="form-control"> <input type="email" name="motherEmail" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherMobile">Phone</label> <label for="motherMobile">Phone</label>
<input type="text" name="motherMobile" class="form-control"> <input type="text" name="motherMobile" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherNationality">Nationality <span>*</span></label> <label for="motherNationality">Nationality <span>*</span></label>
<input type="text" name="motherNationality" class="form-control"> <input type="text" name="motherNationality" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherReligion">Religion <span>*</span></label> <label for="motherReligion">Religion <span>*</span></label>
<input type="text" name="motherReligion" class="form-control"> <input type="text" name="motherReligion" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherMotherTongue">Mother Tongue <span>*</span></label> <label for="motherMotherTongue">Mother Tongue <span>*</span></label>
<input type="text" name="motherMotherTongue" class="form-control"> <input type="text" name="motherMotherTongue" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherCommunity">Community <span>*</span></label> <label for="motherCommunity">Community <span>*</span></label>
<input type="text" name="motherCommunity" class="form-control"> <input type="text" name="motherCommunity" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
<small>Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)</small> <small>Socio- Linguistic community (eg Bengali, Punjabi, Marwari, Jain etc.)</small>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherSchoolInfo">School, Name of Institution, Examination <label for="motherSchoolInfo">School, Name of Institution, Examination
Passed <span>*</span></label> Passed <span>*</span></label>
<input type="text" name="motherSchoolInfo" class="form-control"> <input type="text" name="motherSchoolInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherCollegeInfo">College Examination Passed</label> <label for="motherCollegeInfo">College Examination Passed</label>
<input type="text" name="motherCollegeInfo" class="form-control"> <input type="text" name="motherCollegeInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherUniversityInfo">University Examination Passed</label> <label for="motherUniversityInfo">University Examination Passed</label>
<input type="text" name="motherUniversityInfo" class="form-control"> <input type="text" name="motherUniversityInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherProfessionalQualification">Professional Qualification/s Passed</label> <label for="motherProfessionalQualification">Professional Qualification/s Passed</label>
<input type="text" name="motherProfessionalQualification" class="form-control"> <input type="text" name="motherProfessionalQualification" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherOccupation">Occupation and Designation</label> <label for="motherOccupation">Occupation and Designation</label>
<input type="text" name="motherOccupation" class="form-control"> <input type="text" name="motherOccupation" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherMonthlyIncome">Monthly Income</label> <label for="motherMonthlyIncome">Monthly Income</label>
<input type="text" name="motherMonthlyIncome" class="form-control"> <input type="text" name="motherMonthlyIncome" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<label for="motherWorkplaceInfo">Name of Organisation, Address and Telephone No/s</label> <label for="motherWorkplaceInfo">Name of Organisation, Address and Telephone No/s</label>
<input type="text" name="motherWorkplaceInfo" class="form-control"> <input type="text" name="motherWorkplaceInfo" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<!-- end of Mother Information --> <!-- end of Mother Information -->
<!-- end of parent information --> <!-- end of parent information -->
<!-- Image section --> <!-- Image section -->
<div class="form-image-group"> <div class="form-image-group">
<div class="form-group"> <div class="la-form-group">
<img id="candidateImage" class="image-preview" src="./img/candidate.png" alt="candidate photo"> <img id="candidateImage" class="image-preview" src="./img/candidate.png" alt="candidate photo">
<label for="candidateImage">Candidate's Photo</label> <label for="candidateImage">Candidate's Photo</label>
<input type="file" name="candidateImage" class="form-control"> <input type="file" name="candidateImage" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<img id="fatherImage" class="image-preview" src="./img/father.png" alt="father photo"> <img id="fatherImage" class="image-preview" src="./img/father.png" alt="father photo">
<label for="fatherImage">Fathers's Photo</label> <label for="fatherImage">Fathers's Photo</label>
<input type="file" name="fatherImage" class="form-control"> <input type="file" name="fatherImage" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
<div class="form-group"> <div class="la-form-group">
<img id="motherImage" class="image-preview" src="./img/mother.png" alt="mother photo"> <img id="motherImage" class="image-preview" src="./img/mother.png" alt="mother photo">
<label for="motherImage">Mother's Photo</label> <label for="motherImage">Mother's Photo</label>
<input type="file" name="motherImage" class="form-control"> <input type="file" name="motherImage" class="la-form-control">
<div class="la-invalid-feedback"></div> <div class="la-invalid-feedback"></div>
</div> </div>
</div> </div>
<!-- end of image section --> <!-- end of image section -->
<div class="form-btn"> <div class="form-btn">
...@@ -296,9 +297,23 @@ ...@@ -296,9 +297,23 @@
</form> </form>
</div> </div>
</section> </section>
<div class="modal" tabindex="-1" role="dialog" id="messageModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body"></div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./main.js"></script> <script src="./main.js"></script>
</body> </body>
......
...@@ -209,12 +209,16 @@ $(document).ready(function () { ...@@ -209,12 +209,16 @@ $(document).ready(function () {
$('#btn-sumbit').prop('disabled', false); $('#btn-sumbit').prop('disabled', false);
if (xhr.responseText) { if (xhr.responseText) {
console.log(xhr.responseText);
console.log(JSON.parse(xhr.responseText).message);
var errorMessage = JSON.parse(xhr.responseText).message; var errorMessage = JSON.parse(xhr.responseText).message;
console.error('Server Response:', errorMessage); $('#messageModal .modal-title').text('Error');
alert(errorMessage.message); $('#messageModal .modal-body').text(JSON.parse(xhr.responseText).message);
$('#messageModal').modal('show');
} else { } else {
console.error('No response from server'); $('#messageModal .modal-title').html('Error');
alert('No response from server'); $('#messageModal .modal-body').html('No response from server');
$('#messageModal').modal('show');
} }
}, },
}); });
......
...@@ -56,28 +56,28 @@ body { ...@@ -56,28 +56,28 @@ body {
padding-bottom: 30px; padding-bottom: 30px;
} }
.form-group { .la-form-group {
width: 100%; width: 100%;
margin-bottom: 15px; margin-bottom: 15px;
} }
.form-group label { .la-form-group label {
display: block; display: block;
margin-bottom: 4px; margin-bottom: 4px;
font-size: 13px; font-size: 13px;
color: #706c6c; color: #706c6c;
} }
.form-group label.is-invalid { .la-form-group label.is-invalid {
color: crimson; color: crimson;
} }
.form-group label span { .la-form-group label span {
color: crimson; color: crimson;
font-weight: 600; font-weight: 600;
} }
.form-group .form-control { .la-form-group .la-form-control {
width: 100%; width: 100%;
padding: 8px; padding: 8px;
box-sizing: border-box; box-sizing: border-box;
...@@ -85,20 +85,20 @@ body { ...@@ -85,20 +85,20 @@ body {
outline: none; outline: none;
} }
.form-group .form-control.is-invalid { .la-form-group .la-form-control.is-invalid {
border: 1px solid crimson; border: 1px solid crimson;
color: crimson; color: crimson;
} }
.form-group .la-invalid-feedback, .la-form-group .la-invalid-feedback,
.form-group small { .la-form-group small {
display: block; display: block;
margin-top: 3px; margin-top: 3px;
color: #3c3939; color: #3c3939;
font-size: 11px; font-size: 11px;
} }
.form-group .la-invalid-feedback { .la-form-group .la-invalid-feedback {
color: crimson; color: crimson;
} }
...@@ -152,7 +152,7 @@ body { ...@@ -152,7 +152,7 @@ body {
margin-top: 30px; margin-top: 30px;
} }
.form-image-group .form-group { .form-image-group .la-form-group {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
...@@ -171,14 +171,18 @@ body { ...@@ -171,14 +171,18 @@ body {
.loader { .loader {
display: none; display: none;
border: 5px solid #f3f3f3; border: 3px solid #f3f3f3;
border-top: 5px solid #3498db; border-top: 3px solid #3498db;
border-radius: 50%; border-radius: 50%;
width: 16px; width: 25px;
height: 16px; height: 25px;
animation: spin 2s linear infinite; animation: spin 2s linear infinite;
} }
input[type="file"] {
font-size: 12px;
}
@keyframes spin { @keyframes spin {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment