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
b9452dfc
Commit
b9452dfc
authored
Jul 03, 2024
by
Deep Dey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: make mother image not required in frontend
parent
4971a9db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
lamartinFrontend/index.html
lamartinFrontend/index.html
+4
-4
lamartinFrontend/main.js
lamartinFrontend/main.js
+6
-6
No files found.
lamartinFrontend/index.html
View file @
b9452dfc
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</div>
</div>
<!-- start of parent information -->
<!-- start of parent information -->
<h
3>
PARENT INFORMATION
</h3
>
<h
4>
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
<span>
*
</span></label>
<select
name=
"maritalStatus"
class=
"la-form-control"
>
<select
name=
"maritalStatus"
class=
"la-form-control"
>
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
</div>
</div>
<!-- Father Information -->
<!-- Father Information -->
<h
3>
DETAILS OF FATHER
</h3
>
<h
4>
DETAILS OF FATHER / GUARDIAN
</h4
>
<div
class=
"la-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=
"la-form-control"
>
<input
type=
"text"
name=
"fatherName"
class=
"la-form-control"
>
...
@@ -190,7 +190,7 @@
...
@@ -190,7 +190,7 @@
</div>
</div>
<!-- end of Father Information -->
<!-- end of Father Information -->
<!-- Mother Information -->
<!-- Mother Information -->
<h
3>
DETAILS OF MOTHER
</h3
>
<h
4>
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
<span>
*
</span></label>
<input
type=
"text"
name=
"motherName"
class=
"la-form-control"
>
<input
type=
"text"
name=
"motherName"
class=
"la-form-control"
>
...
@@ -275,7 +275,7 @@
...
@@ -275,7 +275,7 @@
</div>
</div>
<div
class=
"la-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"
style=
"text-align: center;"
>
Guardian
's Photo
</label>
<input
type=
"file"
name=
"fatherImage"
class=
"la-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>
...
...
lamartinFrontend/main.js
View file @
b9452dfc
...
@@ -112,11 +112,11 @@ $(document).ready(function () {
...
@@ -112,11 +112,11 @@ $(document).ready(function () {
extension
:
[
'
jpg
'
,
'
png
'
,
'
jpeg
'
,
'
svg
'
],
extension
:
[
'
jpg
'
,
'
png
'
,
'
jpeg
'
,
'
svg
'
],
fileSize
:
1
*
1024
*
1024
,
fileSize
:
1
*
1024
*
1024
,
},
},
motherImage
:
{
//
motherImage: {
required
:
true
,
//
required: true,
extension
:
[
'
jpg
'
,
'
png
'
,
'
jpeg
'
,
'
svg
'
],
//
extension: ['jpg', 'png', 'jpeg', 'svg'],
fileSize
:
1
*
1024
*
1024
,
//
fileSize: 1 * 1024 * 1024,
},
//
},
},
},
messages
:
{
messages
:
{
school
:
'
Please select your school
'
,
school
:
'
Please select your school
'
,
...
@@ -157,7 +157,7 @@ $(document).ready(function () {
...
@@ -157,7 +157,7 @@ $(document).ready(function () {
fileSize
:
'
Please upload a file smaller than 1 MB
'
,
fileSize
:
'
Please upload a file smaller than 1 MB
'
,
},
},
fatherImage
:
{
fatherImage
:
{
required
:
"
Father
's photo is required
"
,
required
:
"
Guardian
's photo is required
"
,
extension
:
'
Only jpg, jpeg, png, svg files are allowed.
'
,
extension
:
'
Only jpg, jpeg, png, svg files are allowed.
'
,
fileSize
:
'
Please upload a file smaller than 1 MB
'
,
fileSize
:
'
Please upload a file smaller than 1 MB
'
,
},
},
...
...
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