mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 23:11:54 +00:00
Fixed sub-headings not following heading order
This commit is contained in:
@@ -193,7 +193,7 @@
|
||||
<hr class="my-3" />
|
||||
|
||||
<!-- Description Section -->
|
||||
<h6 class="fw-bold">@T["Description"]</h6>
|
||||
<h4 class="fw-bold">@T["Description"]</h4>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">@T["Type"]</label>
|
||||
<input type="text" class="form-control" name="Description.Type" />
|
||||
@@ -211,7 +211,7 @@
|
||||
<!-- Attributes Section -->
|
||||
<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="attributesContainer" class="d-flex flex-column gap-2">
|
||||
<!-- Dynamic attribute rows will appear here -->
|
||||
@@ -224,7 +224,7 @@
|
||||
<hr class="my-3" />
|
||||
|
||||
<!-- Purchase Info -->
|
||||
<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">@T["Purchase Date"]</label>
|
||||
<input type="date" class="form-control" name="Description.Purchase.PurchaseDate" />
|
||||
@@ -418,7 +418,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">@T["Type"]</label>
|
||||
<input type="text" class="form-control" name="Description.Type" />
|
||||
@@ -434,7 +434,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">
|
||||
@@ -444,7 +444,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">@T["Purchase Date"]</label>
|
||||
<input type="date" class="form-control" name="Description.Purchase.PurchaseDate" />
|
||||
@@ -683,7 +683,7 @@ function registerRowDetailviewClick(row) {
|
||||
|
||||
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>
|
||||
@@ -694,7 +694,7 @@ function registerRowDetailviewClick(row) {
|
||||
</div>
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Inventory"]</h6>
|
||||
<h4 class="fw-bold">@T["Inventory"]</h4>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">@T["Name"]</label>
|
||||
<input type="text" class="form-control" name="Name" value="${asset.Description.Inventory.PersonUid || ''}" disabled />
|
||||
@@ -706,7 +706,7 @@ function registerRowDetailviewClick(row) {
|
||||
</div>
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Information"]</h6>
|
||||
<h4 class="fw-bold">@T["Information"]</h4>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">@T["Name"]</label>
|
||||
<input type="text" class="form-control" name="Name" value="${asset.Name || ''}" disabled />
|
||||
@@ -726,7 +726,7 @@ function registerRowDetailviewClick(row) {
|
||||
</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">@T["Type"]</label>
|
||||
<input type="text" class="form-control" name="Description.Type" value="${asset.Description?.Type || ''}" disabled />
|
||||
@@ -743,7 +743,7 @@ function registerRowDetailviewClick(row) {
|
||||
${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">
|
||||
@@ -756,7 +756,7 @@ function registerRowDetailviewClick(row) {
|
||||
${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">@T["Purchase Date"]</label>
|
||||
<input type="date" class="form-control" name="Description.Purchase.PurchaseDate" value="${asset.Description.Purchase.PurchaseDate || ''}" disabled />
|
||||
|
||||
Reference in New Issue
Block a user