refactor: change CCol cols attribute to col attribute

This commit is contained in:
woothu
2019-04-04 09:29:10 +02:00
parent 4b8fdbf142
commit 3a9bc09c3a
25 changed files with 1664 additions and 1664 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<div class="wrapper">
<div class="animated fadeIn">
<CRow>
<CCol cols>
<CCol col>
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i><strong> Bootstrap Breadcrumb</strong>
+4 -4
View File
@@ -52,7 +52,7 @@
<CCardBody :bodyHtml="loremIpsum"/>
</CCard>
</CCol>
</CRow><!--/.row-->
</CRow>
<CRow>
<CCol sm="6" md="4">
<CCard
@@ -92,7 +92,7 @@
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
</CCard>
</CCol>
</CRow><!--/.row-->
</CRow>
<CRow>
<CCol sm="6" md="4">
@@ -125,7 +125,7 @@
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
</CCard>
</CCol>
</CRow><!--/.row-->
</CRow>
<CRow>
<CCol sm="6" md="4">
<CCard class="bg-primary text-center" bodyWrapper>
@@ -187,7 +187,7 @@
</blockquote>
</CCard>
</CCol>
</CRow><!--/.row-->
</CRow>
<CRow>
<CCol sm="6" md="4">
<CCard headerHtml="Card title" class="bg-primary" bodyWrapper>
+6 -6
View File
@@ -2,7 +2,7 @@
<div class="wrapper">
<div class="animated fadeIn">
<CRow>
<CCol cols="12" md="6">
<CCol col="12" md="6">
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i>
@@ -31,7 +31,7 @@
</CCardBody>
</CCard>
</CCol>
<!-- <CCol cols="12" md="6">
<!-- <CCol col="12" md="6">
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>with <code>v-b-toggle</code> directive</small>
@@ -51,7 +51,7 @@
</CCol>
</CRow>
<CRow>
<CCol cols="12" md="6">
<CCol col="12" md="6">
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>with <code>visibility</code></small>
@@ -66,7 +66,7 @@
</div>
</CCard>
</CCol>
<CCol cols="12" md="6">
<CCol col="12" md="6">
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>with <code>v-model</code></small>
@@ -88,7 +88,7 @@
</CCol>
</CRow>
<CRow>
<CCol cols="12" md="6">
<CCol col="12" md="6">
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>multiple elements</small>
@@ -109,7 +109,7 @@
</div>
</CCard>
</CCol>
<CCol cols="12" md="6">
<CCol col="12" md="6">
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small><code>accordion</code> support</small>
+4 -4
View File
@@ -590,10 +590,10 @@
v-for="(number, key) in [4,5,6,7,8]"
:key="key"
>
<CCol :cols="12 - number">
<CCol :col="12 - number">
<CFormInput class="mb-0" :placeholder="`.col-md-${12 - number}`"/>
</CCol>
<CCol :cols="number">
<CCol :col="number">
<CFormInput class="mb-0" :placeholder="`.col-md-${number}`"/>
</CCol>
</CRow>
@@ -618,10 +618,10 @@
v-for="(number, key) in [4,5,6,7,8]"
:key="key"
>
<CCol :cols="number">
<CCol :col="number">
<CFormInput class="mb-0" :placeholder="`.col-${number}`"/>
</CCol>
<CCol :cols="12 - number">
<CCol :col="12 - number">
<CFormInput class="mb-0" :placeholder="`.col-${12 - number}`"/>
</CCol>
</CRow>
+1 -1
View File
@@ -169,7 +169,7 @@
</CCol>
</CRow>
<CRow>
<CCol cols="12">
<CCol col="12">
<CCard>
<CCardHeader>
<i class="fa fa-align-justify"></i>
+1 -1
View File
@@ -141,7 +141,7 @@
</CCardHeader>
<CCardBody>
<CRow>
<CCol cols="3" class="m-0">
<CCol col="3" class="m-0">
<CNav vertical pills >
<CNavItem active>Active</CNavItem>
<CNavItem>Link</CNavItem>
+3 -3
View File
@@ -13,7 +13,7 @@
</CCardHeader>
<CCardBody>
<CRow>
<CCol cols="4">
<CCol col="4">
<div class="my-3 text-center">
<CButton
variant="primary"
@@ -26,7 +26,7 @@
</CButton>
</div>
</CCol>
<CCol cols="4">
<CCol col="4">
<div class="my-3 text-center">
<CButton
variant="primary"
@@ -39,7 +39,7 @@
/>
</div>
</CCol>
<CCol cols="4">
<CCol col="4">
<div class="my-3 text-center">
<CButton
variant="primary"
+3 -3
View File
@@ -41,7 +41,7 @@
square
size="sm"
@click="toggleDetails(index)"
:text="details.includes(index) ? 'Hide' : 'Show'"
:textHtml="details.includes(index) ? 'Hide' : 'Show'"
/>
</td>
</template>
@@ -92,7 +92,7 @@
caption="<i class='fa fa-align-justify'></i> Striped Table"
/>
</CCol><!--/.col-->
</CRow><!--/.row-->
</CRow>
<CRow>
<CCol lg="6">
@@ -111,7 +111,7 @@
caption="<i class='fa fa-align-justify'></i> Bordered Table"
/>
</CCol><!--/.col-->
</CRow><!--/.row-->
</CRow>
<CRow>
<CCol sm="12">
+3 -3
View File
@@ -14,21 +14,21 @@
</CCardHeader>
<CCardBody>
<CRow>
<CCol cols="4">
<CCol col="4">
<div class="text-center my-3">
<CButton v-c-tooltip.hover.click="'I am a tooltip!'">
Hover Me
</CButton>
</div>
</CCol>
<CCol cols="4">
<CCol col="4">
<div class="text-center my-3">
<CButton v-c-tooltip="{content: 'I start open!', active:true }">
Hover me
</CButton>
</div>
</CCol>
<CCol cols="4">
<CCol col="4">
<div class="text-center my-3">
<CButton v-c-tooltip.click="
'I am showing on click and hiding on click outside tooltip!'