mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 11:08:53 +01:00
add a CSS class for status to each component element
the class can be used to style components based on their status using .component.status-1 as a rule. They can then be made bold, have a different background or be hiddend depending on their status.
This commit is contained in:
parent
c7ad51e876
commit
507603e33d
@ -1,4 +1,4 @@
|
||||
<li class="list-group-item {{ $component->group_id ? "sub-component" : "component" }}">
|
||||
<li class="list-group-item {{ $component->group_id ? "sub-component" : "component" }} status-{{ $component->status }}">
|
||||
@if($component->link)
|
||||
<a href="{{ $component->link }}" target="_blank" class="links">{!! $component->name !!}</a>
|
||||
@else
|
||||
|
Loading…
x
Reference in New Issue
Block a user