Move dashboard and logout links into the footer

This commit is contained in:
James Brooks
2014-12-27 23:52:13 +00:00
parent 392b939d44
commit cb8e0ab210
2 changed files with 5 additions and 12 deletions

View File

@@ -1,18 +1,6 @@
@extends('layout.master')
@section('content')
@if(Auth::check())
<ul class='nav nav-pills'>
<li>
<a class="btn btn-default" href="{{ URL::route('dashboard') }}">{{ Lang::get('cachet.dashboard.dashboard') }}</a>
</li>
<li>
<a class="btn btn-danger" href="{{ URL::route('logout') }}">{{ Lang::get('cachet.logout') }}</a>
</li>
</ul>
<hr />
@endif
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
@include('partials.components')

View File

@@ -2,5 +2,10 @@
<footer class='footer'>
<p>{{ Lang::get('cachet.powered_by', array('app' => Setting::get('app_name'))) }}</p>
<p><a href='/rss'><i class='fa fa-rss'></i> RSS Feed</a></p>
@if(Auth::check())
<p>
<a href="{{ URL::route('dashboard') }}">{{ Lang::get('cachet.dashboard.dashboard') }}</a> &ndash; <a href="{{ URL::route('logout') }}">{{ Lang::get('cachet.logout') }}</a>
</p>
@endif
</footer>
@endif