Use the dashboard layout within the login page

This commit is contained in:
James Brooks
2014-12-05 09:59:50 +00:00
parent d2046afc33
commit 250dc9fa1e
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
@extends('layout.master')
@extends('layout.dashboard')
@section('content')
@include('partials.dashboard.nav')
<div class='row'>
<div class='col-md-6 col-md-offset-3'>
{{ Form::open() }}
@@ -24,6 +24,7 @@
'class' => 'form-control', 'placeholder' => 'Password', 'required' => 'required'
]) }}
</div>
<hr />
<div class='form-group'>
<button type='submit' class='btn btn-default'>Login!</button>
</div>

View File

@@ -1,3 +1,4 @@
@if(Auth::check())
<div class="sidebar">
<div class="profile">
<div class="avatar pull-left">
@@ -42,3 +43,4 @@
</li>
</ul>
</div>
@endif