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
47d06eac
Commit
47d06eac
authored
Jul 03, 2025
by
Deep Dey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add session year in frontend
parent
fda74718
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
lamartinFrontend/constant.js
lamartinFrontend/constant.js
+2
-1
lamartinFrontend/main.js
lamartinFrontend/main.js
+2
-0
No files found.
lamartinFrontend/constant.js
View file @
47d06eac
const
BASE_URL_LAMARTIN
=
'
https://adm.lamartiniere.co/webomagic-lamartin
'
;
const
BASE_URL_LAMARTIN
=
'
https://adm.lamartiniere.co/webomagic-lamartin
'
;
\ No newline at end of file
const
SESSION_YEAR
=
'
2026-2027
'
;
\ No newline at end of file
lamartinFrontend/main.js
View file @
47d06eac
...
@@ -251,6 +251,8 @@ $(document).ready(function () {
...
@@ -251,6 +251,8 @@ $(document).ready(function () {
$
(
'
.btn-text
'
).
css
(
'
display
'
,
'
none
'
);
$
(
'
.btn-text
'
).
css
(
'
display
'
,
'
none
'
);
$
(
'
#btn-sumbit
'
).
prop
(
'
disabled
'
,
true
);
$
(
'
#btn-sumbit
'
).
prop
(
'
disabled
'
,
true
);
formData
.
append
(
'
sessionYear
'
,
SESSION_YEAR
);
$
.
ajax
({
$
.
ajax
({
// TODO: move the url to a constant file
// TODO: move the url to a constant file
url
:
BASE_URL_LAMARTIN
+
'
/admission-form/submit
'
,
url
:
BASE_URL_LAMARTIN
+
'
/admission-form/submit
'
,
...
...
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