@@ -187,14 +187,12 @@ $ php vendor/bin/phpunit
187
187
```
188
188
189
189
Open your browser with address: [ localhost:8000] ( localhost:8000 )
190
- Click "Notes " on topbar menu and log in with credentials:
190
+ Click "Login " on sidebar menu and log in with credentials:
191
191
192
192
193
193
* Password: _ password_
194
194
195
195
This user has roles: _ user_ and _ admin_
196
- * Role _ user_ is required for ** notes** management.
197
- * Role _ admin_ is required for ** users** management.
198
196
199
197
---
200
198
@@ -212,7 +210,7 @@ $id = $this->insertLink( $rolesString, $visibleName, $href, $iconString);
212
210
* ` $rolesString ` - a string with list of user roles this menu element will be available, ex. ` "guest,user,admin" `
213
211
* ` $visibleName ` - a string caption visible in sidebar
214
212
* ` $href ` - a href, ex. ` /homepage ` or ` http://example.com `
215
- * ` $iconString ` - a string containing valid CoreUI Icon name (kebab-case), ex. ` cui -speedometer` or ` cui-star `
213
+ * ` $iconString ` - a string containing valid CoreUI Icon name (kebab-case), ex. ` cil -speedometer` or ` cil-pencil `
216
214
217
215
To add a __ title__ to the sidebar - use function ` insertTitle() ` :
218
216
``` php
@@ -228,14 +226,14 @@ $id = $this->beginDropdown( $rolesString, $visibleName, $href, $iconString);
228
226
* ` $rolesString ` - a string with list of user roles this menu element will be available, ex. ` "guest,user,admin" `
229
227
* ` $visibleName ` - a string caption visible in sidebar
230
228
* ` $href ` - a href, ex. ` /homepage ` or ` http://example.com `
231
- * ` $iconString ` - a string containing valid CoreUI icon name (kebab-case). For example: ` cui -speedometer` or ` cui-star `
229
+ * ` $iconString ` - a string containing valid CoreUI icon name (kebab-case). For example: ` cil -speedometer` or ` cil-pencil `
232
230
233
231
To end dropdown section - use function ` endDropdown() ` .
234
232
235
233
To add __ link__ to __ dropdown__ call function ` insertLink() ` between function calls ` beginDropdown() ` and ` endDropdown() ` .
236
234
Example:
237
235
``` php
238
- $id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'http://example.com', 'cui -puzzle');
236
+ $id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'http://example.com', 'cil -puzzle');
239
237
$id = $this->insertLink('guest,user,admin', 'Dropdown name', 'http://example.com');
240
238
$this->endDropdown();
241
239
```
0 commit comments