feat: Bootstrap Vue components changed to Coreui-Vue components

This commit is contained in:
woothu
2019-02-18 17:27:13 +01:00
parent 6433e8ac1e
commit 2057ba6b5c
47 changed files with 7751 additions and 8387 deletions
+95 -111
View File
@@ -1,31 +1,29 @@
<template>
<div class="wrapper">
<div class="animated fadeIn">
<!-- <b-row>
<b-col>
<b-card>
<!-- <CRow>
<CCol>
<CCard>
<CMedia asideClasses="m-5 align-self-end" asideRight>
<img slot="aside" src="img/avatars/6.jpg">
<div class="text-center">
ehhehefgofdjdjfd<br><br><br><br><br><br><br><br><br><br><br><br>dfs
</div>
</CMedia>
</b-card>
</b-col>
</b-row> -->
<b-row>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCard>
</CCol>
</CRow> -->
<CRow>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> Bootstrap list group </strong>
<div class="card-header-actions">
<a href="https://bootstrap-vue.js.org/docs/components/list-group" class="card-header-action" rel="noreferrer noopener" target="_blank">
<small class="text-muted">docs</small>
</a>
</div>
</div>
</CCardHeader>
<CListGroup>
<CListGroupItem>Cras justo odio</CListGroupItem>
<CListGroupItem>Dapibus ac facilisis in</CListGroupItem>
@@ -33,15 +31,13 @@
<CListGroupItem>Porta ac consectetur ac</CListGroupItem>
<CListGroupItem>Vestibulum at eros</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCard>
</CCol>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>active items</small>
</div>
</CCardHeader>
<CListGroup>
<CListGroupItem>Cras justo odio</CListGroupItem>
<CListGroupItem active>Dapibus ac facilisis in</CListGroupItem>
@@ -49,17 +45,15 @@
<CListGroupItem>Porta ac consectetur ac</CListGroupItem>
<CListGroupItem>Vestibulum at eros</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
</b-row>
<b-row>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCard>
</CCol>
</CRow>
<CRow>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>disabled items</small>
</div>
</CCardHeader>
<CListGroup>
<CListGroupItem disabled>Cras justo odio</CListGroupItem>
<CListGroupItem>Dapibus ac facilisis in</CListGroupItem>
@@ -67,72 +61,66 @@
<CListGroupItem disabled>Porta ac consectetur ac</CListGroupItem>
<CListGroupItem>Vestibulum at eros</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCard>
</CCol>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>actionable items</small>
</div>
</CCardHeader>
<CListGroup>
<CListGroupItem href="#some-link">Awesome link</CListGroupItem>
<CListGroupItem href="#" active>Link with active state</CListGroupItem>
<CListGroupItem href="#">Action links are easy</CListGroupItem>
<CListGroupItem href="#foobar" disabled>Disabled link</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
</b-row>
<b-row>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCard>
</CCol>
</CRow>
<CRow>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>buttons</small>
</div>
</CCardHeader>
<CListGroup>
<CListGroupItem tag="button">Button item</CListGroupItem>
<CListGroupItem tag="button">I am a button</CListGroupItem>
<CListGroupItem tag="button" disabled>Disabled button</CListGroupItem>
<CListGroupItem tag="button">This is a button too</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCard>
</CCol>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>with badges</small>
</div>
</CCardHeader>
<CListGroup>
<CListGroupItem class="d-flex justify-content-between align-items-center">
Cras justo odio
<b-badge variant="primary" pill>14</b-badge>
<CBadge variant="primary" pill>14</CBadge>
</CListGroupItem>
<CListGroupItem class="d-flex justify-content-between align-items-center">
Dapibus ac facilisis in
<b-badge variant="primary" pill>2</b-badge>
<CBadge variant="primary" pill>2</CBadge>
</CListGroupItem>
<CListGroupItem class="d-flex justify-content-between align-items-center">
Morbi leo risus
<b-badge variant="primary" pill>1</b-badge>
<CBadge variant="primary" pill>1</CBadge>
</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
</b-row>
<b-row>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>variants</small>
</div>
</CCard>
</CCol>
</CRow>
<CRow>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i>
<strong> List group </strong>
<small>variants</small>
</CCardHeader>
<CListGroup>
<CListGroupItem>This is a default list group item</CListGroupItem>
<CListGroupItem variant="primary">This is a primary list group item</CListGroupItem>
@@ -144,15 +132,15 @@
<CListGroupItem variant="light">This is a light list group item</CListGroupItem>
<CListGroupItem variant="dark">This is a dark list group item</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>variants active</small>
</div>
</CCard>
</CCol>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i>
<strong> List group </strong>
<small>variants active</small>
</CCardHeader>
<CListGroup>
<CListGroupItem href="#">This is a default list group item</CListGroupItem>
<CListGroupItem href="#" variant="primary">This is a primary list group item</CListGroupItem>
@@ -164,19 +152,17 @@
<CListGroupItem href="#" variant="light">This is a light list group item</CListGroupItem>
<CListGroupItem href="#" variant="dark">This is a dark list group item</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
</b-row>
<b-row>
<b-col cols="12">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCard>
</CCol>
</CRow>
<CRow>
<CCol cols="12">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>inside cards</small>
</div>
<b-card-group deck>
<b-card header="<b>Card with list group</b>">
</CCardHeader>
<CCardGroup deck>
<CCard header="<b>Card with list group</b>">
<CListGroup>
<CListGroupItem href="#">Cras justo odio</CListGroupItem>
<CListGroupItem href="#">Dapibus ac facilisis in</CListGroupItem>
@@ -188,32 +174,30 @@
consequat id aliqua. Esse ex consectetur mollit voluptate est in duis laboris
ad sit ipsum anim Lorem.
</p>
</b-card>
<b-card no-body header="<b>Card with flush list group</b>">
</CCard>
<CCard noWrapper header="<b>Card with flush list group</b>">
<CListGroup flush>
<CListGroupItem href="#">Cras justo odio</CListGroupItem>
<CListGroupItem href="#">Dapibus ac facilisis in</CListGroupItem>
<CListGroupItem href="#">Vestibulum at eros</CListGroupItem>
</CListGroup>
<b-card-body>
<CCardBody slot="body">
Quis magna Lorem anim amet ipsum do mollit sit cillum voluptate ex
nulla tempor. Laborum consequat non elit enim exercitation cillum aliqua
consequat id aliqua. Esse ex consectetur mollit voluptate est in duis laboris
ad sit ipsum anim Lorem.
</b-card-body>
</b-card>
</b-card-group>
</b-card>
</b-col>
</b-row>
<b-row>
<b-col md="6">
<b-card
header-tag="header"
footer-tag="footer">
<div slot="header">
</CCardBody>
</CCard>
</CCardGroup>
</CCard>
</CCol>
</CRow>
<CRow>
<CCol md="6">
<CCard>
<CCardHeader slot="header">
<i class="fa fa-align-justify"></i><strong> List group </strong><small>custom content</small>
</div>
</CCardHeader>
<CListGroup>
<CListGroupItem href="#" active class="flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
@@ -249,9 +233,9 @@
<small class="text-muted">Donec id elit non mi porta.</small>
</CListGroupItem>
</CListGroup>
</b-card>
</b-col>
</b-row>
</CCard>
</CCol>
</CRow>
</div>
</div>
</template>