Skip to content

Commit 3a9bc09

Browse files
committed
refactor: change CCol cols attribute to col attribute
1 parent 4b8fdbf commit 3a9bc09

25 files changed

+1664
-1664
lines changed

src/views/base/Breadcrumbs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="wrapper">
33
<div class="animated fadeIn">
44
<CRow>
5-
<CCol cols>
5+
<CCol col>
66
<CCard>
77
<CCardHeader>
88
<i class="fa fa-align-justify"></i><strong> Bootstrap Breadcrumb</strong>

src/views/base/Cards.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<CCardBody :bodyHtml="loremIpsum"/>
5353
</CCard>
5454
</CCol>
55-
</CRow><!--/.row-->
55+
</CRow>
5656
<CRow>
5757
<CCol sm="6" md="4">
5858
<CCard
@@ -92,7 +92,7 @@
9292
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.
9393
</CCard>
9494
</CCol>
95-
</CRow><!--/.row-->
95+
</CRow>
9696

9797
<CRow>
9898
<CCol sm="6" md="4">
@@ -125,7 +125,7 @@
125125
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.
126126
</CCard>
127127
</CCol>
128-
</CRow><!--/.row-->
128+
</CRow>
129129
<CRow>
130130
<CCol sm="6" md="4">
131131
<CCard class="bg-primary text-center" bodyWrapper>
@@ -187,7 +187,7 @@
187187
</blockquote>
188188
</CCard>
189189
</CCol>
190-
</CRow><!--/.row-->
190+
</CRow>
191191
<CRow>
192192
<CCol sm="6" md="4">
193193
<CCard headerHtml="Card title" class="bg-primary" bodyWrapper>

src/views/base/Collapses.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="wrapper">
33
<div class="animated fadeIn">
44
<CRow>
5-
<CCol cols="12" md="6">
5+
<CCol col="12" md="6">
66
<CCard>
77
<CCardHeader>
88
<i class="fa fa-align-justify"></i>
@@ -31,7 +31,7 @@
3131
</CCardBody>
3232
</CCard>
3333
</CCol>
34-
<!-- <CCol cols="12" md="6">
34+
<!-- <CCol col="12" md="6">
3535
<CCard>
3636
<CCardHeader>
3737
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>with <code>v-b-toggle</code> directive</small>
@@ -51,7 +51,7 @@
5151
</CCol>
5252
</CRow>
5353
<CRow>
54-
<CCol cols="12" md="6">
54+
<CCol col="12" md="6">
5555
<CCard>
5656
<CCardHeader>
5757
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>with <code>visibility</code></small>
@@ -66,7 +66,7 @@
6666
</div>
6767
</CCard>
6868
</CCol>
69-
<CCol cols="12" md="6">
69+
<CCol col="12" md="6">
7070
<CCard>
7171
<CCardHeader>
7272
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>with <code>v-model</code></small>
@@ -88,7 +88,7 @@
8888
</CCol>
8989
</CRow>
9090
<CRow>
91-
<CCol cols="12" md="6">
91+
<CCol col="12" md="6">
9292
<CCard>
9393
<CCardHeader>
9494
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small>multiple elements</small>
@@ -109,7 +109,7 @@
109109
</div>
110110
</CCard>
111111
</CCol>
112-
<CCol cols="12" md="6">
112+
<CCol col="12" md="6">
113113
<CCard>
114114
<CCardHeader>
115115
<i class="fa fa-align-justify"></i><strong> Collapse </strong> <small><code>accordion</code> support</small>

src/views/base/Forms.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -590,10 +590,10 @@
590590
v-for="(number, key) in [4,5,6,7,8]"
591591
:key="key"
592592
>
593-
<CCol :cols="12 - number">
593+
<CCol :col="12 - number">
594594
<CFormInput class="mb-0" :placeholder="`.col-md-${12 - number}`"/>
595595
</CCol>
596-
<CCol :cols="number">
596+
<CCol :col="number">
597597
<CFormInput class="mb-0" :placeholder="`.col-md-${number}`"/>
598598
</CCol>
599599
</CRow>
@@ -618,10 +618,10 @@
618618
v-for="(number, key) in [4,5,6,7,8]"
619619
:key="key"
620620
>
621-
<CCol :cols="number">
621+
<CCol :col="number">
622622
<CFormInput class="mb-0" :placeholder="`.col-${number}`"/>
623623
</CCol>
624-
<CCol :cols="12 - number">
624+
<CCol :col="12 - number">
625625
<CFormInput class="mb-0" :placeholder="`.col-${12 - number}`"/>
626626
</CCol>
627627
</CRow>

