Skip to content

Commit 4e1ef40

Browse files
committed
Updated active button colors
1 parent 00af0dd commit 4e1ef40

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

resources/views/partials/bootstrap-table.blade.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,23 +721,25 @@ class: 'btn-primary',
721721
722722
btnShowExpiring: {
723723
text: '{{ (request()->input('status') == "expiring") ? trans('general.list_all') : trans('general.show_expiring') }}',
724-
icon: 'fas fa-clock {{ (request()->input('status') == "expiring") ? ' text-danger' : '' }}',
724+
icon: 'fas fa-clock',
725725
event () {
726726
window.location.href = '{{ (request()->input('status') == "expiring") ? route('licenses.index') : route('licenses.index', ['status' => 'expiring']) }}';
727727
},
728728
attributes: {
729+
class: "{{ (request()->input('status') == "expiring") ? ' btn-warning' : '' }}",
729730
title: '{{ (request()->input('status') == "expiring") ? trans('general.list_all') : trans('general.show_expiring') }}',
730731
731732
}
732733
},
733734
734735
btnShowInactive: {
735736
text: '{{ (request()->input('status') == "inactive") ? trans('general.list_all') : trans('general.show_inactive') }}',
736-
icon: 'fas fa-history {{ (request()->input('status') == "inactive") ? ' text-danger' : '' }}',
737+
icon: 'fas fa-history',
737738
event () {
738739
window.location.href = '{{ (request()->input('status') == "inactive") ? route('licenses.index') : route('licenses.index', ['status' => 'inactive']) }}';
739740
},
740741
attributes: {
742+
class: "{{ (request()->input('status') == "inactive") ? ' btn-warning' : '' }}",
741743
title: '{{ (request()->input('status') == "inactive") ? trans('general.list_all') : trans('general.show_inactive') }}',
742744
743745
}

0 commit comments

Comments
 (0)