Skip to content

Commit 3b00506

Browse files
2 parents b0c32ab + 5b30116 commit 3b00506

File tree

4 files changed

+21
-12
lines changed

4 files changed

+21
-12
lines changed

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ All notable changes to `Paper Dashboard` frontend preset for Laravel will be doc
1313
## Version 1.0.1 - 2019-09-23
1414

1515
- Update to Laravel 6.x
16+
17+
## Version 1.0.2 - 2019-11-14
18+
19+
- Update Composer
20+
21+
## Version 1.0.3 - 2020-03-18
22+
23+
- Update to Laravel 7.x

readme.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ After initializing a fresh instance of Laravel (and making all the necessary con
3030
### Via composer
3131

3232
1. `Cd` to your Laravel app
33-
2. Install this preset via `composer require laravel-frontend-presets/paper`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
34-
3. Run `php artisan ui paper` command to install the Argon preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route in `routes/web.php`
33+
2. Type in your terminal: `composer require laravel/ui` and `php artisan ui vue --auth`
34+
3. Install this preset via `composer require laravel-frontend-presets/paper`. No need to register the service provider. Laravel 5.5 & up can auto detect the package.
35+
4. Run `php artisan ui paper` command to install the Argon preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route in `routes/web.php`
3536
(NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)
36-
4. In your terminal run `composer dump-autoload`
37-
5. Run `php artisan migrate --seed` to create basic users table
37+
5. In your terminal run `composer dump-autoload`
38+
6. Run `php artisan migrate --seed` to create basic users table
3839

3940
### By using the archive
4041

@@ -65,7 +66,7 @@ You can access the dashboard either by using the "**Dashboard**" link in the lef
6566

6667
You have the option to edit the current logged in user's profile (change name, email and password). To access this page just click the "**User profile**" link in the left sidebar or by adding **/profile** in the url.
6768

68-
The `App\Htttp\Controlers\ProfileController` handles the update of the user information.
69+
The `App\Http\Controllers\ProfileController` handles the update of the user information.
6970

7071
```
7172
public function update(ProfileRequest $request)

src/paper-dashboard-stubs/resources/views/layouts/navbars/auth.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
7272
<p>{{ __('Typography') }}</p>
7373
</a>
7474
</li>
75-
<li class="active-pro {{ $elementActive == 'upgrade' ? 'active' : '' }} bg-danger">
76-
<a href="{{ route('page.index', 'upgrade') }}">
75+
<li class="active-pro {{ $elementActive == 'upgrade' ? 'active' : '' }}">
76+
<a href="{{ route('page.index', 'upgrade') }}" class="bg-danger">
7777
<i class="nc-icon nc-spaceship text-white"></i>
7878
<p class="text-white">{{ __('Upgrade to PRO') }}</p>
7979
</a>
8080
</li>
8181
</ul>
8282
</div>
83-
</div>
83+
</div>

src/paper-dashboard-stubs/resources/views/users/index.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@
198198
<p>{{ __('Typography') }}</p>
199199
</a>
200200
</li>
201-
<li >
202-
<a href="{{ route('page.index', 'upgrade') }}">
203-
<i class="nc-icon nc-spaceship"></i>
204-
<p>{{ __('Upgrade to PRO') }}</p>
201+
<li class="active-pro {{ $elementActive == 'upgrade' ? 'active' : '' }}">
202+
<a href="{{ route('page.index', 'upgrade') }}" class="bg-danger">
203+
<i class="nc-icon nc-spaceship text-white"></i>
204+
<p class="text-white">{{ __('Upgrade to PRO') }}</p>
205205
</a>
206206
</li>
207207
</ul>

0 commit comments

Comments
 (0)