mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
parent
50f766476c
commit
fafb5a62c2
@ -81,7 +81,7 @@ if (isset($vars['bare']) && $vars['bare'] == 'yes') {
|
||||
$displayLists .= ' | ';
|
||||
$displayLists .= '<span style="font-weight: bold;">Bulk actions</span> »';
|
||||
|
||||
$displayLists .= '<a href="ports/deleted=yes/purge=all" title="Delete ports"> Purge all deleted</a>';
|
||||
$displayLists .= '<a href="ports/deleted=1/purge=all" title="Delete ports"> Purge all deleted</a>';
|
||||
|
||||
$displayLists .= '</div>';
|
||||
|
||||
|
@ -274,13 +274,13 @@
|
||||
aria-hidden="true"></i> @lang('All Ports')</a></li>
|
||||
|
||||
@if($port_counts['errored'] > 0)
|
||||
<li><a href="{{ url('ports/errors=yes') }}"><i class="fa fa-exclamation-circle fa-fw fa-lg"
|
||||
<li><a href="{{ url('ports/errors=1') }}"><i class="fa fa-exclamation-circle fa-fw fa-lg"
|
||||
aria-hidden="true"></i> @lang('Errored :port_count', ['port_count' => $port_counts['errored']])
|
||||
</a></li>
|
||||
@endif
|
||||
|
||||
@if($port_counts['ignored'] > 0)
|
||||
<li><a href="{{ url('ports/ignore=yes') }}"><i class="fa fa-question-circle fa-fw fa-lg"
|
||||
<li><a href="{{ url('ports/ignore=1') }}"><i class="fa fa-question-circle fa-fw fa-lg"
|
||||
aria-hidden="true"></i> @lang('Ignored :port_count', ['port_count' => $port_counts['ignored']])
|
||||
</a></li>
|
||||
@endif
|
||||
@ -341,7 +341,7 @@
|
||||
|
||||
<li role="presentation" class="divider"></li>
|
||||
@if($port_counts['alerted'])
|
||||
<li><a href="{{ url('ports/alerted=yes') }}"><i
|
||||
<li><a href="{{ url('ports/alerted=1') }}"><i
|
||||
class="fa fa-exclamation-circle fa-fw fa-lg"
|
||||
aria-hidden="true"></i> @lang('Alerts :port_count', ['port_count' => $port_counts['alerted']])
|
||||
</a></li>
|
||||
@ -356,7 +356,7 @@
|
||||
</a></li>
|
||||
|
||||
@if($port_counts['deleted'])
|
||||
<li><a href="{{ url('ports/deleted=yes') }}"><i class="fa fa-minus-circle fa-fw fa-lg"
|
||||
<li><a href="{{ url('ports/deleted=1') }}"><i class="fa fa-minus-circle fa-fw fa-lg"
|
||||
aria-hidden="true"></i> @lang('Deleted :port_count', ['port_count' => $port_counts['deleted']])
|
||||
</a></li>
|
||||
@endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
@if(request('deleted') === 'yes')
|
||||
<div class="col-xs-1"><a href="ports/deleted=yes/purge={{ $port->port_id }}" title="Delete port"><i class="fa fa-times fa-lg icon-theme"></i></a></div>
|
||||
<div class="col-xs-1"><a href="ports/deleted=1/purge={{ $port->port_id }}" title="Delete port"><i class="fa fa-times fa-lg icon-theme"></i></a></div>
|
||||
@else
|
||||
<div class="col-xs-1"><a href="@deviceUrl($port->device, ['tab' => 'alerts'])" title="View alerts"><i class="fa fa-exclamation-circle fa-lg icon-theme" aria-hidden="true"></i></a></div>
|
||||
@admin
|
||||
|
Loading…
Reference in New Issue
Block a user