add maadu-garage

This commit is contained in:
2026-03-22 23:46:41 +05:00
parent d24c29e1a2
commit 06a7f3a5ed
4 changed files with 103 additions and 0 deletions
+4
View File
@@ -7,6 +7,10 @@
{
"id": "motca",
"name": "Min. of Transport & Civil Aviation"
},
{
"id": "maadu-garage",
"name": "Maadu Garage"
}
]
}
+76
View File
@@ -0,0 +1,76 @@
/* Maadu Garage Template Styles */
.sticker-maadu-garage {
width: 280px;
border: 1px solid #000;
font-family: Arial, sans-serif;
font-size: 11px;
background: #fff;
color: #000;
}
.sticker-maadu-garage .sticker-header {
background-color: #000;
color: #fff;
text-align: center;
padding: 4px 8px;
font-size: 16px;
font-weight: bold;
letter-spacing: 6px;
}
.sticker-maadu-garage .sticker-barcode-row {
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid #000;
padding: 2px 6px;
background: #fff;
}
.sticker-maadu-garage .sticker-barcode-row .barcode-number {
font-size: 11px;
font-weight: bold;
}
.sticker-maadu-garage .sticker-body {
display: flex;
border-bottom: 1px solid #000;
}
.sticker-maadu-garage .sticker-info {
flex: 1;
padding: 4px 6px;
font-size: 10px;
line-height: 1.3;
border-right: 1px solid #000;
}
.sticker-maadu-garage .sticker-info .date-row {
margin-bottom: 0;
}
.sticker-maadu-garage .sticker-right {
width: 85px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 4px;
}
.sticker-maadu-garage .sticker-right .barcode {
width: 100%;
height: 30px;
}
.sticker-maadu-garage .sticker-right .logo-img {
width: 50px;
height: auto;
}
.sticker-maadu-garage .sticker-footer {
text-align: center;
padding: 3px 8px;
font-size: 10px;
font-weight: bold;
}
+23
View File
@@ -0,0 +1,23 @@
<div class="sticker sticker-maadu-garage">
<div class="sticker-header">
<span class="reg-number">{{regNumber}}</span>
</div>
<div class="sticker-barcode-row">
<span class="barcode-number">{{barcodeNumber}}</span>
</div>
<div class="sticker-body">
<div class="sticker-info">
<div class="date-row"><strong>From:</strong> {{fromDate}}</div>
<div class="date-row"><strong>To:</strong> {{toDate}}</div>
<div>{{modelNumber}}</div>
<div>{{chassisNumber}}</div>
<div>{{engineSerial}}</div>
<div>{{engineCapacity}}</div>
</div>
<div class="sticker-right">
<svg class="barcode"></svg>
<img src="templates/maadu-garage.png" alt="Maadu Garage" class="logo-img">
</div>
</div>
<div class="sticker-footer">Maadu Garage, TEL: 300 6688</div>
</div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB