mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Fixed sub-headings not following heading order
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
|
||||
const html = `
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Barcode"]</h6>
|
||||
<h4 class="fw-bold">@T["Barcode"]</h4>
|
||||
<div class="col-md-6">
|
||||
<svg id="@barcodeType" class="form-control" name="Barcode" />
|
||||
</div>
|
||||
@@ -161,7 +161,7 @@
|
||||
</div>
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Description"]</h6>
|
||||
<h4 class="fw-bold">@T["Description"]</h4>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label" for="detailType">@T["Type"]</label>
|
||||
<input type="text" class="form-control" id="detailType" name="Description.Type" value="${asset.Description?.Type || ''}" disabled />
|
||||
@@ -178,7 +178,7 @@
|
||||
${asset.Description?.Attributes ? `
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Attributes"]</h6>
|
||||
<h4 class="fw-bold">@T["Attributes"]</h4>
|
||||
${Object.entries(asset.Description.Attributes)
|
||||
.map(([k,v]) => `
|
||||
<div class="d-flex gap-2 align-items-center attribute-row">
|
||||
@@ -191,7 +191,7 @@
|
||||
${asset.Description?.Purchase ? `
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Purchase Information"]</h6>
|
||||
<h4 class="fw-bold">@T["Purchase Information"]</h4>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label" for="detailPurchaseDate">@T["Purchase Date"]</label>
|
||||
<input type="date" class="form-control" id="detailPurchaseDate" name="Description.Purchase.PurchaseDate" value="${asset.Description.Purchase.PurchaseDate || ''}" disabled />
|
||||
@@ -370,7 +370,7 @@
|
||||
|
||||
<hr class="my-3" />
|
||||
|
||||
<h6 class="fw-bold">@T["Description"]</h6>
|
||||
<h4 class="fw-bold">@T["Description"]</h4>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label" for="updateType">@T["Type"]</label>
|
||||
<input type="text" class="form-control" id="updateType" name="Description.Type" />
|
||||
@@ -386,7 +386,7 @@
|
||||
|
||||
<div class="col-12 mt-3">
|
||||
<div class="d-flex justify-content-between align-items-center mb-2">
|
||||
<h6 class="fw-bold mb-0">@T["Attributes"]</h6>
|
||||
<h4 class="fw-bold mb-0">@T["Attributes"]</h4>
|
||||
</div>
|
||||
<div id="updateAttributesContainer" class="d-flex flex-column gap-2"></div>
|
||||
<button type="button" class="btn btn-sm btn-primary mt-3" id="updateAddAttributeBtn">
|
||||
@@ -396,7 +396,7 @@
|
||||
|
||||
<hr class="my-3" />
|
||||
|
||||
<h6 class="fw-bold">@T["Purchase Information"]</h6>
|
||||
<h4 class="fw-bold">@T["Purchase Information"]</h4>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label" for="updatePurchaseDate">@T["Purchase Date"]</label>
|
||||
<input type="date" class="form-control" id="updatePurchaseDate" name="Description.Purchase.PurchaseDate" />
|
||||
|
||||
Reference in New Issue
Block a user