src/views/base/ListGroups.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
</CCol>
170170
</CRow>
171171
<CRow>
172-
<CCol cols="12">
172+
<CCol col="12">
173173
<CCard>
174174
<CCardHeader>
175175
<i class="fa fa-align-justify"></i>

src/views/base/Navs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
</CCardHeader>
142142
<CCardBody>
143143
<CRow>
144-
<CCol cols="3" class="m-0">
144+
<CCol col="3" class="m-0">
145145
<CNav vertical pills >
146146
<CNavItem active>Active</CNavItem>
147147
<CNavItem>Link</CNavItem>

src/views/base/Popovers.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</CCardHeader>
1414
<CCardBody>
1515
<CRow>
16-
<CCol cols="4">
16+
<CCol col="4">
1717
<div class="my-3 text-center">
1818
<CButton
1919
variant="primary"
@@ -26,7 +26,7 @@
2626
</CButton>
2727
</div>
2828
</CCol>
29-
<CCol cols="4">
29+
<CCol col="4">
3030
<div class="my-3 text-center">
3131
<CButton
3232
variant="primary"
@@ -39,7 +39,7 @@
3939
/>
4040
</div>
4141
</CCol>
42-
<CCol cols="4">
42+
<CCol col="4">
4343
<div class="my-3 text-center">
4444
<CButton
4545
variant="primary"

src/views/base/Tables.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
square
4242
size="sm"
4343
@click="toggleDetails(index)"
44-
:text="details.includes(index) ? 'Hide' : 'Show'"
44+
:textHtml="details.includes(index) ? 'Hide' : 'Show'"
4545
/>
4646
</td>
4747
</template>
@@ -92,7 +92,7 @@
9292
caption="<i class='fa fa-align-justify'></i> Striped Table"
9393
/>
9494
</CCol><!--/.col-->
95-
</CRow><!--/.row-->
95+
</CRow>
9696

9797
<CRow>
9898
<CCol lg="6">
@@ -111,7 +111,7 @@
111111
caption="<i class='fa fa-align-justify'></i> Bordered Table"
112112
/>
113113
</CCol><!--/.col-->
114-
</CRow><!--/.row-->
114+
</CRow>
115115

116116
<CRow>
117117
<CCol sm="12">

src/views/base/Tooltips.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@
1414
</CCardHeader>
1515
<CCardBody>
1616
<CRow>
17-
<CCol cols="4">
17+
<CCol col="4">
1818
<div class="text-center my-3">
1919
<CButton v-c-tooltip.hover.click="'I am a tooltip!'">
2020
Hover Me
2121
</CButton>
2222
</div>
2323
</CCol>
24-
<CCol cols="4">
24+
<CCol col="4">
2525
<div class="text-center my-3">
2626
<CButton v-c-tooltip="{content: 'I start open!', active:true }">
2727
Hover me
2828
</CButton>
2929
</div>
3030
</CCol>
31-
<CCol cols="4">
31+
<CCol col="4">
3232
<div class="text-center my-3">
3333
<CButton v-c-tooltip.click="
3434
'I am showing on click and hiding on click outside tooltip!'

src/views/buttons/BrandButtons.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="animated fadeIn">
33
<CRow>
4-
<CCol cols="12">
4+
<CCol col="12">
55
<CCard>
66
<CCardHeader>
77
<strong>Brand Button</strong>
@@ -96,7 +96,7 @@
9696
</CCardBody>
9797
</CCard>
9898
</CCol><!--/.col-->
99-
<CCol cols="12">
99+
<CCol col="12">
100100
<CCard>
101101
<CCardHeader>
102102
<strong>Brand Button </strong> <small>Icons only</small>
@@ -192,7 +192,7 @@
192192
</CCard>
193193
</CCol><!--/.col-->
194194

195-
<CCol cols="12">
195+
<CCol col="12">
196196
<CCard>
197197
<CCardHeader>
198198
<strong>Brand Button </strong> <small>Text only</small>
@@ -287,7 +287,7 @@
287287
</CCardBody>
288288
</CCard>
289289
</CCol><!--/.col-->
290-
</CRow><!--/.row-->
290+
</CRow>
291291
</div>
292292
</template>
293293

0 commit comments

Comments
 (0)