mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Space dashboard blades out a bit better
This commit is contained in:
parent
4daba21001
commit
b4523938f5
3 changed files with 8 additions and 1 deletions
|
@ -61,6 +61,7 @@
|
|||
<input class="image-upload" type="file" name="image-upload" id="image-upload" />
|
||||
|
||||
@set('current_image', "/uploads/$model/$id.jpg")
|
||||
|
||||
@if(file_exists(base_path() . '/public' . $current_image))
|
||||
<div class="current-image" style="background-image: url({{ $current_image }});" />
|
||||
@else
|
||||
|
|
|
@ -4,5 +4,9 @@
|
|||
])
|
||||
|
||||
@foreach($menu as $menu_item)
|
||||
<li class="{{ $menu_class }}"><a href="{{ url('/dashboard/' . $menu_item[1]) }}">{{ $menu_item[0] }}</a></li>
|
||||
<li class="{{ $menu_class }}">
|
||||
<a href="{{ url('/dashboard/' . $menu_item[1]) }}">
|
||||
{{ $menu_item[0] }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
|
|
@ -17,12 +17,14 @@
|
|||
<ul class="nav navbar-nav navbar-right">
|
||||
@if (Auth::guest())
|
||||
<li><a href="{{ url('/login') }}">Login</a></li>
|
||||
|
||||
@if(env('REGISTRATION', false))
|
||||
<li><a href="{{ url('/register') }}">Register</a></li>
|
||||
@endif
|
||||
@else
|
||||
@set('menu_class', 'nav-item')
|
||||
@include('dashboard.elements.menu')
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||
{{ Auth::user()->name }} <span class="caret"></span>
|
||||
|
|
Loading…
Reference in a new issue