Skip to content

Commit 2f704dc

Browse files
committed
fix: small fixes
1 parent f490e6a commit 2f704dc

File tree

11 files changed

+156
-116
lines changed

11 files changed

+156
-116
lines changed

src/containers/DefaultHeaderDropdownAccnt.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
no-popper
66
add-menu-classes="c-dropdown-menu-right"
77
>
8-
<template #button-content>
8+
<template #toggler-content>
99
<img
1010
src="img/avatars/6.jpg"
1111
class="c-img-avatar"

src/containers/TheHeader.vue

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,25 @@
44
class="c-header-toggler c-d-lg-none"
55
v-c-emit-root-event:c-sidebar-toggle
66
/>
7-
<CLink class="c-header-brand" to="#">
8-
<img class="c-navbar-brand-full" src="img/brand/logo.svg" width="89" height="25" alt="CoreUI Logo">
9-
<!-- <img class="c-navbar-brand-minimized" src="img/brand/sygnet.svg" width="30" height="30" alt="CoreUI Logo"> -->
7+
<CLink class="c-header-brand" to="/">
8+
<img
9+
class="c-navbar-brand-full"
10+
src="img/brand/logo.svg"
11+
width="89"
12+
height="25"
13+
alt="CoreUI Logo"
14+
>
15+
<!-- <img
16+
class="c-navbar-brand-minimized"
17+
src="img/brand/sygnet.svg"
18+
width="30"
19+
height="30"
20+
alt="CoreUI Logo"
21+
> -->
1022
</CLink>
1123
<CSidebarToggler
1224
class="c-header-toggler c-d-md-down-none"
13-
v-c-emit-root-event:c-sidebar-toggle
25+
v-c-emit-root-event:c-sidebar-toggle
1426
/>
1527
<ul class="c-header-nav c-d-md-down-none">
1628
<CNavItem class="c-px-3" to="/dashboard">Dashboard</CNavItem>

src/containers/TheSidebar.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<template>
2-
<CSidebar fixed :minimize="minimize">
2+
<CSidebar
3+
fixed
4+
:minimize="minimize"
5+
dropdownBehaviors="closeOnInactiveRoute"
6+
>
37
<CSidebarHeader/>
48
<CSidebarForm/>
59
<CSidebarNav :nav-items="computedNav"/>
610
<CSidebarFooter/>
7-
<CSidebarMinimizer @click="minimize = !minimize"/>
11+
<CSidebarMinimizer @click.native="minimize = !minimize"/>
812
</CSidebar>
913
</template>
1014

src/containers/_nav.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default {
3939
},
4040
{
4141
name: 'Base',
42-
url: '/base',
42+
route: '/base',
4343
icon: 'cui-puzzle',
4444
children: [
4545
{
@@ -126,7 +126,7 @@ export default {
126126
},
127127
{
128128
name: 'Buttons',
129-
url: '/buttons',
129+
route: '/buttons',
130130
icon: 'cui-cursor',
131131
children: [
132132
{
@@ -158,7 +158,7 @@ export default {
158158
},
159159
{
160160
name: 'Icons',
161-
url: '/icons',
161+
route: '/icons',
162162
icon: 'cui-star',
163163
children: [
164164
{
@@ -184,7 +184,7 @@ export default {
184184
},
185185
{
186186
name: 'Notifications',
187-
url: '/notifications',
187+
route: '/notifications',
188188
icon: 'cui-bell',
189189
children: [
190190
{
@@ -222,7 +222,7 @@ export default {
222222
},
223223
{
224224
name: 'Pages',
225-
url: '/pages',
225+
route: '/pages',
226226
icon: 'cui-star',
227227
children: [
228228
{

src/views/Dashboard.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,15 +452,13 @@
452452
import MainChartExample from './charts/MainChartExample'
453453
import WidgetsDropdown from './widgets/WidgetsDropdown'
454454
import WidgetsBrand from './widgets/WidgetsBrand'
455-
import CChartLineSimple from './charts/CChartLineSimple'
456455
457456
export default {
458457
name: 'Dashboard',
459458
components: {
460459
MainChartExample,
461460
WidgetsDropdown,
462-
WidgetsBrand,
463-
CChartLineSimple
461+
WidgetsBrand
464462
},
465463
data () {
466464
return {

src/views/base/Breadcrumbs.vue

Lines changed: 57 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div>
1919
</CCardHeader>
2020
<CCardBody>
21-
<CBreadcrumb :items="items" add-link-classes="sss" last-item-classes="aaa"/>
21+
<CBreadcrumb :items="items"/>
2222
<CBreadcrumb :items="items2"/>
2323
<CBreadcrumb :items="items3"/>
2424
</CCardBody>
@@ -34,46 +34,67 @@ export default {
3434
name: 'breadcrumbs',
3535
data () {
3636
return {
37-
items: [{
38-
textHtml: '<b>Admin</b>',
39-
href: '#'
40-
}, {
41-
textHtml: 'Manage',
42-
href: '#'
43-
}, {
44-
textHtml: 'Library'
45-
}],
37+
items: [
38+
{
39+
textHtml: '<b>Admin</b>',
40+
href: '#'
41+
},
42+
{
43+
textHtml: 'Manage',
44+
href: '#'
45+
},
46+
{
47+
textHtml: 'Library'
48+
}
49+
],
4650
4751
48-
items2: [{
49-
textHtml: 'Go to dashboard',
50-
to: '/dashboard'
51-
}, {
52-
textHtml: 'Go to widgets',
53-
to: '/Widgets'
54-
}, {
55-
textHtml: 'Go to Google',
56-
href: 'http://google.com'
57-
},{
58-
textHtml: 'Current page'
59-
}],
52+
items2: [
53+
{
54+
textHtml: 'Go to dashboard',
55+
to: '/dashboard'
56+
},
57+
{
58+
textHtml: 'Go to widgets',
59+
to: '/Widgets'
60+
},
61+
{
62+
textHtml: 'Go to Google',
63+
href: 'http://google.com'
64+
},
65+
{
66+
textHtml: 'Current page'
67+
}
68+
],
6069
6170
62-
items3: [{
63-
textHtml: 'Link',
64-
to: '#2',
65-
activeClass: 'c-bg-info c-p-1'
66-
}, {
67-
textHtml: 'Active',
68-
to: '#3',
69-
activeClass: 'c-bg-warning c-p-1',
70-
addLinkClasses: 'c-bg-info c-p-1'
71-
},{
72-
textHtml: 'Classes',
73-
to: '#4',
74-
activeClass: 'c-bg-danger c-p-1',
75-
}]
71+
items3: [
72+
{
73+
textHtml: 'Added',
74+
to: '#2',
75+
addClasses: 'c-font-xl'
76+
},
77+
{
78+
textHtml: 'Custom',
79+
to: '#3',
80+
addClasses: 'c-font-xl'
81+
},
82+
{
83+
textHtml: 'Classes',
84+
to: '#4',
85+
addClasses: 'c-font-xl c-text-danger'
86+
}
87+
]
7688
}
7789
}
7890
}
7991
</script>
92+
93+
<style>
94+
.c-breadcrumb-item + .c-font-xl.c-breadcrumb-item::before {
95+
color: rgb(140, 195, 38);
96+
content: '>>';
97+
padding: 0px 10px;
98+
99+
}
100+
</style>

0 commit comments

Comments
 (0)