Compare commits

...

5 Commits
6.0.3 ... 6.0.8

Author SHA1 Message Date
Deon George
1774987dea Dispatch resize event if sidebar collapsed 2019-11-22 14:22:37 +11:00
Deon George
6c60298e8f Add a note on the login page 2019-11-21 14:33:33 +11:00
Deon George
41b320a5b9 Fix file_exist check for custom.css 2019-11-17 23:26:12 +11:00
Deon George
1096f0e28d Added custom.css to app.blade 2019-10-30 14:31:32 +08:00
Deon George
b0730b9ed3 Revert name to igaster/laravel-theme 2019-10-30 14:15:20 +08:00
4 changed files with 21 additions and 9 deletions

View File

@@ -10,16 +10,10 @@
}
],
"require": {
"leenooks/laravel-theme": "^2.0.15",
"igaster/laravel-theme": "^2.0.15",
"creativeorange/gravatar": "^1.0",
"orchestra/asset": "^4.0"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/leenooks/laravel-theme"
}
],
"require-dev": {
},
"autoload": {

View File

@@ -5,6 +5,14 @@
@endsection
@section('content')
@if(isset($login_note) AND $login_note)
<div class="alert alert-info alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<h5><i class="icon fa fa-info"></i> NOTE!</h5>
{{ $login_note }}
</div>
@endisset
<div class="login-box">
<div class="login-logo">
<a>{!! config('app.name_html_long') !!}</a>

View File

@@ -39,7 +39,12 @@
<link rel="stylesheet" href="{{ asset('/css/adminlte.min.css') }}">
@if(file_exists('css/fixes.css'))
<!-- CSS Fixes -->
<!-- CSS Fixes -->
<link rel="stylesheet" href="{{ asset('/css/fixes.css') }}">
@endif
@if(file_exists('css/custom.css'))
<!-- Custom CSS -->
<link rel="stylesheet" href="{{ asset('/css/custom.css') }}">
@endif
</head>

View File

@@ -60,7 +60,12 @@
$(this).removeClass('hold-transition');
});
}else{
$("body").addClass('sidebar-collapse');
$("body")
.addClass('sidebar-collapse')
.delay(500).queue(function () {
window.dispatchEvent(new Event('resize'));
$(this).dequeue();
});
}
}
}