Fixed long lists not skippable

This commit is contained in:
2025-11-28 10:07:23 +01:00
parent bd7d7d5fbb
commit 917e708a7e
6 changed files with 16 additions and 2 deletions

View File

@@ -184,4 +184,7 @@
<data name="Apply preset" xml:space="preserve">
<value>Vorlage anwenden</value>
</data>
<data name="Jump to add attribute button" xml:space="preserve">
<value>Zu Attribut Hinzufügen Button springen</value>
</data>
</root>

View File

@@ -150,4 +150,7 @@
<data name="Successfully added barcode to print batch" xml:space="preserve">
<value>Barcode wurde erfolgreich dem Auftragsstapel hinzugefügt</value>
</data>
<data name="Jump to add attribute button" xml:space="preserve">
<value>Zu Attribut Hinzufügen Button springen</value>
</data>
</root>

View File

@@ -113,4 +113,7 @@
<data name="Presets. Press to toggle visibility" xml:space="preserve">
<value>Vorlagen. Klicken zum Auf- oder zuklappen</value>
</data>
<data name="Skip attributes table" xml:space="preserve">
<value>Attribut-Tabelle überspringen</value>
</data>
</root>

View File

@@ -228,6 +228,7 @@
<div class="d-flex justify-content-between align-items-center mb-2">
<h4 class="fw-bold mb-0">@T["Attributes"]</h4>
</div>
<a href="#addAttributeBtn" class="visually-hidden-focusable">@T["Jump to add attribute button"]</a>
<table class="w-100">
<thead>
<tr>
@@ -478,6 +479,7 @@ document.addEventListener('DOMContentLoaded', () => {
<div class="d-flex justify-content-between align-items-center mb-2">
<h4 class="fw-bold mb-0">@T["Attributes"]</h4>
</div>
<a href="#updateAddAttributeBtn" class="visually-hidden-focusable">@T["Jump to add attribute button"]</a>
<table class="w-100">
<thead>
<tr>

View File

@@ -403,6 +403,7 @@
<div class="col-12 mt-3">
<div class="justify-content-between align-items-center mb-2">
<h4 class="fw-bold mb-0">@T["Attributes"]</h4>
<a href="#updateAddAttributeBtn" class="visually-hidden-focusable">@T["Jump to add attribute button"]</a>
<table class="w-100">
<thead>
<tr>

View File

@@ -96,6 +96,7 @@
<label class="form-label" for="Presets.@(preset.Key).Key">@T["Preset name"]</label>
<input class="form-control mb-3" id="Presets.@(preset.Key).Key" name="Presets.@(preset.Key).Key" value="@preset.Key"/>
<label class="form-label">@T["Attributes"]</label>
<a href="#Presets.@(preset.Key).Delete" class="visually-hidden-focusable">@T["Skip attributes table"]</a>
<table class="attributes mb-2">
<thead>
<tr>
@@ -128,7 +129,7 @@
<div class="attributes"></div>
<div class="row mb-2">
<div class="col-md-8 mt-2">
<button type="button" class="btn btn-danger" data-type="deletePreset">@T["Delete preset"]</button>
<button type="button" class="btn btn-danger" id="Presets.@(preset.Key).Delete" data-type="deletePreset">@T["Delete preset"]</button>
</div>
<div class="col-md-4 ms-auto mt-2">
<button type="button" class="btn btn-primary" data-type="addAttribute">@T["Add attribute"]</button>
@@ -410,6 +411,7 @@
<label class="form-label" for="Presets.${presetId}.Key">@T["Preset name"]</label>
<input class="form-control mb-3" id="Presets.${presetId}.Key" name="Presets.${presetId}.Key" value=""/>
<label class="form-label">@T["Attributes"]</label>
<a href="#Presets.${presetId}.Delete" class="visually-hidden-focusable">@T["Skip attributes table"]</a>
<table class="mb-2">
<thead>
<tr>
@@ -422,7 +424,7 @@
</table>
<div class="row mb-4">
<div class="col-md-4">
<button type="button" class="btn btn-danger" data-type="deletePreset">@T["Delete preset"]</button>
<button type="button" class="btn btn-danger" id="Presets.${presetId}.Delete" data-type="deletePreset">@T["Delete preset"]</button>
</div>
<div class="col-md-4 ms-auto">
<button type="button" class="btn btn-primary" data-type="addAttribute">@T["Add attribute"]</button>