refacor: update dashboard to coreui-vue changes

This commit is contained in:
woothu
2019-11-08 12:50:42 +01:00
parent cb5f6ec3a2
commit 1c7b133ae5
42 changed files with 549 additions and 4034 deletions
+2 -12
View File
@@ -107,16 +107,7 @@
<CAlert
color="secondary"
closeButton
fade
:show.sync="alert2"
>
Dismissible Alert with fade effect!
</CAlert>
<CAlert
color="secondary"
:show.sync="alert3"
class="alert-dismissible"
>
Dismissible Alert with custom button!
@@ -124,7 +115,7 @@
class="position-absolute"
color="secondary"
style="right:10px;top: 50%;transform: translateY(-50%);"
@click="alert3 = false"
@click="alert2 = false"
>
Close
</CButton>
@@ -186,8 +177,7 @@ export default {
dismissSecs: 10,
dismissCountDown: 10,
alert1: true,
alert2: true,
alert3: true
alert2: true
}
},
methods: {
+9 -9
View File
@@ -51,17 +51,17 @@
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i> Badge
<small>pills</small>
<small>shape="pill"</small>
</CCardHeader>
<CCardBody>
<CBadge pill color="primary">Primary</CBadge>
<CBadge pill color="secondary">Secondary</CBadge>
<CBadge pill color="success">Success</CBadge>
<CBadge pill color="danger">Danger</CBadge>
<CBadge pill color="warning">Warning</CBadge>
<CBadge pill color="info">Info</CBadge>
<CBadge pill color="light">Light</CBadge>
<CBadge pill color="dark">Dark</CBadge>
<CBadge shape="pill" color="primary">Primary</CBadge>
<CBadge shape="pill" color="secondary">Secondary</CBadge>
<CBadge shape="pill" color="success">Success</CBadge>
<CBadge shape="pill" color="danger">Danger</CBadge>
<CBadge shape="pill" color="warning">Warning</CBadge>
<CBadge shape="pill" color="info">Info</CBadge>
<CBadge shape="pill" color="light">Light</CBadge>
<CBadge shape="pill" color="dark">Dark</CBadge>
</CCardBody>
</CCard>
<CCard>
+1
View File
@@ -91,6 +91,7 @@
<CModal
title="Modal title"
:show.sync="primaryModal"
color="primary"
>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,