mirror of
https://github.com/cachethq/cachet.git
synced 2026-03-03 02:27:01 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user