fix font size

pull/23/head
usama.jameel 2025-05-20 15:36:00 +05:00
parent 674804aaa4
commit f9de151794
2 changed files with 5 additions and 5 deletions

View File

@ -116,9 +116,9 @@ public class DashboardService {
HashMap<String, String> details = new HashMap<>();
List<JobCard> jobCards = jobCardDAO.findAll();
details.put("Shift Target", 1000 + " pc");
details.put("Shift Target", 1000 + " Pcs");
details.put("articleNote", articleNote);
details.put("Hourly Target", 1000 / 24 + " pc");
details.put("Hourly Target", 1000 / 24 + " Pcs");
details.put("Total Induction", String.valueOf(jobCards.size()));
details.put("Total Machine", String.valueOf(30));
details.put("Total Worker", String.valueOf(30));

View File

@ -28,7 +28,7 @@
<div class="text-end">
<h3 class="fw-bold m-0 text-end "
th:text=" 'Total Machines: '+ ${detail.get('Total Machine')} ">0</h3>
<h3 class="fw-bold m-0 text-end" th:text="'Article Name: ' + ${detail.get('articleNote')}">
<h3 class="fw-bold m-0 text-end" th:text="'Article: ' + ${detail.get('articleNote')}">
0</h3>
</div>
</div>
@ -57,7 +57,7 @@
<img style="width:337px" th:src="@{/img/stitchingImage.jpg}" class="card-img-top"
alt="Stitching">
<div class="ps-4 text-center">
<h1 class="fw-bold text-uppercase m-0" style="font-size: 4rem;"
<h1 class="fw-bold m-0" style="font-size: 4rem;"
th:text="${(phases.get('Stitching') != null ? phases.get('Stitching').intValue() : 0) + ' Pcs'}"></h1>
<h4 class="pt-2 fw-bold text-uppercase m-0" style="font-size: 2rem;">Stitching Offline</h4>
</div>
@ -107,7 +107,7 @@
<div class="container-fluid d-flex p-3 align-items-center">
<img style="width:200px" th:src="@{/img/finishing.jfif}" class="card-img-top" alt="Finishing">
<div class="ps-2 text-center">
<h1 class="fw-bold text-uppercase m-0"
<h1 class="fw-bold m-0"
th:text="${phases.get('finishing')?.intValue() ?: 0} + ' Pcs'"></h1>
<h4 class="pt-2 fw-bold text-uppercase m-0" >Finishing</h4>
</div>