Added more layouts
This commit is contained in:
parent
2987e622de
commit
6217dd53ea
@ -0,0 +1,59 @@
|
|||||||
|
@extends('adminlte::layouts.auth')
|
||||||
|
|
||||||
|
@section('htmlheader_title')
|
||||||
|
Password recovery
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
|
||||||
|
<body class="login-page">
|
||||||
|
<div id="app">
|
||||||
|
|
||||||
|
<div class="login-box">
|
||||||
|
<div class="login-logo">
|
||||||
|
<a href="{{ url('/home') }}"><b>Admin</b>LTE</a>
|
||||||
|
</div><!-- /.login-logo -->
|
||||||
|
|
||||||
|
@if (session('status'))
|
||||||
|
<div class="alert alert-success">
|
||||||
|
{{ session('status') }}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if (count($errors) > 0)
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
|
||||||
|
<ul>
|
||||||
|
@foreach ($errors->all() as $error)
|
||||||
|
<li>{{ $error }}</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
<div class="login-box-body">
|
||||||
|
<p class="login-box-msg">Reset Password</p>
|
||||||
|
|
||||||
|
<email-reset-password-form></email-reset-password-form>
|
||||||
|
|
||||||
|
<a href="{{ url('/login') }}">Log in</a><br>
|
||||||
|
|
||||||
|
</div><!-- /.login-box-body -->
|
||||||
|
|
||||||
|
</div><!-- /.login-box -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@include('adminlte::layouts.partials.scripts_auth')
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
$('input').iCheck({
|
||||||
|
checkboxClass: 'icheckbox_square-blue',
|
||||||
|
radioClass: 'iradio_square-blue',
|
||||||
|
increaseArea: '20%' // optional
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
@endsection
|
20
resources/themes/adminlte/views/errors/403.blade.php
Normal file
20
resources/themes/adminlte/views/errors/403.blade.php
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
@extends('adminlte::layouts.errors')
|
||||||
|
|
||||||
|
@section('htmlheader_title')
|
||||||
|
{{ trans('adminlte_lang::message.servererror') }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('main-content')
|
||||||
|
|
||||||
|
<div class="error-page">
|
||||||
|
<h2 class="headline text-red">403</h2>
|
||||||
|
<div class="error-content">
|
||||||
|
<h3><i class="fa fa-warning text-red"></i> Oops! Bad Authentication</h3>
|
||||||
|
<p>
|
||||||
|
Sorry, your authentication failed.
|
||||||
|
{{ trans('adminlte_lang::message.mainwhile') }} <a href='{{ url('/home') }}'>{{ trans('adminlte_lang::message.returndashboard') }}</a>.
|
||||||
|
</p>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
</div><!-- /.error-page -->
|
||||||
|
@endsection
|
20
resources/themes/adminlte/views/errors/404.blade.php
Normal file
20
resources/themes/adminlte/views/errors/404.blade.php
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
@extends('adminlte::layouts.errors')
|
||||||
|
|
||||||
|
@section('htmlheader_title')
|
||||||
|
{{ trans('adminlte_lang::message.pagenotfound') }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('main-content')
|
||||||
|
|
||||||
|
<div class="error-page">
|
||||||
|
<h2 class="headline text-yellow">404</h2>
|
||||||
|
<div class="error-content">
|
||||||
|
<h3><i class="fa fa-warning text-yellow"></i> Oops! {{ trans('adminlte_lang::message.pagenotfound') }}.</h3>
|
||||||
|
<p>
|
||||||
|
{{ trans('adminlte_lang::message.notfindpage') }}
|
||||||
|
{{ trans('adminlte_lang::message.mainwhile') }} <a href='{{ url('/home') }}'>{{ trans('adminlte_lang::message.returndashboard') }}</a>.
|
||||||
|
</p>
|
||||||
|
<br/>
|
||||||
|
</div><!-- /.error-content -->
|
||||||
|
</div><!-- /.error-page -->
|
||||||
|
@endsection
|
20
resources/themes/adminlte/views/errors/500.blade.php
Normal file
20
resources/themes/adminlte/views/errors/500.blade.php
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
@extends('adminlte::layouts.errors')
|
||||||
|
|
||||||
|
@section('htmlheader_title')
|
||||||
|
{{ trans('adminlte_lang::message.servererror') }}
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section('main-content')
|
||||||
|
|
||||||
|
<div class="error-page">
|
||||||
|
<h2 class="headline text-red">500</h2>
|
||||||
|
<div class="error-content">
|
||||||
|
<h3><i class="fa fa-warning text-red"></i> Oops! {{ trans('adminlte_lang::message.somethingwrong') }}</h3>
|
||||||
|
<h4><i class="text-red"></i> {{ trans($msg) }}</h4>
|
||||||
|
<p>
|
||||||
|
{{ trans('adminlte_lang::message.wewillwork') }}
|
||||||
|
{{ trans('adminlte_lang::message.mainwhile') }} <a href='{{ url('/home') }}'>{{ trans('adminlte_lang::message.returndashboard') }}</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div><!-- /.error-page -->
|
||||||
|
@endsection
|
@ -0,0 +1,17 @@
|
|||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<section class="content-header">
|
||||||
|
<div id="search_results"></div>
|
||||||
|
<h1>
|
||||||
|
@yield('contentheader_title', 'Content Title')
|
||||||
|
<small>@yield('contentheader_description')</small>
|
||||||
|
</h1>
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li><a href="{{ url('/home'.(isset($ido) ? '/'.$ido->id : '')) }}"><i class="fa fa-dashboard"></i>Home</a></li>
|
||||||
|
|
||||||
|
@isset($breadcrumb)
|
||||||
|
@foreach ($breadcrumb as $item => $url)
|
||||||
|
<li><a href="{{url($url)}}">{{ $item }}</a></li>
|
||||||
|
@endforeach
|
||||||
|
@endisset
|
||||||
|
</ol> <!-- /.breadcrumb -->
|
||||||
|
</section> <!-- /.content-header -->
|
@ -0,0 +1,8 @@
|
|||||||
|
<!-- Main Footer -->
|
||||||
|
<footer class="main-footer">
|
||||||
|
<!-- To the right -->
|
||||||
|
<div class="pull-right hidden-xs">
|
||||||
|
<a href="#"></a><b>{{ config('app.name') }}</b></a>
|
||||||
|
</div>
|
||||||
|
<strong>© Leenooks</strong>
|
||||||
|
</footer>
|
@ -0,0 +1,13 @@
|
|||||||
|
<!-- REQUIRED JS SCRIPTS -->
|
||||||
|
|
||||||
|
<!-- JQuery and bootstrap are required by Laravel 5.3 in resources/assets/js/bootstrap.js-->
|
||||||
|
<!-- Laravel App -->
|
||||||
|
<script src="{{ url (mix('/js/app.js')) }}" type="text/javascript"></script>
|
||||||
|
|
||||||
|
@yield('page-scripts')
|
||||||
|
<!-- Optionally, you can add Slimscroll and FastClick plugins.
|
||||||
|
Both of these plugins are recommended to enhance the
|
||||||
|
user experience. Slimscroll is required when using the
|
||||||
|
fixed layout. -->
|
||||||
|
<script src="{{ url('/plugins/jquery.slimscroll.min.js') }}" type="text/javascript"></script>
|
||||||
|
<script src="{{ url('/plugins/fastclick/fastclick.min.js') }}" type="text/javascript"></script>
|
@ -22,11 +22,8 @@ class LeenooksServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function boot(Router $router)
|
public function boot(Router $router)
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->loadViewsFrom($this->_path.'/resources/themes/adminlte/views/', 'adminlte');
|
$this->loadViewsFrom($this->_path.'/resources/themes/adminlte/views/', 'adminlte');
|
||||||
# $this->loadViewsFrom($this->_path.'/resources/views/', 'adminlte');
|
|
||||||
$this->loadTranslationsFrom($this->_path.'/resources/themes/adminlte/lang/', 'adminlte_lang');
|
$this->loadTranslationsFrom($this->_path.'/resources/themes/adminlte/lang/', 'adminlte_lang');
|
||||||
//dd($this->views());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -38,9 +35,7 @@ class LeenooksServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
if (! $this->_path) {
|
if (! $this->_path) {
|
||||||
$this->_path = realpath(__DIR__.'/../../');
|
$this->_path = realpath(__DIR__.'/../../');
|
||||||
define('LEENOOKS',realpath(__DIR__.'/../../'));
|
|
||||||
}
|
}
|
||||||
//$this->publishes($this->views());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -51,7 +46,7 @@ define('LEENOOKS',realpath(__DIR__.'/../../'));
|
|||||||
public function views()
|
public function views()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
LEENOOKS.'/resources/views/auth' =>
|
$this->_path.'/resources/views/auth' =>
|
||||||
resource_path('views/vendor/adminlte/auth'),
|
resource_path('views/vendor/adminlte/auth'),
|
||||||
$this->_path.'/resources/views/errors' =>
|
$this->_path.'/resources/views/errors' =>
|
||||||
resource_path('views/vendor/adminlte/errors'),
|
resource_path('views/vendor/adminlte/errors'),
|
||||||
|
Loading…
Reference in New Issue
Block a user