Made it display 'maintenance' on the index page

This commit is contained in:
stanjg 2018-05-04 15:16:14 +02:00
parent baea1d6191
commit f39720f15d
No known key found for this signature in database
GPG key ID: 27D9DF9D28935303

View file

@ -64,9 +64,15 @@
<span class="label bg-blue">@lang('strings.subuser')</span> <span class="label bg-blue">@lang('strings.subuser')</span>
@endif @endif
</td> </td>
<td class="text-center" data-action="status"> @if($server->node->maintenance)
<span class="label label-default"><i class="fa fa-refresh fa-fw fa-spin"></i></span> <td class="text-center">
</td> <span class="label label-warning">Maintenance</span>
</td>
@else
<td class="text-center" data-action="status">
<span class="label label-default"><i class="fa fa-refresh fa-fw fa-spin"></i></span>
</td>
@endif
</tr> </tr>
@if (! empty($server->description)) @if (! empty($server->description))
<tr class="server-description"> <tr class="server-description">