Commit af6cda23 authored by Deep Dey's avatar Deep Dey

chore: update admission Form list download template

parent eda87df7
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
.table-container { .table-container {
width: 100%; width: 100%;
padding: 20px; padding: 5px 20px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
} }
.title { .title {
/*text-align: center;*/ text-align: center;
font-size: 18px; font-size: 18px;
margin-bottom: 10px; margin-bottom: 10px;
color: #333; color: #333;
...@@ -85,21 +85,55 @@ ...@@ -85,21 +85,55 @@
<body> <body>
<div class="container" th:each="admissionForm : ${admissionFormList}"> <div class="container" th:each="admissionForm : ${admissionFormList}">
<div style="text-align: center">
<img th:src="@{${serverPath + 'static/la-martin-logo.png'}}" alt="Logo" height="80px"/>
</div>
<h2 style="text-transform: uppercase; text-align: center" th:text="${admissionForm.school}">La Martiniere for Boys</h2>
<div class="table-container page-break"> <div class="table-container page-break">
<div class="title">Candidate Information (<span th:text="${admissionForm.fullName}"></span>)</div> <div class="title">Candidate Information<br/>(<span th:text="${admissionForm.fullName}">Deep Dey</span>)</div>
<table> <table>
<tr> <tr>
<th>Field</th> <th>Field</th>
<th>Information</th> <th>Information</th>
</tr> </tr>
<tr> <tr>
<td>Choose your school</td> <td>Candidate Image</td>
<td>
<img th:src="@{${serverPath + 'resources/images/' + admissionForm.candidateImageName}}" width="100px" alt="Candidate" />
</td>
</tr>
<tr>
<td>Father's Image</td>
<td>
<img th:src="@{${serverPath + 'resources/images/' + admissionForm.fatherImageName}}" width="100px" alt="Candidate" />
</td>
</tr>
<tr>
<td>Mother's Image</td>
<td>
<img th:src="@{${serverPath + 'resources/images/' + admissionForm.motherImageName}}" width="100px" alt="Candidate" />
</td>
</tr>
<tr>
<td>School Name</td>
<td th:text="${admissionForm.school}"></td> <td th:text="${admissionForm.school}"></td>
</tr> </tr>
<tr> <tr>
<td>Category</td> <td>Category</td>
<td th:text="${admissionForm.category}"></td> <td th:text="${admissionForm.category}"></td>
</tr> </tr>
<tr>
<td>Staff Department</td>
<td th:text="${admissionForm.staffDepartment} ?: 'N/A'"></td>
</tr>
<tr>
<td>Staff Category</td>
<td th:text="${admissionForm.staffCategory} ?: 'N/A'"></td>
</tr>
<tr>
<td>Parent who is/are ex-student</td>
<td th:text="${admissionForm.exStudentInfo} ?: 'N/A'"></td>
</tr>
<tr> <tr>
<td>Full Name</td> <td>Full Name</td>
<td th:text="${admissionForm.fullName}"></td> <td th:text="${admissionForm.fullName}"></td>
...@@ -120,6 +154,14 @@ ...@@ -120,6 +154,14 @@
<td>Religion</td> <td>Religion</td>
<td th:text="${admissionForm.religion}"></td> <td th:text="${admissionForm.religion}"></td>
</tr> </tr>
<tr>
<td>Denomination</td>
<td th:text="${admissionForm.denomination} ?: 'N/A'"></td>
</tr>
<tr>
<td>Church</td>
<td th:text="${admissionForm.church} ?: 'N/A'"></td>
</tr>
<tr> <tr>
<td>Mother Tongue</td> <td>Mother Tongue</td>
<td th:text="${admissionForm.motherTongue}"></td> <td th:text="${admissionForm.motherTongue}"></td>
...@@ -128,6 +170,14 @@ ...@@ -128,6 +170,14 @@
<td>Community</td> <td>Community</td>
<td th:text="${admissionForm.community}"></td> <td th:text="${admissionForm.community}"></td>
</tr> </tr>
<tr>
<td>Home Address</td>
<td th:text="${admissionForm.homeAddress} ?: 'N/A'"></td>
</tr>
<tr>
<td>Correspondence Address</td>
<td th:text="${admissionForm.correspondenceAddress} ?: 'N/A'"></td>
</tr>
<tr> <tr>
<td>Marital Status</td> <td>Marital Status</td>
<td th:text="${admissionForm.maritalStatus}"></td> <td th:text="${admissionForm.maritalStatus}"></td>
...@@ -152,6 +202,14 @@ ...@@ -152,6 +202,14 @@
<td>Father's Religion</td> <td>Father's Religion</td>
<td th:text="${admissionForm.fatherReligion}"></td> <td th:text="${admissionForm.fatherReligion}"></td>
</tr> </tr>
<tr>
<td>Father's Ddenomination</td>
<td th:text="${admissionForm.fatherDenomination} ?: 'N/A'"></td>
</tr>
<tr>
<td>Father's Church</td>
<td th:text="${admissionForm.fatherChurch} ?: 'N/A'"></td>
</tr>
<tr> <tr>
<td>Father's Mother Tongue</td> <td>Father's Mother Tongue</td>
<td th:text="${admissionForm.fatherMotherTongue}"></td> <td th:text="${admissionForm.fatherMotherTongue}"></td>
...@@ -209,6 +267,14 @@ ...@@ -209,6 +267,14 @@
<td>Mother's Religion</td> <td>Mother's Religion</td>
<td th:text="${admissionForm.motherReligion}"></td> <td th:text="${admissionForm.motherReligion}"></td>
</tr> </tr>
<tr>
<td>Mother's Ddenomination</td>
<td th:text="${admissionForm.motherDenomination} ?: 'N/A'"></td>
</tr>
<tr>
<td>Mother's Church</td>
<td th:text="${admissionForm.motherChurch} ?: 'N/A'"></td>
</tr>
<tr> <tr>
<td>Mother's Mother Tongue</td> <td>Mother's Mother Tongue</td>
<td th:text="${admissionForm.motherMotherTongue}"></td> <td th:text="${admissionForm.motherMotherTongue}"></td>
......
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