Commit e2f524ab authored by Deep Dey's avatar Deep Dey

chore: update year for scoring sheet and yemplate color on scool name

parent bf27d882
...@@ -16,11 +16,10 @@ ...@@ -16,11 +16,10 @@
box-sizing: border-box; box-sizing: border-box;
} }
.header { .header {
border-bottom: 3px solid #204C89;
text-align: left; text-align: left;
padding: 10px 5px; padding: 10px 5px;
margin-bottom: 10px; margin-bottom: 10px;
background: #F1C232; /*background: #F1C232;*/
} }
.header img { .header img {
width: 100px; width: 100px;
...@@ -29,17 +28,35 @@ ...@@ -29,17 +28,35 @@
vertical-align: middle; vertical-align: middle;
} }
.header .title { .header .title {
color: #204C89; /*color: #204C89;*/
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.main-section { .main-section {
border: 2px solid #F1C232;
padding: 10px 10px 5px; padding: 10px 10px 5px;
margin-bottom: 10px; margin-bottom: 10px;
}
.header.blue-bg {
border-bottom: 2px solid #bfbebe;
}
.header.yellow-bg {
border-bottom: 2px solid #204C89;
}
.yellow-border {
border: 2px solid #F1C232;
}
.blue-border {
border: 2px solid #204C89;
}
.yellow-bg {
background: #F1C232;
color: #204C89;
}
.blue-bg {
background: #204C89;
color: white;
} }
.details { .details {
display: inline-block; display: inline-block;
...@@ -110,17 +127,17 @@ ...@@ -110,17 +127,17 @@
.footer p { .footer p {
text-align: center; text-align: center;
margin-top: 15px; margin-top: 15px;
background-color: #F1C232; /*background-color: #F1C232;*/
padding: 5px; padding: 5px;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;
color: white; /*color: white;*/
} }
</style> </style>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<div class="header"> <div class="header" th:classappend="${admissionForm.school == 'La Martiniere for Boys'} ? 'yellow-bg' : 'blue-bg'">
<img th:src="@{${serverPath + 'static/la-martin-logo.png'}}" alt="Logo" /> <img th:src="@{${serverPath + 'static/la-martin-logo.png'}}" alt="Logo" />
<div class="title"> <div class="title">
<div>INTIMATION FOR INTERACTION</div> <div>INTIMATION FOR INTERACTION</div>
...@@ -128,7 +145,7 @@ ...@@ -128,7 +145,7 @@
</div> </div>
</div> </div>
<div class="main-section"> <div class="main-section" th:classappend="${admissionForm.school == 'La Martiniere for Boys'} ? 'yellow-border' : 'blue-border'">
<div class="main-sub-section"> <div class="main-sub-section">
<div class="details"> <div class="details">
<p><strong>Candidate: <span th:text="${admissionForm.fullName}"></span></strong></p> <p><strong>Candidate: <span th:text="${admissionForm.fullName}"></span></strong></p>
...@@ -191,7 +208,7 @@ ...@@ -191,7 +208,7 @@
<img th:src="@{${serverPath + 'static/signature.png'}}" width="100px" /> <img th:src="@{${serverPath + 'static/signature.png'}}" width="100px" />
<div><strong>SUPRIYO DHAR</strong></div> <div><strong>SUPRIYO DHAR</strong></div>
<div>SECRETARY, LA MARTINIERE, KOLKATA</div> <div>SECRETARY, LA MARTINIERE, KOLKATA</div>
<p>A PRINTOUT OF THIS PAGE (IN ORIGINAL) MUST BE BROUGHT DURING THE INTERACTION AND SHOWN TO THE SECURITY PERSONNEL AT THE SCHOOL GATE</p> <p th:classappend="${admissionForm.school == 'La Martiniere for Boys'} ? 'yellow-bg' : 'blue-bg'">A PRINTOUT OF THIS PAGE (IN ORIGINAL) MUST BE BROUGHT DURING THE INTERACTION AND SHOWN TO THE SECURITY PERSONNEL AT THE SCHOOL GATE</p>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<h1 style="text-transform: uppercase" th:text="${admissionFormList[0].school}"></h1> <h1 style="text-transform: uppercase" th:text="${admissionFormList[0].school}"></h1>
<h2 style="text-transform: uppercase"> <h2 style="text-transform: uppercase">
INTERACTION SCORING SHEET FOR <span th:text="${admissionFormList[0].admissionClass}"></span> INTERACTION SCORING SHEET FOR <span th:text="${admissionFormList[0].admissionClass}"></span>
(<span th:text="${givenYear} + ' - ' + (${givenYear + 1})"></span>) (<span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})"></span>)
</h2> </h2>
<div class="date"> <div class="date">
DATE: <span th:text="${admissionFormList[0].interactionDate}"></span> DATE: <span th:text="${admissionFormList[0].interactionDate}"></span>
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<h1 style="text-transform: uppercase" th:text="${admissionFormList[0].school}"></h1> <h1 style="text-transform: uppercase" th:text="${admissionFormList[0].school}"></h1>
<h2 style="text-transform: uppercase"> <h2 style="text-transform: uppercase">
INTERACTION SCORING SHEET FOR <span th:text="${admissionFormList[0].admissionClass}"></span> INTERACTION SCORING SHEET FOR <span th:text="${admissionFormList[0].admissionClass}"></span>
(<span th:text="${givenYear} + ' - ' + (${givenYear + 1})"></span>) (<span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})"></span>)
</h2> </h2>
<div style="margin-top: 10px;"> <div style="margin-top: 10px;">
<div class="date" style="float: right;"> <div class="date" style="float: right;">
......
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