A free open source IT asset/license management system
Small button fixes
snipeff30e109cca3
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.phpindex 06588c3a97..0df8e9ea89 100644--- a/resources/views/layouts/default.blade.php+++ b/resources/views/layouts/default.blade.php@@ -149,6 +149,12 @@.btn-danger {color: white !important;+ background-color: var(--text-danger) !important;+ }++ .btn-warning {+ color: white !important;+ background-color: var(--text-warning) !important;}.dropdown-wrapper,diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex a010b905e3..c78836f5fa 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -247,12 +247,13 @@btnShowAdmins: {text: '{{ trans('general.show_admins') }}',- icon: 'fa-solid fa-crown{{ (request()->input('admins') == "true") ? ' text-danger' : '' }}',+ icon: 'fa-solid fa-crown',event () {window.location.href = '{{ (request()->input('admins') == "true") ? route('users.index') : route('users.index', ['admins' => 'true']) }}';},attributes: {title: '{{ trans('general.show_admins') }}',+ class: '{{ (request()->input('admins') == "true") ? ' btn-danger' : '' }}'}},