Revision 7c97f817
Added by NOYB NOYB about 9 years ago
src/usr/local/www/widgets/widgets/services_status.widget.php | ||
---|---|---|
129 | 129 |
$service_desc = explode(".",$service['description']); |
130 | 130 |
?> |
131 | 131 |
<tr> |
132 |
<td><i class="fa fa-<?=get_service_status($service) ? 'check-circle text-success' : 'times-circle text-warning'?>"></i></td>
|
|
132 |
<td><?=get_service_status_icon($service, false, true, false, "state")?></td>
|
|
133 | 133 |
<td><?=$service['dispname']?></td> |
134 | 134 |
<td><?=$service_desc[0]?></td> |
135 | 135 |
<td><?=get_service_control_links($service)?></td> |
Also available in: Unified diff
Services Status Widget - Status Indicator
Use the get service status icon function.