Skip to content

Commit b4ae2a2

Browse files
committed
Docs: Update absolete instructions
1 parent 97cd280 commit b4ae2a2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,12 @@ $ php vendor/bin/phpunit
187187
```
188188

189189
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:
191191

192192
* E-mail: _[email protected]_
193193
* Password: _password_
194194

195195
This user has roles: _user_ and _admin_
196-
* Role _user_ is required for **notes** management.
197-
* Role _admin_ is required for **users** management.
198196

199197
---
200198

@@ -212,7 +210,7 @@ $id = $this->insertLink( $rolesString, $visibleName, $href, $iconString);
212210
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
213211
* `$visibleName` - a string caption visible in sidebar
214212
* `$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`
216214

217215
To add a __title__ to the sidebar - use function `insertTitle()`:
218216
```php
@@ -228,14 +226,14 @@ $id = $this->beginDropdown( $rolesString, $visibleName, $href, $iconString);
228226
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
229227
* `$visibleName` - a string caption visible in sidebar
230228
* `$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`
232230

233231
To end dropdown section - use function `endDropdown()`.
234232

235233
To add __link__ to __dropdown__ call function `insertLink()` between function calls `beginDropdown()` and `endDropdown()`.
236234
Example:
237235
```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');
239237
$id = $this->insertLink('guest,user,admin', 'Dropdown name', 'http://example.com');
240238
$this->endDropdown();
241239
```

0 commit comments

Comments
 (0)