You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+2-84Lines changed: 2 additions & 84 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ After initializing a fresh instance of Laravel (and making all the necessary con
39
39
### By using the archive
40
40
41
41
1. In your application's root create a **presets** folder
42
-
2.[Download an archive](https://github.com/laravel-frontend-presets/light-bootstrap-dashboard-laravel/archive/master.zip) of the repo and unzip it
42
+
2.[Download an archive](https://github.com/laravel-frontend-presets/light-bootstrap-dashboard/archive/master.zip) of the repo and unzip it
43
43
3. Copy and paste **light-bootstrap-dashboard-master** folder in presets (created in step 2) and rename it to **light-bootstrap**
44
44
4. Open `composer.json` file
45
45
5. Add `"LaravelFrontendPresets\\LightBootstrapPreset\\": "presets/light-bootstrap/src"` to `autoload/psr-4` and to `autoload-dev/psr-4`
@@ -54,7 +54,7 @@ After initializing a fresh instance of Laravel (and making all the necessary con
54
54
55
55
Register a user or login using **[email protected]** and **secret** and start testing the preset (make sure to run the migrations and seeders for these credentials to be available).
56
56
57
-
Besides the dashboard and the auth pages this preset also has a user management example and an edit profile page. All the necessary files (controllers, requests, views) are installed out of the box and all the needed routes are added to `routes/web.php`. Keep in mind that all of the features can be viewed once you login using the credentials provided above or by registering your own user.
57
+
Besides the dashboard and the auth pages this preset also has an edit profile page. All the necessary files (controllers, requests, views) are installed out of the box and all the needed routes are added to `routes/web.php`. Keep in mind that all of the features can be viewed once you login using the credentials provided above or by registering your own user.
58
58
59
59
### Dashboard
60
60
@@ -87,54 +87,6 @@ public function rules()
87
87
];
88
88
}
89
89
```
90
-
91
-
### User management
92
-
93
-
The preset comes with a user management option out of the box. To access this click the "**User Management**" link in the left sidebar or add **/user** to the url.
94
-
The first thing you will see is the listing of the existing users. You can add new ones by clicking the "**Add user**" button (above the table on the right). On the Add user page you will see the form that allows you to do this. All pages are generate using blade templates:
Also validation rules were added so you will know exactely what to enter in the form fields (see `App\Http\Requests\UserRequest`). Note that these validation rules also apply for the user edit option.
Once you add more users, the list will get bigger and for every user you will have edit and delete options (access these options by clicking the three dotted menu that appears at the end of every line).
127
-
128
-
All the sample code for the user management can be found in `App\Http\Controllers\UserController`. See store method example bellow:
129
-
130
-
```
131
-
public function store(UserRequest $request, User $model)
0 commit comments