mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
43a8616efd
* Some Poller page cleanups Some queries loaded all devices into memory and the counted them, we should have sql count them if we only need a count. Models should be singular Use named routes for url generation Try to keep presentation and data collection separated in blade and controller. * Update PollerController.php * Fix style * Fix new PollerGroup references
30 lines
1.2 KiB
PHP
30 lines
1.2 KiB
PHP
@extends('layouts.librenmsv1')
|
|
|
|
@section('content')
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<ul class="nav nav-tabs">
|
|
<li role="presentation" @if( $current_tab == 'poller' ) class="active" @endif>
|
|
<a href="{{ route('poller') }}"><i class="fa fa-th-large fa-lg icon-theme" aria-hidden="true"></i> @lang('Poller')</a>
|
|
</li>
|
|
@config('distributed_poller')
|
|
<li role="presentation" @if( $current_tab == 'groups' ) class="active" @endif>
|
|
<a href="{{ route('poller.groups') }}"><i class="fa fa-th fa-lg icon-theme" aria-hidden="true"></i> @lang('Groups')</a>
|
|
</li>
|
|
@endconfig
|
|
<li role="presentation" @if( $current_tab == 'performance' ) class="active" @endif>
|
|
<a href="{{ route('poller.performance') }}"><i class="fa fa-line-chart fa-lg icon-theme" aria-hidden="true"></i> @lang('Performance')</a>
|
|
</li>
|
|
<li role="presentation" @if( $current_tab == 'log' ) class="active" @endif>
|
|
<a href="{{ route('poller.log') }}"><i class="fa fa-file-text fa-lg icon-theme" aria-hidden="true"></i> @lang('Log')</a>
|
|
</li>
|
|
</ul>
|
|
@endsection
|
|
|
|
@section('content_footer')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|