mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Improved styling of a info level flash toast in darkmode
This commit is contained in:
parent
ac84c175af
commit
059110ae7a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
{% set flash_bg = label|replace({'success': 'bg-success text-white',
|
{% set flash_bg = label|replace({'success': 'bg-success text-white',
|
||||||
'error': 'bg-danger text-white', 'warning': 'bg-warning text-white',
|
'error': 'bg-danger text-white', 'warning': 'bg-warning text-white',
|
||||||
'notice': 'bg-info text-white', 'info': 'bg-light'})%}
|
'notice': 'bg-info text-white', 'info': 'bg-body-tertiary'})%}
|
||||||
|
|
||||||
<div class="toast shadow" role="alert" aria-live="assertive" aria-atomic="true" data-delay="5000" {{ stimulus_controller('common/toast') }}>
|
<div class="toast shadow" role="alert" aria-live="assertive" aria-atomic="true" data-delay="5000" {{ stimulus_controller('common/toast') }}>
|
||||||
<div class="toast-header {{ flash_bg }}">
|
<div class="toast-header {{ flash_bg }}">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue