mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Fixed long lists not skippable
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user