Skip to content

Commit 0c3aa94

Browse files
Merge pull request #2 from laravel-frontend-presets/master
Update Laravel 6.x
2 parents beecc51 + 5b338c2 commit 0c3aa94

File tree

18 files changed

+99
-385
lines changed

18 files changed

+99
-385
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.vscode

changelog.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,15 @@ All notable changes to `Black Dashboard` frontend preset for Laravel will be doc
88
- Black Dashboard v1.0.0 frontend theme
99
- Laravel Auth preset
1010
- Change user profile
11-
- User CRUD
11+
- User CRUD
12+
13+
## Version 1.0.1
14+
- Link to the pro theme
15+
16+
## Version 1.0.2 - 1.0.3
17+
- Bugs fix
18+
19+
## Version 1.0.4 - 2019-09-23
20+
21+
- Update to Laravel 6.x
22+

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"homepage": "https://github.com/creativetimofficial/black-dashboard-laravel",
66
"keywords": ["Laravel", "Preset", "Black"],
77
"require": {
8-
"laravel/framework": "^5.5"
8+
"laravel/framework": "^5.5 || ^6.0"
99
},
1010
"autoload": {
1111
"psr-4": {

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Black Dashboard Laravel - Free Frontend Preset for Laravel](https://www.creative-tim.com/live/black-dashboard-laravel/?ref=bdl-readme) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/home?status=Black%20Dashboard%20Laravel%20is%20a%20Free%20Frontend%20Preset%20for%20Laravel%20%E2%9D%A4%EF%B8%8F%0Ahttps%3A//www.creative-tim.com/live/black-dashboard-laravel%20%23%black%20%23design%20%23dashboard%20%23laravel%20%23free%20via%20%40CreativeTim)
22

3-
<a href="https://packagist.org/packages/laravel-frontend-presets/black-dashboard"><img src="https://poser.pugx.org/laravel-frontend-presets/black-dashboard/v/stable.svg" alt="Latest Stable Version"></a> ![license](https://img.shields.io/badge/license-MIT-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/laravel-frontend-presets/black-dashboard.svg)](https://github.com/laravel-frontend-presets/black-dashboard/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/laravel-frontend-presets/black-dashboard.svg)](https://github.com/laravel-frontend-presets/black-dashboard/issues?q=is%3Aissue+is%3Aclosed)
3+
![version](https://img.shields.io/badge/version-1.0.4-blue.svg) ![license](https://img.shields.io/badge/license-MIT-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/laravel-frontend-presets/black-dashboard.svg)](https://github.com/laravel-frontend-presets/black-dashboard/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/laravel-frontend-presets/black-dashboard.svg)](https://github.com/laravel-frontend-presets/black-dashboard/issues?q=is%3Aissue+is%3Aclosed)
44

55
*Frontend version*: Black Dashboard v1.0.0. More info at https://www.creative-tim.com/product/black-dashboard
66

@@ -21,7 +21,8 @@ If you don't already have an Apache local environment with PHP and MySQL, use on
2121
- Mac: https://wpshout.com/quick-guides/how-to-install-mamp-on-your-mac/
2222

2323
Also, you will need to install Composer: https://getcomposer.org/doc/00-intro.md
24-
And Laravel: https://laravel.com/docs/5.8/installation
24+
25+
And Laravel: https://laravel.com/docs/6.x/installation
2526

2627
## Installation
2728

@@ -356,7 +357,6 @@ The documentation for the Black Dashboard Laravel is hosted at our [website](htt
356357
│ │ │ _type.scss
357358
│ │ │ _utilities.scss
358359
│ │ │ _variables.scss
359-
│ │ │ _white-content.scss
360360
│ │ │
361361
│ │ ├───cards
362362
│ │ │ _card-chart.scss

src/.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.background": "#4E200A",
4+
"titleBar.activeBackground": "#6D2D0D",
5+
"titleBar.activeForeground": "#FEFAF8"
6+
}
7+
}

src/black-stubs/app/Http/Controllers/UserController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ public function edit(User $user)
6767
*/
6868
public function update(UserRequest $request, User $user)
6969
{
70+
$hasPassword = $request->get('password');
7071
$user->update(
7172
$request->merge(['password' => Hash::make($request->get('password'))])
72-
->except([$request->get('password') ? '' : 'password']
73+
->except([$hasPassword ? '' : 'password']
7374
));
7475

7576
return redirect()->route('user.index')->withStatus(__('User successfully updated.'));

src/black-stubs/resources/assets/scss/black-dashboard/custom/_white-content.scss

Lines changed: 0 additions & 299 deletions
This file was deleted.

0 commit comments

Comments
 (0)