Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LaMartin-Webomagic
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Deep Dey
LaMartin-Webomagic
Commits
deb39771
Commit
deb39771
authored
Jan 28, 2025
by
Pratik Shrivastava
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
34cbb0ce
5b1b9568
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
187 additions
and
50 deletions
+187
-50
lamartinDashboard/admission_portal.html
lamartinDashboard/admission_portal.html
+50
-28
lamartinDashboard/dashboard.html
lamartinDashboard/dashboard.html
+52
-2
lamartinDashboard/js/admission_portal.js
lamartinDashboard/js/admission_portal.js
+42
-0
lamartinDashboard/js/dashboard.js
lamartinDashboard/js/dashboard.js
+43
-20
No files found.
lamartinDashboard/admission_portal.html
View file @
deb39771
...
@@ -50,6 +50,16 @@
...
@@ -50,6 +50,16 @@
<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=
"la-form-group"
>
<label
for=
"existing"
>
Student Admission Type
</label>
<select
id=
"existing"
name=
"existing"
class=
"la-form-control"
>
<option
value=
""
>
Select Admission Type
</option>
<option
value=
"true"
>
Existing Student
</option>
<option
value=
"false"
>
New Student
</option>
</select>
<div
class=
"la-invalid-feedback"
></div>
<small>
Please select whether this is an admission for an existing student or a new one.
</small>
</div>
<div
id=
"staffDepartmentContainer"
class=
"la-form-group"
>
<div
id=
"staffDepartmentContainer"
class=
"la-form-group"
>
<label
for=
"staffDepartment"
>
Staff Department
<span>
*
</span></label>
<label
for=
"staffDepartment"
>
Staff Department
<span>
*
</span></label>
<select
id=
"staffDepartment"
name=
"staffDepartment"
class=
"la-form-control"
>
<select
id=
"staffDepartment"
name=
"staffDepartment"
class=
"la-form-control"
>
...
@@ -90,7 +100,19 @@
...
@@ -90,7 +100,19 @@
<select
name=
"admissionClass"
class=
"la-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>
<option
value=
"Kindergarten"
>
Kindergarten
</option>
<option
value=
"Class 1"
>
Class 1
</option>
<option
value=
"Class 2"
>
Class 2
</option>
<option
value=
"Class 3"
>
Class 3
</option>
<option
value=
"Class 4"
>
Class 4
</option>
<option
value=
"Class 5"
>
Class 5
</option>
<option
value=
"Class 6"
>
Class 6
</option>
<option
value=
"Class 7"
>
Class 7
</option>
<option
value=
"Class 8"
>
Class 8
</option>
<option
value=
"Class 9"
>
Class 9
</option>
<option
value=
"Class 10"
>
Class 10
</option>
<option
value=
"Class 11"
>
Class 11
</option>
</select>
</select>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
<small>
Please specify class in which admission is sought. (based on the selection of Class – the year of Birth is automatically fixed)
</small>
<small>
Please specify class in which admission is sought. (based on the selection of Class – the year of Birth is automatically fixed)
</small>
...
@@ -102,12 +124,12 @@
...
@@ -102,12 +124,12 @@
<small>
Date of Birth - as given in the Municipal Corporation Birth Certificate/Baptism Certificate
</small>
<small>
Date of Birth - as given in the Municipal Corporation Birth Certificate/Baptism Certificate
</small>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"nationality"
>
Nationality
<
span>
*
</span><
/label>
<label
for=
"nationality"
>
Nationality
</label>
<input
type=
"text"
name=
"nationality"
class=
"la-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=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"religion"
>
Religion
<
span>
*
</span><
/label>
<label
for=
"religion"
>
Religion
</label>
<select
id=
"religion"
name=
"religion"
class=
"la-form-control"
>
<select
id=
"religion"
name=
"religion"
class=
"la-form-control"
>
<option
value=
""
>
Specify Religion
</option>
<option
value=
""
>
Specify Religion
</option>
<option
value=
"Christian"
>
Christian
</option>
<option
value=
"Christian"
>
Christian
</option>
...
@@ -121,22 +143,22 @@
...
@@ -121,22 +143,22 @@
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
id=
"denominationContainer"
class=
"la-form-group"
>
<div
id=
"denominationContainer"
class=
"la-form-group"
>
<label
for=
"denomination"
>
Denomination
<
span>
*
</span><
/label>
<label
for=
"denomination"
>
Denomination
</label>
<input
id=
"denomination"
type=
"text"
name=
"denomination"
class=
"la-form-control"
>
<input
id=
"denomination"
type=
"text"
name=
"denomination"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
id=
"churchContainer"
class=
"la-form-group"
>
<div
id=
"churchContainer"
class=
"la-form-group"
>
<label
for=
"church"
>
Church
<
span>
*
</span><
/label>
<label
for=
"church"
>
Church
</label>
<input
id=
"church"
type=
"text"
name=
"church"
class=
"la-form-control"
>
<input
id=
"church"
type=
"text"
name=
"church"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherTongue"
>
Mother Tongue
<
span>
*
</span><
/label>
<label
for=
"motherTongue"
>
Mother Tongue
</label>
<input
type=
"text"
name=
"motherTongue"
class=
"la-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=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"community"
>
Community
<
span>
*
</span><
/label>
<label
for=
"community"
>
Community
</label>
<input
type=
"text"
name=
"community"
class=
"la-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>
...
@@ -167,7 +189,7 @@
...
@@ -167,7 +189,7 @@
<!-- start of parent information -->
<!-- start of parent information -->
<h4>
PARENT INFORMATION
</h4>
<h4>
PARENT INFORMATION
</h4>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"maritalStatus"
>
Marital Status
<
span>
*
</span><
/label>
<label
for=
"maritalStatus"
>
Marital Status
</label>
<select
id=
"maritalStatus"
name=
"maritalStatus"
class=
"la-form-control"
>
<select
id=
"maritalStatus"
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>
...
@@ -203,12 +225,12 @@
...
@@ -203,12 +225,12 @@
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"fatherNationality"
>
Nationality
<
span>
*
</span><
/label>
<label
for=
"fatherNationality"
>
Nationality
</label>
<input
type=
"text"
name=
"fatherNationality"
class=
"la-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=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"fatherReligion"
>
Religion
<
span>
*
</span><
/label>
<label
for=
"fatherReligion"
>
Religion
</label>
<select
id=
"fatherReligion"
name=
"fatherReligion"
class=
"la-form-control"
>
<select
id=
"fatherReligion"
name=
"fatherReligion"
class=
"la-form-control"
>
<option
value=
""
>
Specify Religion
</option>
<option
value=
""
>
Specify Religion
</option>
<option
value=
"Christian"
>
Christian
</option>
<option
value=
"Christian"
>
Christian
</option>
...
@@ -222,29 +244,29 @@
...
@@ -222,29 +244,29 @@
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
id=
"fatherDenominationContainer"
class=
"la-form-group"
>
<div
id=
"fatherDenominationContainer"
class=
"la-form-group"
>
<label
for=
"fatherDenomination"
>
Denomination
<
span>
*
</span><
/label>
<label
for=
"fatherDenomination"
>
Denomination
</label>
<input
id=
"fatherDenomination"
type=
"text"
name=
"fatherDenomination"
class=
"la-form-control"
>
<input
id=
"fatherDenomination"
type=
"text"
name=
"fatherDenomination"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
id=
"fatherChurchContainer"
class=
"la-form-group"
>
<div
id=
"fatherChurchContainer"
class=
"la-form-group"
>
<label
for=
"fatherChurch"
>
Church
<
span>
*
</span><
/label>
<label
for=
"fatherChurch"
>
Church
</label>
<input
id=
"fatherChurch"
type=
"text"
name=
"fatherChurch"
class=
"la-form-control"
>
<input
id=
"fatherChurch"
type=
"text"
name=
"fatherChurch"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"fatherMotherTongue"
>
Mother Tongue
<
span>
*
</span><
/label>
<label
for=
"fatherMotherTongue"
>
Mother Tongue
</label>
<input
type=
"text"
name=
"fatherMotherTongue"
class=
"la-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=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"fatherCommunity"
>
Community
<
span>
*
</span><
/label>
<label
for=
"fatherCommunity"
>
Community
</label>
<input
type=
"text"
name=
"fatherCommunity"
class=
"la-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=
"la-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
</label>
<input
type=
"text"
name=
"fatherSchoolInfo"
class=
"la-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>
...
@@ -264,12 +286,12 @@
...
@@ -264,12 +286,12 @@
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"fatherOccupation"
>
Occupation and Designation
<
span>
*
</span><
/label>
<label
for=
"fatherOccupation"
>
Occupation and Designation
</label>
<input
type=
"text"
name=
"fatherOccupation"
class=
"la-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=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"fatherMonthlyIncome"
>
Monthly Income
<
span>
*
</span><
/label>
<label
for=
"fatherMonthlyIncome"
>
Monthly Income
</label>
<input
type=
"text"
name=
"fatherMonthlyIncome"
class=
"la-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>
...
@@ -282,27 +304,27 @@
...
@@ -282,27 +304,27 @@
<!-- Mother Information -->
<!-- Mother Information -->
<h4>
DETAILS OF MOTHER
</h4>
<h4>
DETAILS OF MOTHER
</h4>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherName"
>
Full Name
<
span>
*
</span><
/label>
<label
for=
"motherName"
>
Full Name
</label>
<input
id=
"motherName"
type=
"text"
name=
"motherName"
class=
"la-form-control"
>
<input
id=
"motherName"
type=
"text"
name=
"motherName"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherEmail"
>
Email
<
span>
*
</span><
/label>
<label
for=
"motherEmail"
>
Email
</label>
<input
id=
"motherEmail"
type=
"email"
name=
"motherEmail"
class=
"la-form-control"
>
<input
id=
"motherEmail"
type=
"email"
name=
"motherEmail"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherMobile"
>
Phone
<
span>
*
</span><
/label>
<label
for=
"motherMobile"
>
Phone
</label>
<input
id=
"motherMobile"
type=
"text"
name=
"motherMobile"
class=
"la-form-control"
>
<input
id=
"motherMobile"
type=
"text"
name=
"motherMobile"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherNationality"
>
Nationality
<span>
*
</span>
</label>
<label
for=
"motherNationality"
>
Nationality
</label>
<input
id=
"motherNationality"
type=
"text"
name=
"motherNationality"
class=
"la-form-control"
>
<input
id=
"motherNationality"
type=
"text"
name=
"motherNationality"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherReligion"
>
Religion
<
span>
*
</span><
/label>
<label
for=
"motherReligion"
>
Religion
</label>
<select
id=
"motherReligion"
name=
"motherReligion"
class=
"la-form-control"
>
<select
id=
"motherReligion"
name=
"motherReligion"
class=
"la-form-control"
>
<option
value=
""
>
Specify Religion
</option>
<option
value=
""
>
Specify Religion
</option>
<option
value=
"Christian"
>
Christian
</option>
<option
value=
"Christian"
>
Christian
</option>
...
@@ -316,29 +338,29 @@
...
@@ -316,29 +338,29 @@
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
id=
"motherDenominationContainer"
class=
"la-form-group"
>
<div
id=
"motherDenominationContainer"
class=
"la-form-group"
>
<label
for=
"motherDenomination"
>
Denomination
<
span>
*
</span><
/label>
<label
for=
"motherDenomination"
>
Denomination
</label>
<input
id=
"motherDenomination"
type=
"text"
name=
"motherDenomination"
class=
"la-form-control"
>
<input
id=
"motherDenomination"
type=
"text"
name=
"motherDenomination"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
id=
"motherChurchContainer"
class=
"la-form-group"
>
<div
id=
"motherChurchContainer"
class=
"la-form-group"
>
<label
for=
"motherChurch"
>
Church
<
span>
*
</span><
/label>
<label
for=
"motherChurch"
>
Church
</label>
<input
id=
"motherChurch"
type=
"text"
name=
"motherChurch"
class=
"la-form-control"
>
<input
id=
"motherChurch"
type=
"text"
name=
"motherChurch"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherMotherTongue"
>
Mother Tongue
<span>
*
</span>
</label>
<label
for=
"motherMotherTongue"
>
Mother Tongue
</label>
<input
id=
"motherMotherTongue"
type=
"text"
name=
"motherMotherTongue"
class=
"la-form-control"
>
<input
id=
"motherMotherTongue"
type=
"text"
name=
"motherMotherTongue"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherCommunity"
>
Community
<
span>
*
</span><
/label>
<label
for=
"motherCommunity"
>
Community
</label>
<input
id=
"motherCommunity"
type=
"text"
name=
"motherCommunity"
class=
"la-form-control"
>
<input
id=
"motherCommunity"
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=
"la-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
</label>
<input
id=
"motherSchoolInfo"
type=
"text"
name=
"motherSchoolInfo"
class=
"la-form-control"
>
<input
id=
"motherSchoolInfo"
type=
"text"
name=
"motherSchoolInfo"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
...
@@ -358,7 +380,7 @@
...
@@ -358,7 +380,7 @@
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
</div>
</div>
<div
class=
"la-form-group"
>
<div
class=
"la-form-group"
>
<label
for=
"motherOccupation"
>
Occupation and Designation
<
span>
*
</span><
/label>
<label
for=
"motherOccupation"
>
Occupation and Designation
</label>
<input
id=
"motherOccupation"
type=
"text"
name=
"motherOccupation"
class=
"la-form-control"
>
<input
id=
"motherOccupation"
type=
"text"
name=
"motherOccupation"
class=
"la-form-control"
>
<div
class=
"la-invalid-feedback"
></div>
<div
class=
"la-invalid-feedback"
></div>
<small>
If not working please write Homemaker/Housewife
</small>
<small>
If not working please write Homemaker/Housewife
</small>
...
...
lamartinDashboard/dashboard.html
View file @
deb39771
...
@@ -28,6 +28,26 @@
...
@@ -28,6 +28,26 @@
<option
value=
"La Martiniere for Girls"
>
La Martiniere for girls
</option>
<option
value=
"La Martiniere for Girls"
>
La Martiniere for girls
</option>
</select>
</select>
</div>
</div>
<div
class=
"filter-box"
>
<label
for=
"classFilter"
class=
"filter-label"
>
Class
</label>
<select
id=
"classFilter"
class=
"form-control"
>
<option
value=
""
>
Select class
</option>
<option
value=
"Lower Nursery"
>
Lower Nursery
</option>
<option
value=
"Upper Nursery"
>
Upper Nursery
</option>
<option
value=
"Kindergarten"
>
Kindergarten
</option>
<option
value=
"Class 1"
>
Class 1
</option>
<option
value=
"Class 2"
>
Class 2
</option>
<option
value=
"Class 3"
>
Class 3
</option>
<option
value=
"Class 4"
>
Class 4
</option>
<option
value=
"Class 5"
>
Class 5
</option>
<option
value=
"Class 6"
>
Class 6
</option>
<option
value=
"Class 7"
>
Class 7
</option>
<option
value=
"Class 8"
>
Class 8
</option>
<option
value=
"Class 9"
>
Class 9
</option>
<option
value=
"Class 10"
>
Class 10
</option>
<option
value=
"Class 11"
>
Class 11
</option>
</select>
</div>
<div
class=
"filter-box"
>
<div
class=
"filter-box"
>
<label
for=
"dateFilter"
class=
"filter-label"
>
Interaction Date
</label>
<label
for=
"dateFilter"
class=
"filter-label"
>
Interaction Date
</label>
<input
type=
"date"
id=
"dateFilter"
class=
"form-control"
/>
<input
type=
"date"
id=
"dateFilter"
class=
"form-control"
/>
...
@@ -150,6 +170,10 @@
...
@@ -150,6 +170,10 @@
<label
for=
"modalAdmissionTime"
>
Time
</label>
<label
for=
"modalAdmissionTime"
>
Time
</label>
<input
type=
"time"
class=
"form-control"
id=
"modalAdmissionTime"
required
/>
<input
type=
"time"
class=
"form-control"
id=
"modalAdmissionTime"
required
/>
</div>
</div>
<div
class=
"form-group"
>
<input
type=
"checkbox"
id=
"scheduleSpecialAdmission"
/>
<label
for=
"scheduleSpecialAdmission"
>
Schedule Special Admission
</label>
</div>
<div
class=
"modal-footer p-0 pt-2 border-top-0"
>
<div
class=
"modal-footer p-0 pt-2 border-top-0"
>
<button
type=
"submit"
class=
"btn btn-primary admission-submit-btn"
>
Schedule
</button>
<button
type=
"submit"
class=
"btn btn-primary admission-submit-btn"
>
Schedule
</button>
<button
class=
"btn btn-primary admission-loading-btn"
type=
"button"
disabled
>
<button
class=
"btn btn-primary admission-loading-btn"
type=
"button"
disabled
>
...
@@ -190,8 +214,21 @@
...
@@ -190,8 +214,21 @@
<div
style=
"display: flex; justify-content: center;"
>
<div
style=
"display: flex; justify-content: center;"
>
<div
class=
"form-group"
style=
"width: 49%;"
>
<div
class=
"form-group"
style=
"width: 49%;"
>
<label
for=
"classFilterReport"
class=
"filter-label"
>
Class
</label>
<label
for=
"classFilterReport"
class=
"filter-label"
>
Class
</label>
<select
id=
"classFilterReport"
class=
"form-control"
disabled
>
<select
id=
"classFilterReport"
class=
"form-control"
>
<option
value=
"Lower Nursery"
selected
>
Lower Nursery
</option>
<option
value=
"Lower Nursery"
selected
>
Lower Nursery
</option>
<option
value=
"Upper Nursery"
>
Upper Nursery
</option>
<option
value=
"Kindergarten"
>
Kindergarten
</option>
<option
value=
"Class 1"
>
Class 1
</option>
<option
value=
"Class 2"
>
Class 2
</option>
<option
value=
"Class 3"
>
Class 3
</option>
<option
value=
"Class 4"
>
Class 4
</option>
<option
value=
"Class 5"
>
Class 5
</option>
<option
value=
"Class 6"
>
Class 6
</option>
<option
value=
"Class 7"
>
Class 7
</option>
<option
value=
"Class 8"
>
Class 8
</option>
<option
value=
"Class 9"
>
Class 9
</option>
<option
value=
"Class 10"
>
Class 10
</option>
<option
value=
"Class 11"
>
Class 11
</option>
</select>
</select>
</div>
</div>
</div>
</div>
...
@@ -233,8 +270,21 @@
...
@@ -233,8 +270,21 @@
<div
style=
"display: flex; justify-content: center;"
>
<div
style=
"display: flex; justify-content: center;"
>
<div
class=
"form-group"
style=
"width: 49%;"
>
<div
class=
"form-group"
style=
"width: 49%;"
>
<label
for=
"admissionClassFilterReport"
class=
"filter-label"
>
Class
</label>
<label
for=
"admissionClassFilterReport"
class=
"filter-label"
>
Class
</label>
<select
id=
"admissionClassFilterReport"
class=
"form-control"
disabled
>
<select
id=
"admissionClassFilterReport"
class=
"form-control"
>
<option
value=
"Lower Nursery"
selected
>
Lower Nursery
</option>
<option
value=
"Lower Nursery"
selected
>
Lower Nursery
</option>
<option
value=
"Upper Nursery"
>
Upper Nursery
</option>
<option
value=
"Kindergarten"
>
Kindergarten
</option>
<option
value=
"Class 1"
>
Class 1
</option>
<option
value=
"Class 2"
>
Class 2
</option>
<option
value=
"Class 3"
>
Class 3
</option>
<option
value=
"Class 4"
>
Class 4
</option>
<option
value=
"Class 5"
>
Class 5
</option>
<option
value=
"Class 6"
>
Class 6
</option>
<option
value=
"Class 7"
>
Class 7
</option>
<option
value=
"Class 8"
>
Class 8
</option>
<option
value=
"Class 9"
>
Class 9
</option>
<option
value=
"Class 10"
>
Class 10
</option>
<option
value=
"Class 11"
>
Class 11
</option>
</select>
</select>
</div>
</div>
</div>
</div>
...
...
lamartinDashboard/js/admission_portal.js
View file @
deb39771
...
@@ -150,9 +150,51 @@ $(document).ready(function () {
...
@@ -150,9 +150,51 @@ $(document).ready(function () {
$
(
'
#application-form
'
).
validate
({
$
(
'
#application-form
'
).
validate
({
rules
:
{
rules
:
{
school
:
'
required
'
,
//
category
:
'
required
'
,
//
fullName
:
'
required
'
,
//
admissionClass
:
'
required
'
,
//
dateOfBirth
:
'
required
'
,
//
homeAddress
:
'
required
'
,
//
correspondenceAddress
:
'
required
'
,
//
fatherName
:
'
required
'
,
//
fatherEmail
:
'
required
'
,
//
fatherMobile
:
{
required
:
true
,
regex
:
/^
[
0-9
]{10}
$/
,
},
//
candidateImage
:
{
extension
:
[
'
jpg
'
,
'
png
'
,
'
jpeg
'
,
'
svg
'
],
fileSize
:
1
*
1024
*
1024
,
},
fatherImage
:
{
extension
:
[
'
jpg
'
,
'
png
'
,
'
jpeg
'
,
'
svg
'
],
fileSize
:
1
*
1024
*
1024
,
},
formSubmitCheck
:
'
required
'
,
formSubmitCheck
:
'
required
'
,
},
},
messages
:
{
messages
:
{
school
:
'
Please select your school
'
,
category
:
'
Please specify the category
'
,
fullName
:
'
Please enter your full name
'
,
admissionClass
:
'
Please specify the class
'
,
dateOfBirth
:
'
Please enter the date of birth
'
,
homeAddress
:
'
Please enter the home address
'
,
correspondenceAddress
:
'
Please enter the correspondence address
'
,
fatherName
:
"
Please enter father's name
"
,
fatherEmail
:
"
Please enter father's email
"
,
fatherMobile
:
{
required
:
"
Please enter father's phone number
"
,
regex
:
'
Please enter a valid phone number
'
,
},
candidateImage
:
{
extension
:
'
Only jpg, jpeg, png, svg files are allowed.
'
,
fileSize
:
'
Please upload a file smaller than 1 MB
'
,
},
fatherImage
:
{
extension
:
'
Only jpg, jpeg, png, svg files are allowed.
'
,
fileSize
:
'
Please upload a file smaller than 1 MB
'
,
},
formSubmitCheck
:
'
Please check this box to submit the form
'
,
formSubmitCheck
:
'
Please check this box to submit the form
'
,
},
},
errorPlacement
:
function
(
error
,
element
)
{
errorPlacement
:
function
(
error
,
element
)
{
...
...
lamartinDashboard/js/dashboard.js
View file @
deb39771
...
@@ -140,15 +140,17 @@ $(document).ready(function () {
...
@@ -140,15 +140,17 @@ $(document).ready(function () {
// Apply filters button click event
// Apply filters button click event
$
(
'
#applyFilters
'
).
click
(
function
()
{
$
(
'
#applyFilters
'
).
click
(
function
()
{
var
schoolFilter
=
$
(
'
#schoolFilter
'
).
val
();
var
schoolFilter
=
$
(
'
#schoolFilter
'
).
val
();
var
classFilter
=
$
(
'
#classFilter
'
).
val
();
var
dateFilter
=
$
(
'
#dateFilter
'
).
val
();
var
dateFilter
=
$
(
'
#dateFilter
'
).
val
();
var
timeFilter
=
$
(
'
#timeFilter
'
).
val
();
var
timeFilter
=
$
(
'
#timeFilter
'
).
val
();
var
emailFilter
=
$
(
'
#emailFilter
'
).
val
();
var
emailFilter
=
$
(
'
#emailFilter
'
).
val
();
getAdmissionData
(
schoolFilter
,
null
,
dateFilter
,
timeFilter
,
emailFilter
);
getAdmissionData
(
schoolFilter
,
classFilter
,
dateFilter
,
timeFilter
,
emailFilter
);
});
});
// Reset filters button click event
// Reset filters button click event
$
(
'
#resetFilters
'
).
click
(
function
()
{
$
(
'
#resetFilters
'
).
click
(
function
()
{
$
(
'
#schoolFilter
'
).
val
(
''
);
$
(
'
#schoolFilter
'
).
val
(
''
);
$
(
'
#classFilter
'
).
val
(
''
);
$
(
'
#dateFilter
'
).
val
(
''
);
$
(
'
#dateFilter
'
).
val
(
''
);
$
(
'
#timeFilter
'
).
val
(
''
);
$
(
'
#timeFilter
'
).
val
(
''
);
$
(
'
#emailFilter
'
).
val
(
''
);
$
(
'
#emailFilter
'
).
val
(
''
);
...
@@ -271,12 +273,13 @@ $(document).ready(function () {
...
@@ -271,12 +273,13 @@ $(document).ready(function () {
$
(
'
#counsellorScoring
'
).
click
(
function
()
{
$
(
'
#counsellorScoring
'
).
click
(
function
()
{
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
className
=
$
(
'
#classFilterReport
'
).
val
();
if
(
!
schoolName
||
!
interactionDate
)
{
if
(
!
schoolName
||
!
interactionDate
||
!
className
)
{
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-body
'
).
text
(
$
(
'
#messageModal .modal-body
'
).
text
(
'
Please select school and date to download counsellor scoring sheet.
'
'
Please select school
,class
and date to download counsellor scoring sheet.
'
);
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
return
;
return
;
...
@@ -287,7 +290,7 @@ $(document).ready(function () {
...
@@ -287,7 +290,7 @@ $(document).ready(function () {
BASE_URL_LAMARTIN
+
BASE_URL_LAMARTIN
+
`/admission-form/download-counsellor-scoring-template?apikey=
${
`/admission-form/download-counsellor-scoring-template?apikey=
${
loginData
.
apiKey
loginData
.
apiKey
}
&schoolName=
${
schoolName
}
&interactionDate=
${
interactionDate
}
`
,
}
&schoolName=
${
schoolName
}
&
className=
${
className
}
&
interactionDate=
${
interactionDate
}
`
,
'
_blank
'
'
_blank
'
)
)
.
focus
();
.
focus
();
...
@@ -296,12 +299,13 @@ $(document).ready(function () {
...
@@ -296,12 +299,13 @@ $(document).ready(function () {
$
(
'
#interactionScoring
'
).
click
(
function
()
{
$
(
'
#interactionScoring
'
).
click
(
function
()
{
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
className
=
$
(
'
#classFilterReport
'
).
val
();
if
(
!
schoolName
||
!
interactionDate
)
{
if
(
!
schoolName
||
!
interactionDate
||
!
className
)
{
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-body
'
).
text
(
$
(
'
#messageModal .modal-body
'
).
text
(
'
Please select school
and date to download counsellor
scoring sheet.
'
'
Please select school
, class and date to download interaction
scoring sheet.
'
);
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
return
;
return
;
...
@@ -312,7 +316,7 @@ $(document).ready(function () {
...
@@ -312,7 +316,7 @@ $(document).ready(function () {
BASE_URL_LAMARTIN
+
BASE_URL_LAMARTIN
+
`/admission-form/download-interaction-scoring-template?apikey=
${
`/admission-form/download-interaction-scoring-template?apikey=
${
loginData
.
apiKey
loginData
.
apiKey
}
&schoolName=
${
schoolName
}
&interactionDate=
${
interactionDate
}
`
,
}
&schoolName=
${
schoolName
}
&
className=
${
className
}
&
interactionDate=
${
interactionDate
}
`
,
'
_blank
'
'
_blank
'
)
)
.
focus
();
.
focus
();
...
@@ -321,12 +325,13 @@ $(document).ready(function () {
...
@@ -321,12 +325,13 @@ $(document).ready(function () {
$
(
'
#download-interaction-sheet-btn
'
).
click
(
function
()
{
$
(
'
#download-interaction-sheet-btn
'
).
click
(
function
()
{
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
className
=
$
(
'
#classFilterReport
'
).
val
();
if
(
!
schoolName
||
!
interactionDate
)
{
if
(
!
schoolName
||
!
interactionDate
||
!
className
)
{
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-body
'
).
text
(
$
(
'
#messageModal .modal-body
'
).
text
(
'
Please select school
and date to download counsellor
scoring sheet.
'
'
Please select school
,class and date to download interaction
scoring sheet.
'
);
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
return
;
return
;
...
@@ -339,7 +344,10 @@ $(document).ready(function () {
...
@@ -339,7 +344,10 @@ $(document).ready(function () {
loginData
.
apiKey
loginData
.
apiKey
}
&schoolName=
${
}
&schoolName=
${
schoolName
schoolName
}
&interactionDate=
${
}
&className=
${
className
}
&interactionDate=
${
interactionDate
interactionDate
}
`
,
}
`
,
'
_blank
'
'
_blank
'
...
@@ -350,12 +358,13 @@ $(document).ready(function () {
...
@@ -350,12 +358,13 @@ $(document).ready(function () {
$
(
'
#download-interaction-excel-btn
'
).
click
(
function
()
{
$
(
'
#download-interaction-excel-btn
'
).
click
(
function
()
{
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
schoolName
=
$
(
'
#schoolFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
interactionDate
=
$
(
'
#dateFilterReport
'
).
val
();
let
className
=
$
(
'
#classFilterReport
'
).
val
();
if
(
!
schoolName
||
!
interactionDate
)
{
if
(
!
schoolName
||
!
interactionDate
||
!
className
)
{
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-body
'
).
text
(
$
(
'
#messageModal .modal-body
'
).
text
(
'
Please select school
and date to download counsellor
scoring sheet.
'
'
Please select school
,class and date to download interaction
scoring sheet.
'
);
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
return
;
return
;
...
@@ -368,6 +377,8 @@ $(document).ready(function () {
...
@@ -368,6 +377,8 @@ $(document).ready(function () {
loginData
.
apiKey
loginData
.
apiKey
}
&schoolName=
${
}
&schoolName=
${
schoolName
schoolName
}
&className=
${
className
}
&interactionDate=
${
}
&interactionDate=
${
interactionDate
interactionDate
}
`
,
}
`
,
...
@@ -380,12 +391,13 @@ $(document).ready(function () {
...
@@ -380,12 +391,13 @@ $(document).ready(function () {
$
(
'
#download-admission-excel-btn
'
).
click
(
function
()
{
$
(
'
#download-admission-excel-btn
'
).
click
(
function
()
{
let
schoolName
=
$
(
'
#admissionSchoolFilterReport
'
).
val
();
let
schoolName
=
$
(
'
#admissionSchoolFilterReport
'
).
val
();
let
admissionDate
=
$
(
'
#admissionDateFilterReport
'
).
val
();
let
admissionDate
=
$
(
'
#admissionDateFilterReport
'
).
val
();
let
className
=
$
(
'
#classFilterReport
'
).
val
();
if
(
!
schoolName
||
!
admissionDate
)
{
if
(
!
schoolName
||
!
admissionDate
||
!
className
)
{
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#reportModal
'
).
modal
(
'
hide
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-body
'
).
text
(
$
(
'
#messageModal .modal-body
'
).
text
(
'
Please select school and date to download counsellor scoring sheet.
'
'
Please select school
,class
and date to download counsellor scoring sheet.
'
);
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
return
;
return
;
...
@@ -398,6 +410,8 @@ $(document).ready(function () {
...
@@ -398,6 +410,8 @@ $(document).ready(function () {
loginData
.
apiKey
loginData
.
apiKey
}
&schoolName=
${
}
&schoolName=
${
schoolName
schoolName
}
&className=
${
className
}
&admissionDate=
${
}
&admissionDate=
${
admissionDate
admissionDate
}
`
,
}
`
,
...
@@ -414,12 +428,13 @@ $(document).ready(function () {
...
@@ -414,12 +428,13 @@ $(document).ready(function () {
$
(
'
#downloadAdmissionFormList
'
).
click
(
function
()
{
$
(
'
#downloadAdmissionFormList
'
).
click
(
function
()
{
let
schoolName
=
$
(
'
#admissionSchoolFilterReport
'
).
val
();
let
schoolName
=
$
(
'
#admissionSchoolFilterReport
'
).
val
();
let
admissionDate
=
$
(
'
#admissionDateFilterReport
'
).
val
();
let
admissionDate
=
$
(
'
#admissionDateFilterReport
'
).
val
();
let
className
=
$
(
'
#classFilterReport
'
).
val
();
if
(
!
schoolName
||
!
admissionDate
)
{
if
(
!
schoolName
||
!
admissionDate
||
!
className
)
{
$
(
'
#admissionReportModal
'
).
modal
(
'
hide
'
);
$
(
'
#admissionReportModal
'
).
modal
(
'
hide
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-body
'
).
text
(
$
(
'
#messageModal .modal-body
'
).
text
(
'
Please select school and date to proceed.
'
'
Please select school
,class
and date to proceed.
'
);
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
return
;
return
;
...
@@ -432,6 +447,8 @@ $(document).ready(function () {
...
@@ -432,6 +447,8 @@ $(document).ready(function () {
loginData
.
apiKey
loginData
.
apiKey
}
&schoolName=
${
}
&schoolName=
${
schoolName
schoolName
}
&className=
${
className
}
&admissionDate=
${
}
&admissionDate=
${
admissionDate
admissionDate
}
`
,
}
`
,
...
@@ -460,6 +477,7 @@ $(document).ready(function () {
...
@@ -460,6 +477,7 @@ $(document).ready(function () {
var
formIds
=
$
(
'
#studentIdForAdmission
'
).
val
();
var
formIds
=
$
(
'
#studentIdForAdmission
'
).
val
();
var
admissionDate
=
$
(
'
#modalAdmissionDate
'
).
val
();
var
admissionDate
=
$
(
'
#modalAdmissionDate
'
).
val
();
var
admissionTime
=
$
(
'
#modalAdmissionTime
'
).
val
();
var
admissionTime
=
$
(
'
#modalAdmissionTime
'
).
val
();
var
isSpecialAdmission
=
$
(
'
#scheduleSpecialAdmission
'
).
is
(
'
:checked
'
);
var
selectedAdmissionDateTime
=
new
Date
(
var
selectedAdmissionDateTime
=
new
Date
(
admissionDate
+
'
T
'
+
admissionTime
admissionDate
+
'
T
'
+
admissionTime
...
@@ -478,8 +496,13 @@ $(document).ready(function () {
...
@@ -478,8 +496,13 @@ $(document).ready(function () {
$
(
'
.admission-submit-btn
'
).
hide
();
$
(
'
.admission-submit-btn
'
).
hide
();
$
(
'
.admission-loading-btn
'
).
show
();
$
(
'
.admission-loading-btn
'
).
show
();
var
apiUrl
=
isSpecialAdmission
?
BASE_URL_LAMARTIN
+
'
/admission-form/set-special-admission-interview
'
:
BASE_URL_LAMARTIN
+
'
/admission-form/set-admission-interview
'
;
$
.
ajax
({
$
.
ajax
({
url
:
BASE_URL_LAMARTIN
+
'
/admission-form/set-admission-interview
'
,
// url: BASE_URL_LAMARTIN + '/admission-form/set-admission-interview',
url
:
apiUrl
,
type
:
'
GET
'
,
type
:
'
GET
'
,
contentType
:
'
application/json
'
,
contentType
:
'
application/json
'
,
dataType
:
'
json
'
,
dataType
:
'
json
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment