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
Sneha
LaMartin-Webomagic
Commits
4406a0cd
Commit
4406a0cd
authored
Jul 03, 2024
by
Deep Dey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add page-breaks after each admission form data
parent
a262bc46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
lamartinBackend/src/main/resources/templates/AdmissionFormListTemplate.html
...c/main/resources/templates/AdmissionFormListTemplate.html
+15
-1
lamartinDashboard/js/dashboard.js
lamartinDashboard/js/dashboard.js
+10
-0
No files found.
lamartinBackend/src/main/resources/templates/AdmissionFormListTemplate.html
View file @
4406a0cd
...
@@ -9,9 +9,11 @@
...
@@ -9,9 +9,11 @@
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
}
}
body
{
body
{
width
:
100%
;
width
:
100%
;
}
}
.container
{
.container
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -19,6 +21,7 @@
...
@@ -19,6 +21,7 @@
flex-direction
:
column
;
flex-direction
:
column
;
width
:
100%
;
width
:
100%
;
}
}
.table-container
{
.table-container
{
width
:
100%
;
width
:
100%
;
padding
:
20px
;
padding
:
20px
;
...
@@ -28,37 +31,46 @@
...
@@ -28,37 +31,46 @@
justify-content
:
center
;
justify-content
:
center
;
}
}
table
{
table
{
width
:
100%
;
width
:
100%
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
th
,
th
,
td
{
td
{
padding
:
10px
;
padding
:
10px
;
text-align
:
left
;
text-align
:
left
;
}
}
th
{
th
{
background-color
:
#4CAF50
;
background-color
:
#4CAF50
;
color
:
white
;
color
:
white
;
font-size
:
14px
;
font-size
:
14px
;
}
}
td
{
td
{
background-color
:
#f9f9f9
;
background-color
:
#f9f9f9
;
border-bottom
:
1px
solid
#ddd
;
border-bottom
:
1px
solid
#ddd
;
font-size
:
12px
;
font-size
:
12px
;
}
}
tr
:hover
td
{
tr
:hover
td
{
background-color
:
#f1f1f1
;
background-color
:
#f1f1f1
;
}
}
tr
:nth-child
(
even
)
td
{
tr
:nth-child
(
even
)
td
{
background-color
:
#f2f2f2
;
background-color
:
#f2f2f2
;
}
}
th
:first-child
,
td
:first-child
{
th
:first-child
,
td
:first-child
{
width
:
30%
;
width
:
30%
;
}
}
th
:nth-child
(
2
),
td
:nth-child
(
2
)
{
th
:nth-child
(
2
),
td
:nth-child
(
2
)
{
width
:
70%
;
width
:
70%
;
}
}
.title
{
.title
{
/*text-align: center;*/
/*text-align: center;*/
font-size
:
18px
;
font-size
:
18px
;
...
@@ -66,12 +78,14 @@
...
@@ -66,12 +78,14 @@
color
:
#333
;
color
:
#333
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.page-break
{
page-break-after
:
always
;
}
</style>
</style>
</head>
</head>
<body>
<body>
<div
class=
"container"
th:each=
"admissionForm : ${admissionFormList}"
>
<div
class=
"container"
th:each=
"admissionForm : ${admissionFormList}"
>
<div
class=
"table-container"
>
<div
class=
"table-container
page-break
"
>
<div
class=
"title"
>
Candidate Information (
<span
th:text=
"${admissionForm.fullName}"
></span>
)
</div>
<div
class=
"title"
>
Candidate Information (
<span
th:text=
"${admissionForm.fullName}"
></span>
)
</div>
<table>
<table>
<tr>
<tr>
...
...
lamartinDashboard/js/dashboard.js
View file @
4406a0cd
...
@@ -201,6 +201,16 @@ $(document).ready(function () {
...
@@ -201,6 +201,16 @@ $(document).ready(function () {
checkedValues
.
push
(
$
(
this
).
data
(
'
id
'
));
checkedValues
.
push
(
$
(
this
).
data
(
'
id
'
));
});
});
if
(
checkedValues
.
length
==
0
)
{
$
(
'
#messageModal .modal-title
'
).
text
(
'
Error
'
);
$
(
'
#messageModal .modal-body
'
).
text
(
'
Please select at least one form to download admission data.
'
);
$
(
'
#messageModal
'
).
modal
(
'
show
'
);
return
;
}
window
window
.
open
(
.
open
(
BASE_URL_LAMARTIN
+
BASE_URL_LAMARTIN
+
...
...
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