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