Merge branch 'develop' into add_pa11y

This commit is contained in:
snipe 2025-04-23 21:11:59 +01:00 committed by GitHub
commit c1196599e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 30 additions and 30 deletions

View file

@ -1439,13 +1439,13 @@ p.monospace,
span.monospace { span.monospace {
font-family: monospace, monospace; font-family: monospace, monospace;
} }
legend { legend.highlight {
background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px); background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px);
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
padding: 6px; padding: 6px;
} }
fieldset { fieldset.bottom-padded {
padding-bottom: 20px; padding-bottom: 20px;
} }
caption.tableCaption { caption.tableCaption {

View file

@ -1070,13 +1070,13 @@ p.monospace,
span.monospace { span.monospace {
font-family: monospace, monospace; font-family: monospace, monospace;
} }
legend { legend.highlight {
background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px); background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px);
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
padding: 6px; padding: 6px;
} }
fieldset { fieldset.bottom-padded {
padding-bottom: 20px; padding-bottom: 20px;
} }
caption.tableCaption { caption.tableCaption {

View file

@ -22774,13 +22774,13 @@ p.monospace,
span.monospace { span.monospace {
font-family: monospace, monospace; font-family: monospace, monospace;
} }
legend { legend.highlight {
background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px); background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px);
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
padding: 6px; padding: 6px;
} }
fieldset { fieldset.bottom-padded {
padding-bottom: 20px; padding-bottom: 20px;
} }
caption.tableCaption { caption.tableCaption {
@ -24343,13 +24343,13 @@ p.monospace,
span.monospace { span.monospace {
font-family: monospace, monospace; font-family: monospace, monospace;
} }
legend { legend.highlight {
background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px); background: repeating-linear-gradient(45deg, #222d32, #222d32 10px, #444 10px, #444 11px);
color: #fff; color: #fff;
font-size: 18px; font-size: 18px;
padding: 6px; padding: 6px;
} }
fieldset { fieldset.bottom-padded {
padding-bottom: 20px; padding-bottom: 20px;
} }
caption.tableCaption { caption.tableCaption {

View file

@ -1188,7 +1188,7 @@ p.monospace, span.monospace {
font-family: monospace, monospace; font-family: monospace, monospace;
} }
legend { legend.highlight {
background: repeating-linear-gradient( background: repeating-linear-gradient(
45deg, 45deg,
#222d32, #222d32,
@ -1202,7 +1202,7 @@ legend {
padding: 6px; padding: 6px;
} }
fieldset { fieldset.bottom-padded {
padding-bottom: 20px; padding-bottom: 20px;
} }

View file

@ -147,7 +147,7 @@
if (data.status == 'success') { if (data.status == 'success') {
$('#checkedin tbody').prepend("<tr class='success'><td>" + data.payload.asset_tag + "</td><td>" + data.payload.model + "</td><td>" + data.payload.model_number + "</td><td>" + data.messages + "</td><td><i class='fas fa-check text-success'></i></td></tr>"); $('#checkedin tbody').prepend("<tr class='success'><td>" + data.payload.asset_tag + "</td><td>" + data.payload.model + "</td><td>" + data.payload.model_number + "</td><td>" + data.messages + "</td><td><i class='fas fa-check text-success'></i></td></tr>");
@if ($user->enable_sounds) @if ($user?->enable_sounds)
var audio = new Audio('{{ config('app.url') }}/sounds/success.mp3'); var audio = new Audio('{{ config('app.url') }}/sounds/success.mp3');
audio.play() audio.play()
@endif @endif
@ -172,7 +172,7 @@
function handlecheckinFail (data) { function handlecheckinFail (data) {
@if ($user->enable_sounds) @if ($user?->enable_sounds)
var audio = new Audio('{{ config('app.url') }}/sounds/error.mp3'); var audio = new Audio('{{ config('app.url') }}/sounds/error.mp3');
audio.play() audio.play()
@endif @endif

View file

@ -34,8 +34,8 @@
<div class="col-md-12"> <div class="col-md-12">
<fieldset> <fieldset class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('admin/settings/general.legends.scoping') }} {{ trans('admin/settings/general.legends.scoping') }}
</legend> </legend>
<!-- Full Multiple Companies Support --> <!-- Full Multiple Companies Support -->
@ -75,8 +75,8 @@
</fieldset> </fieldset>
<fieldset> <fieldset class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('admin/settings/general.legends.formats') }} {{ trans('admin/settings/general.legends.formats') }}
</legend> </legend>
@ -122,8 +122,8 @@
</fieldset> </fieldset>
<fieldset> <fieldset class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('admin/settings/general.legends.profiles') }} {{ trans('admin/settings/general.legends.profiles') }}
</legend> </legend>
<!-- user profile edit checkbox --> <!-- user profile edit checkbox -->
@ -138,8 +138,8 @@
</div> </div>
</fieldset> </fieldset>
<fieldset> <fieldset class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('admin/settings/general.legends.eula') }} {{ trans('admin/settings/general.legends.eula') }}
</legend> </legend>
@ -175,8 +175,8 @@
</fieldset> </fieldset>
<fieldset> <fieldset class="bottom-padded">
<legend>{{ trans('admin/settings/general.legends.misc_display') }}</legend> <legend class="highlight">{{ trans('admin/settings/general.legends.misc_display') }}</legend>
<!-- Thumb Size --> <!-- Thumb Size -->
<div class="form-group {{ $errors->has('thumbnail_max_h') ? 'error' : '' }}"> <div class="form-group {{ $errors->has('thumbnail_max_h') ? 'error' : '' }}">
@ -254,8 +254,8 @@
</fieldset> </fieldset>
<fieldset> <fieldset class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('general.email') }} {{ trans('general.email') }}
</legend> </legend>
@ -322,8 +322,8 @@
</fieldset> </fieldset>
<fieldset name="checkin-preferences"> <fieldset name="checkin-preferences" class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('admin/settings/general.legends.checkin') }} {{ trans('admin/settings/general.legends.checkin') }}
</legend> </legend>
@ -342,8 +342,8 @@
<fieldset name="dashboard"> <fieldset name="dashboard" class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('admin/settings/general.legends.dashboard') }} {{ trans('admin/settings/general.legends.dashboard') }}
</legend> </legend>
@ -404,8 +404,8 @@
</fieldset> </fieldset>
<fieldset> <fieldset class="bottom-padded">
<legend> <legend class="highlight">
{{ trans('admin/settings/general.legends.misc') }} {{ trans('admin/settings/general.legends.misc') }}
</legend> </legend>

0
tests/pa11y/.gitkeep Executable file
View file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

BIN
tests/pa11y/asset-list.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
tests/pa11y/dashboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
tests/pa11y/login.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
tests/pa11y/profile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB