laravel-learn-bbs/resources/views/pages/permission_denied.blade.php

26 lines
884 B
PHP
Raw Normal View History

2018-06-02 08:28:28 +00:00
@extends('layouts.app')
@section('title','无权限访问')
@section('content')
<div class="col-md-4 col-md-offset-4">
<div class="panel panel-default">
<div class="panel-body">
@if (Auth::check())
<div class="alert alert-danger text-center">
当前登录账号无后台访问权限。
</div>
@else
<div class="alert alert-danger text-center">
请登录以后再操作
</div>
<a class="btn btn-lg btn-primary btn-block" href="{{ route('login') }}">
<span class="glyphicon glyphicon-log-in" aria-hidden="true"></span>
</a>
@endif
</div>
</div>
</div>
@endsection