|
1 | 1 | <template> |
2 | | - <AppHeaderDropdown right no-caret> |
3 | | - <template slot="header"> |
| 2 | + <c-nav-item-dropdown no-caret right> |
| 3 | + <template slot="button-content"> |
4 | 4 | <img |
5 | 5 | src="img/avatars/6.jpg" |
6 | 6 | class="img-avatar" |
7 | 7 | alt="admin@bootstrapmaster.com" /> |
8 | | - </template>\ |
9 | | - <template slot="dropdown"> |
10 | | - <b-dropdown-header tag="div" class="text-center"><strong>Account</strong></b-dropdown-header> |
11 | | - <b-dropdown-item><i class="fa fa-bell-o" /> Updates |
12 | | - <b-badge variant="info">{{ itemsCount }}</b-badge> |
13 | | - </b-dropdown-item> |
14 | | - <b-dropdown-item><i class="fa fa-envelope-o" /> Messages |
15 | | - <b-badge variant="success">{{ itemsCount }}</b-badge> |
16 | | - </b-dropdown-item> |
17 | | - <b-dropdown-item><i class="fa fa-tasks" /> Tasks |
18 | | - <b-badge variant="danger">{{ itemsCount }}</b-badge> |
19 | | - </b-dropdown-item> |
20 | | - <b-dropdown-item><i class="fa fa-comments" /> Comments |
21 | | - <b-badge variant="warning">{{ itemsCount }}</b-badge> |
22 | | - </b-dropdown-item> |
23 | | - <b-dropdown-header |
24 | | - tag="div" |
25 | | - class="text-center"> |
26 | | - <strong>Settings</strong> |
27 | | - </b-dropdown-header> |
28 | | - <b-dropdown-item><i class="fa fa-user" /> Profile</b-dropdown-item> |
29 | | - <b-dropdown-item><i class="fa fa-wrench" /> Settings</b-dropdown-item> |
30 | | - <b-dropdown-item><i class="fa fa-usd" /> Payments |
31 | | - <b-badge variant="secondary">{{ itemsCount }}</b-badge> |
32 | | - </b-dropdown-item> |
33 | | - <b-dropdown-item><i class="fa fa-file" /> Projects |
34 | | - <b-badge variant="primary">{{ itemsCount }}</b-badge> |
35 | | - </b-dropdown-item> |
36 | | - <b-dropdown-divider /> |
37 | | - <b-dropdown-item><i class="fa fa-shield" /> Lock Account</b-dropdown-item> |
38 | | - <b-dropdown-item><i class="fa fa-lock" /> Logout</b-dropdown-item> |
39 | 8 | </template> |
40 | | - </AppHeaderDropdown> |
| 9 | + |
| 10 | + <b-dropdown-header tag="div" class="text-center"><strong>Account</strong></b-dropdown-header> |
| 11 | + <b-dropdown-item><i class="fa fa-bell-o" /> Updates |
| 12 | + <c-badge variant="info" additionalClasses="hehe">{{ itemsCount }}</c-badge> |
| 13 | + </b-dropdown-item> |
| 14 | + <b-dropdown-item><i class="fa fa-envelope-o" /> Messages |
| 15 | + <c-badge variant="success">{{ itemsCount }}</c-badge> |
| 16 | + </b-dropdown-item> |
| 17 | + <b-dropdown-item><i class="fa fa-tasks" /> Tasks |
| 18 | + <c-badge variant="danger">{{ itemsCount }}</c-badge> |
| 19 | + </b-dropdown-item> |
| 20 | + <b-dropdown-item><i class="fa fa-comments" /> Comments |
| 21 | + <c-badge variant="warning">{{ itemsCount }}</c-badge> |
| 22 | + </b-dropdown-item> |
| 23 | + <b-dropdown-header |
| 24 | + tag="div" |
| 25 | + class="text-center"> |
| 26 | + <strong>Settings</strong> |
| 27 | + </b-dropdown-header> |
| 28 | + <b-dropdown-item><i class="fa fa-user" /> Profile</b-dropdown-item> |
| 29 | + <b-dropdown-item><i class="fa fa-wrench" /> Settings</b-dropdown-item> |
| 30 | + <b-dropdown-item><i class="fa fa-usd" /> Payments |
| 31 | + <c-badge variant="secondary">{{ itemsCount }}</c-badge> |
| 32 | + </b-dropdown-item> |
| 33 | + <b-dropdown-item><i class="fa fa-file" /> Projects |
| 34 | + <c-badge variant="primary">{{ itemsCount }}</c-badge> |
| 35 | + </b-dropdown-item> |
| 36 | + <b-dropdown-divider /> |
| 37 | + <b-dropdown-item><i class="fa fa-shield" /> Lock Account</b-dropdown-item> |
| 38 | + <b-dropdown-item><i class="fa fa-lock" /> Logout</b-dropdown-item> |
| 39 | + </c-nav-item-dropdown> |
41 | 40 | </template> |
42 | 41 |
|
43 | 42 | <script> |
44 | | -import { HeaderDropdown as AppHeaderDropdown } from '@coreui/vue' |
| 43 | +
|
45 | 44 | export default { |
46 | 45 | name: 'DefaultHeaderDropdownAccnt', |
47 | | - components: { |
48 | | - AppHeaderDropdown |
49 | | - }, |
50 | 46 | data: () => { |
51 | 47 | return { itemsCount: 42 } |
52 | | - } |
| 48 | + }, |
53 | 49 | } |
54 | 50 | </script> |
0 commit comments