refacor: update dashboard to coreui-vue changes
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user