fix: small fixes

This commit is contained in:
woothu
2019-10-19 15:28:59 +02:00
parent b24bdc4f6e
commit 452af28957
8 changed files with 38 additions and 37 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ export default [
icon: 'cui-speedometer', icon: 'cui-speedometer',
badge: { badge: {
color: 'primary', color: 'primary',
textHtml: 'NEW' text: 'NEW'
} }
} }
} }
@@ -296,7 +296,7 @@ export default [
icon: 'cui-star', icon: 'cui-star',
badge: { badge: {
color: 'info', color: 'info',
textHtml: 'NEW' text: 'NEW'
} }
} }
} }
@@ -374,7 +374,7 @@ export default [
icon: 'cui-calculator', icon: 'cui-calculator',
badge: { badge: {
color: 'primary', color: 'primary',
textHtml: 'NEW', text: 'NEW',
pill: true pill: true
} }
} }
+10 -10
View File
@@ -32,51 +32,51 @@ export default {
return { return {
items: [ items: [
{ {
textHtml: '<b>Admin</b>', text: '<b>Admin</b>',
href: '#' href: '#'
}, },
{ {
textHtml: 'Manage', text: 'Manage',
href: '#' href: '#'
}, },
{ {
textHtml: 'Library' text: 'Library'
} }
], ],
items2: [ items2: [
{ {
textHtml: 'Go to dashboard', text: 'Go to dashboard',
to: '/dashboard' to: '/dashboard'
}, },
{ {
textHtml: 'Go to widgets', text: 'Go to widgets',
to: '/Widgets' to: '/Widgets'
}, },
{ {
textHtml: 'Go to Google', text: 'Go to Google',
href: 'http://google.com' href: 'http://google.com'
}, },
{ {
textHtml: 'Current page' text: 'Current page'
} }
], ],
items3: [ items3: [
{ {
textHtml: 'Added', text: 'Added',
to: '#2', to: '#2',
addClasses: 'font-xl' addClasses: 'font-xl'
}, },
{ {
textHtml: 'Custom', text: 'Custom',
to: '#3', to: '#3',
addClasses: 'font-xl' addClasses: 'font-xl'
}, },
{ {
textHtml: 'Classes', text: 'Classes',
to: '#4', to: '#4',
addClasses: 'font-xl text-danger' addClasses: 'font-xl text-danger'
} }
+7 -7
View File
@@ -17,10 +17,10 @@
</CCardHeader> </CCardHeader>
<CCardBody> <CCardBody>
<CNavbar <CNavbar
toggleable="md" expandable="md"
color="info" color="info"
> >
<CNavbarToggler @click="show=!show"/> <CToggler inNavbar @click="show=!show"/>
<CNavbarBrand href="#">NavBar</CNavbarBrand> <CNavbarBrand href="#">NavBar</CNavbarBrand>
<CCollapse :show="show" navbar> <CCollapse :show="show" navbar>
<CNavbarNav> <CNavbarNav>
@@ -87,7 +87,7 @@
</CCardHeader> </CCardHeader>
<CCardBody> <CCardBody>
<CNavbar toggleable="sm" light color="light"> <CNavbar toggleable="sm" light color="light">
<CNavbarToggle @click="navbarText=!navbarText"></CNavbarToggle> <CToggler inNavbar @click="navbarText=!navbarText"/>
<CNavbarBrand>CoreuiVue</CNavbarBrand> <CNavbarBrand>CoreuiVue</CNavbarBrand>
<CCollapse :show="navbarText" navbar> <CCollapse :show="navbarText" navbar>
<CNavbarNav> <CNavbarNav>
@@ -103,8 +103,8 @@
<small>dropdown</small> <small>dropdown</small>
</CCardHeader> </CCardHeader>
<CCardBody> <CCardBody>
<CNavbar toggleable="sm" color="primary"> <CNavbar expandable="sm" color="primary" >
<CNavbarToggle @click="navbarDropdown = !navbarDropdown"></CNavbarToggle> <CToggler inNavbar @click="navbarDropdown = !navbarDropdown"/>
<CCollapse :show="navbarDropdown" navbar> <CCollapse :show="navbarDropdown" navbar>
<CNavbarNav> <CNavbarNav>
<CNavItem href="#">Home</CNavItem> <CNavItem href="#">Home</CNavItem>
@@ -112,7 +112,7 @@
<!-- Navbar dropdowns --> <!-- Navbar dropdowns -->
<CDropdown <CDropdown
toggler-text="Lang" toggler-text="Lang"
right placement="bottom-end"
nav nav
> >
<CDropdownItem>EN</CDropdownItem> <CDropdownItem>EN</CDropdownItem>
@@ -122,7 +122,7 @@
</CDropdown> </CDropdown>
<CDropdown <CDropdown
toggler-text="User" toggler-text="User"
right placement="bottom-end"
nav nav
> >
<CDropdownItem>Account</CDropdownItem> <CDropdownItem>Account</CDropdownItem>
+3 -2
View File
@@ -125,9 +125,10 @@
class="position-absolute" class="position-absolute"
color="secondary" color="secondary"
style="right:10px;top: 50%;transform: translateY(-50%);" style="right:10px;top: 50%;transform: translateY(-50%);"
textHtml="<i>Close</i>"
@click="dismiss" @click="dismiss"
/> >
<i>Close</i>
</CButton>
</CAlert> </CAlert>
<CButton <CButton
@click="showDismissibleAlerts" @click="showDismissibleAlerts"
+1 -1
View File
@@ -26,7 +26,7 @@
<CCardFooter> <CCardFooter>
<CButton color="primary"> <CButton color="primary">
Notifications Notifications
<CBadge color="light" :style="{position: 'static'}">4</CBadge> <CBadge color="light" class="ml-2 position-static">4</CBadge>
</CButton> </CButton>
</CCardFooter> </CCardFooter>
</CCard> </CCard>
+3 -3
View File
@@ -161,11 +161,11 @@
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<template #header="{hide}"> <template #header>
<h6 class="modal-title">Custom smaller modal title</h6> <h6 class="modal-title">Custom smaller modal title</h6>
<CButtonClose @click="hide()" class="text-white"/> <CButtonClose @click="darkModal = false" class="text-white"/>
</template> </template>
<template #footer="{hide}"> <template #footer>
<CButton @click="darkModal = false" color="danger">Discard</CButton> <CButton @click="darkModal = false" color="danger">Discard</CButton>
<CButton @click="darkModal = false" color="success">Accept</CButton> <CButton @click="darkModal = false" color="success">Accept</CButton>
</template> </template>
+10 -10
View File
@@ -140,7 +140,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="primary" color="primary"
no-icon-padding :icon-padding="false"
> >
<CIcon name="settings" width="24"/> <CIcon name="settings" width="24"/>
</CWidgetIcon> </CWidgetIcon>
@@ -150,7 +150,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="info" color="info"
no-icon-padding :icon-padding="false"
> >
<CIcon name="laptop" width="24"/> <CIcon name="laptop" width="24"/>
</CWidgetIcon> </CWidgetIcon>
@@ -160,7 +160,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="warning" color="warning"
no-icon-padding :icon-padding="false"
> >
<CIcon name="moon" width="24"/> <CIcon name="moon" width="24"/>
</CWidgetIcon> </CWidgetIcon>
@@ -170,7 +170,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="danger" color="danger"
no-icon-padding :icon-padding="false"
> >
<CIcon name="bell" width="24"/> <CIcon name="bell" width="24"/>
</CWidgetIcon> </CWidgetIcon>
@@ -182,7 +182,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="primary" color="primary"
no-icon-padding :icon-padding="false"
> >
<CIcon name="settings" class="mx-5 " width="24"/> <CIcon name="settings" class="mx-5 " width="24"/>
</CWidgetIcon> </CWidgetIcon>
@@ -192,7 +192,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="info" color="info"
no-icon-padding :icon-padding="false"
> >
<CIcon name="laptop" class="mx-5 " width="24"/> <CIcon name="laptop" class="mx-5 " width="24"/>
</CWidgetIcon> </CWidgetIcon>
@@ -202,7 +202,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="warning" color="warning"
no-icon-padding :icon-padding="false"
> >
<CIcon name="moon" class="mx-5 " width="24"/> <CIcon name="moon" class="mx-5 " width="24"/>
<template #footer> <template #footer>
@@ -225,7 +225,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="primary" color="primary"
no-icon-padding :icon-padding="false"
link="#" link="#"
> >
<CIcon name="settings" class="mx-5 " width="24"/> <CIcon name="settings" class="mx-5 " width="24"/>
@@ -236,7 +236,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="info" color="info"
no-icon-padding :icon-padding="false"
link="#" link="#"
> >
<CIcon name="laptop" class="mx-5 " width="24"/> <CIcon name="laptop" class="mx-5 " width="24"/>
@@ -247,7 +247,7 @@
header="$1.999,50" header="$1.999,50"
text="Income" text="Income"
color="warning" color="warning"
no-icon-padding :icon-padding="false"
link="#" link="#"
> >
<CIcon name="moon" class="mx-5" width="24"/> <CIcon name="moon" class="mx-5" width="24"/>
+1 -1
View File
@@ -37,7 +37,7 @@
class="float-right" class="float-right"
color="transparent p-0" color="transparent p-0"
placement="bottom-end" placement="bottom-end"
no-caret :caret="false"
buttonHtml="<i class='cui-location-pin'></i>" buttonHtml="<i class='cui-location-pin'></i>"
> >
<template #toggler-content> <template #toggler-content>