From cac84bdcdd8b849be39ffc35cb8a411b2f9bb96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Sun, 29 Aug 2021 16:10:33 +0200 Subject: [PATCH] refactor: update examples --- src/views/Dashboard.vue | 10 +- src/views/base/Accordion.vue | 8 +- src/views/base/Breadcrumbs.vue | 4 +- src/views/base/Cards.vue | 96 +-- src/views/base/Carousels.vue | 33 +- src/views/base/Collapses.vue | 23 +- src/views/base/Forms.vue | 817 ------------------------ src/views/base/ListGroups.vue | 44 +- src/views/base/Navbars.vue | 80 +-- src/views/base/Navs.vue | 48 +- src/views/base/Popovers.vue | 11 +- src/views/base/Progress.vue | 28 +- src/views/base/Spinners.vue | 28 +- src/views/base/Switches.vue | 12 +- src/views/base/Tables.vue | 88 +-- src/views/base/Tabs.vue | 6 +- src/views/base/Tooltips.vue | 11 +- src/views/buttons/ButtonGroups.vue | 52 +- src/views/buttons/Buttons.vue | 60 +- src/views/buttons/Dropdowns.vue | 40 +- src/views/charts/CChartBarExample.vue | 4 +- src/views/charts/CChartLineExample.vue | 2 +- src/views/forms/ChecksRadios.vue | 64 +- src/views/forms/FloatingLabels.vue | 24 +- src/views/forms/FormControl.vue | 32 +- src/views/forms/InputGroup.vue | 44 +- src/views/forms/Layout.vue | 36 +- src/views/forms/Range.vue | 16 +- src/views/forms/Select.vue | 20 +- src/views/forms/Validation.vue | 20 +- src/views/icons/Brands.vue | 45 +- src/views/icons/CoreUIIcons.vue | 44 +- src/views/icons/Flags.vue | 46 +- src/views/notifications/Alerts.vue | 16 +- src/views/notifications/Badges.vue | 20 +- src/views/notifications/Modals.vue | 43 +- src/views/widgets/Widgets.vue | 46 +- src/views/widgets/WidgetsStatsTypeA.vue | 2 +- 38 files changed, 601 insertions(+), 1422 deletions(-) delete mode 100644 src/views/base/Forms.vue diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index d6848f63..cc1b5bbf 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -8,7 +8,7 @@

Traffic

-
November 2017
+
January 2021
@@ -316,7 +316,7 @@ - + User Click the accordions below to expand/collapse the accordion content.

- + @@ -96,7 +96,7 @@ - + @@ -110,7 +110,7 @@ corners to render accordions edge-to-edge with their parent container.

- + @@ -200,7 +200,7 @@ - +
diff --git a/src/views/base/Breadcrumbs.vue b/src/views/base/Breadcrumbs.vue index e1c289b2..705a3ae8 100644 --- a/src/views/base/Breadcrumbs.vue +++ b/src/views/base/Breadcrumbs.vue @@ -23,7 +23,7 @@ .

- + Home @@ -51,7 +51,7 @@ Bootstrap - + diff --git a/src/views/base/Cards.vue b/src/views/base/Cards.vue index 7ac093b5..e0be4a84 100644 --- a/src/views/base/Cards.vue +++ b/src/views/base/Cards.vue @@ -26,7 +26,7 @@ width. Cards have no fixed width to start, so they'll naturally fill the full width of its parent element.

- + Go somewhere - + @@ -67,11 +67,11 @@ The main block of a card is the <CCardBody>. Use it whenever you need a padded section within a card.

- + This is some text within a card body. - + @@ -96,7 +96,7 @@ <CCardBody> item, the card title, and subtitle are arranged rightly.

- + Card title @@ -111,7 +111,7 @@ Another link - + @@ -125,7 +125,7 @@ within .card-text can additionally be styled with the regular HTML tags.

- + - + @@ -165,7 +165,7 @@

Create lists of content in a card with a flush list group.

- + @@ -197,7 +197,7 @@ - + @@ -212,7 +212,7 @@ throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card.

- + Another link - + @@ -262,7 +262,7 @@

Add an optional header and/or footer within a card.

- + Header @@ -274,12 +274,12 @@ Go somewhere - +

Card headers can be styled by adding ex. component="h5".

- + Header @@ -291,8 +291,8 @@ Go somewhere - - + + Quote @@ -308,8 +308,8 @@ - - + + Header @@ -322,7 +322,7 @@ 2 days ago - + @@ -340,7 +340,7 @@

Using the grid, wrap cards in columns and rows as needed.

- + @@ -367,7 +367,7 @@ - +

Using utilities

Use some of @@ -376,7 +376,7 @@ > to rapidly set a card's width.

- + Card title @@ -397,13 +397,13 @@ Go somewhere - + Using custom CSS

Use custom CSS in your stylesheets or as inline styles to set a width.

- + Special title treatment @@ -414,7 +414,7 @@ Go somewhere - + @@ -432,7 +432,7 @@ > .

- + Special title treatment @@ -463,7 +463,7 @@ Go somewhere - + @@ -477,7 +477,7 @@ Add some navigation to a <CCardHeader> with our <CNav> component.

- + @@ -501,8 +501,8 @@ Go somewhere - - + + @@ -526,7 +526,7 @@ Go somewhere - + @@ -540,7 +540,7 @@ Similar to headers and footers, cards can include top and bottom "image caps"—images at the top or bottom of a card.

- + @@ -613,7 +613,7 @@ - + @@ -631,7 +631,7 @@

Use color property to change the appearance of a card.

- + {[ { color: 'primary', textColor: 'white' }, { color: 'secondary', textColor: 'white' }, { color: 'success', textColor: 'white' }, { @@ -656,7 +656,7 @@ ))} - +

Border

Use @@ -668,7 +668,7 @@ <CCard> or a subset of the card's contents as shown below.

- +