mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 19:26:38 -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" />
|
<input class="image-upload" type="file" name="image-upload" id="image-upload" />
|
||||||
|
|
||||||
@set('current_image', "/uploads/$model/$id.jpg")
|
@set('current_image', "/uploads/$model/$id.jpg")
|
||||||
|
|
||||||
@if(file_exists(base_path() . '/public' . $current_image))
|
@if(file_exists(base_path() . '/public' . $current_image))
|
||||||
<div class="current-image" style="background-image: url({{ $current_image }});" />
|
<div class="current-image" style="background-image: url({{ $current_image }});" />
|
||||||
@else
|
@else
|
||||||
|
|
|
@ -4,5 +4,9 @@
|
||||||
])
|
])
|
||||||
|
|
||||||
@foreach($menu as $menu_item)
|
@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
|
@endforeach
|
||||||
|
|
|
@ -17,12 +17,14 @@
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
@if (Auth::guest())
|
@if (Auth::guest())
|
||||||
<li><a href="{{ url('/login') }}">Login</a></li>
|
<li><a href="{{ url('/login') }}">Login</a></li>
|
||||||
|
|
||||||
@if(env('REGISTRATION', false))
|
@if(env('REGISTRATION', false))
|
||||||
<li><a href="{{ url('/register') }}">Register</a></li>
|
<li><a href="{{ url('/register') }}">Register</a></li>
|
||||||
@endif
|
@endif
|
||||||
@else
|
@else
|
||||||
@set('menu_class', 'nav-item')
|
@set('menu_class', 'nav-item')
|
||||||
@include('dashboard.elements.menu')
|
@include('dashboard.elements.menu')
|
||||||
|
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
{{ Auth::user()->name }} <span class="caret"></span>
|
{{ Auth::user()->name }} <span class="caret"></span>
|
||||||
|
|
Loading…
Reference in a new issue