Skip to content

Commit

Permalink
Merge pull request #14 from Justes/redis-manager-fs
Browse files Browse the repository at this point in the history
modify redis manager layout
  • Loading branch information
z-song authored Mar 24, 2019
2 parents f90711b + 0c05227 commit 19092b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
<div class="box-body no-padding">
<ul class="nav nav-pills nav-stacked">
@foreach($connections as $name => $connection)
@if(!empty($connection['host']))
<li @if($name == $conn)class="active"@endif>
<a href=" {{ route('redis-index', ['conn' => $name]) }}">
<i class="fa fa-database"></i> {{ $name }} &nbsp;&nbsp;<small>[{{ $connection['host'].':'.$connection['port'] }}]</small>
</a>
</li>
@endif
@endforeach
</ul>
</div>
Expand Down

0 comments on commit 19092b3

Please sign in to comment.