diff --git a/src/views/Base/BasicForms/BasicForms.js b/src/views/Base/BasicForms/BasicForms.js deleted file mode 100644 index 7310fa7..0000000 --- a/src/views/Base/BasicForms/BasicForms.js +++ /dev/null @@ -1,1164 +0,0 @@ -import React from 'react' -import { - CButton, - CCard, - CCardBody, - CCardFooter, - CCardHeader, - CCol, - CCollapse, - CDropdownItem, - CDropdownMenu, - CDropdownToggle, - CFade, - CForm, - CFormGroup, - CFormText, - CValidFeedback, - CInvalidFeedback, - CTextarea, - CInput, - CInputFile, - CInputCheckbox, - CInputRadio, - CInputGroup, - CInputGroupAppend, - CInputGroupPrepend, - CDropdown, - CInputGroupText, - CLabel, - CSelect, - CRow -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const BasicForms = () => { - const [collapsed, setCollapsed] = React.useState(true) - const [showElements, setShowElements] = React.useState(true) - - return ( - <> - - - - - Credit Card - Form - - - - - - Name - - - - - - - - Credit Card Number - - - - - - - - Month - - - - - - - - - - - - - - - - - - - Year - - - - - - - - - - - - - - - - - CVV/CVC - - - - - - - - - - - Company - Form - - - - Company - - - - VAT - - - - Street - - - - - - City - - - - - - Postal Code - - - - - - Country - - - - - - - - - - - Basic Form - Elements - - - - - - Static - - -

Username

-
-
- - - Text Input - - - - This is a help text - - - - - Email Input - - - - Please enter your email - - - - - Password - - - - Please enter a complex password - - - - - Date Input - - - - - - - - Disabled Input - - - - - - - - Textarea - - - - - - - - Select - - - - - - - - - - - - - Select Large - - - - - - - - - - - - - Select Small - - - - - - - - - - - - - - - Disabled Select - - - - - - - - - - - - - Radios - - - - - Option 1 - - - - Option 2 - - - - Option 3 - - - - - - Inline Radios - - - - - One - - - - Two - - - - Three - - - - - Checkboxes - - - - Option 1 - - - - Option 2 - - - - Option 3 - - - - - - Inline Checkboxes - - - - - One - - - - Two - - - - Three - - - - - File input - - - - - - - Multiple File input - - - - - Choose Files... - - - - - Custom file input - - - - Choose file... - - - -
-
- - Submit - Reset - -
- - - Inline - Form - - - - - Name - - - - Email - - - - - - Submit - Reset - - -
- - - - Horizontal - Form - - - - - - Email - - - - Please enter your email - - - - - Password - - - - Please enter your password - - - - - - Submit Reset - - - - - Normal - Form - - - - - Email - - Please enter your email - - - Password - - Please enter your password - - - - - Submit Reset - - - - - Input - Grid - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Login Reset - - - - - Input - Sizes - - - - - Small Input - - - - - - Normal Input - - - - - - Large Input - - - - - - - - Submit - Reset - - - -
- - - - - Form - validation feedback - - - - Input is valid - - Cool! Input is valid - - - Input is invalid - - Houston, we have a problem... - - - - - - - - Validation feedback Form - - - - - Non-required input - - Non-required - - - Required input - - - Please provide a valid information - - Input provided - - - - - - - - - - - Icon/Text Groups - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .00 - - - - - - - - Submit - Reset - - - - - - - Button Groups - - - - - - - - Search - - - - - - - - - - - Submit - - - - - - - - - - - - - - - - - - - - - Submit - Reset - - - - - - - Dropdowns Groups - - - - - - - - - Dropdown - - - Action - Another Action - Something else here - - Separated link - - - - - - - - - - - - - Dropdown - - - Action - Another Action - Something else here - - Separated link - - - - - - - - - - Action - - Action - Another Action - Something else here - - Separated link - - - - - - Dropdown - - - Action - Another Action - Something else here - - Separated link - - - - - - - - - Submit - Reset - - - - - - - - - Use the grid for big devices! - .col-lg-* .col-md-* .col-sm-* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Action - Action - Action - Action - Action - - - - - - - Input Grid for small devices! - .col-* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Action - Action - Action - Action - Action - - - - - - - - - Example Form - - - - - - - Username - - - - - - - - - - - Email - - - - - - - - - - - Password - - - - - - - - - Submit - - - - - - - - - Example Form - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Submit - - - - - - - - - Example Form - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Submit - - - - - - - - - - - - Form Elements -
- - - - setCollapsed(!collapsed)} - > - - - setShowElements(false)} - > - - -
-
- - - - - Prepended text -
- - - @ - - - -

Here's some help text

-
-
- - Appended text -
- - - - .00 - - - Here's more help text -
-
- - Append and prepend -
- - - $ - - - - .00 - - -
-
- - Append with button -
- - - - Go! - - -
-
- - Two-button append -
- - - - Search - Options - - -
-
-
- Save changes - Cancel -
-
-
-
-
-
-
-
- - ) -} - -export default BasicForms diff --git a/src/views/Base/Breadcrumbs/Breadcrumbs.js b/src/views/Base/Breadcrumbs/Breadcrumbs.js deleted file mode 100644 index c1bc3ec..0000000 --- a/src/views/Base/Breadcrumbs/Breadcrumbs.js +++ /dev/null @@ -1,73 +0,0 @@ -import React from 'react' -import { - CBreadcrumb, - CBreadcrumbItem, - CBreadcrumbRouter, - CCard, - CCardBody, - CCardHeader, - CLink, - CCol, - CRow -} from '@coreui/react' -import routes from '../../../routes' - -const Breadcrumbs = () => { - return ( - - - - - Bootstrap Breadcrumb -
- - docs - -
-
- -
CBreadcrumbRouter wrapper component
- -
Manual
- - - Home - - Library - - - - Home - - - Library - - Data - - - - Home - - - Library - - - Data - - - Bootstrap - - -
-
-
-
- ) -} - -export default Breadcrumbs diff --git a/src/views/Base/Cards/Cards.js b/src/views/Base/Cards/Cards.js deleted file mode 100644 index 61de578..0000000 --- a/src/views/Base/Cards/Cards.js +++ /dev/null @@ -1,411 +0,0 @@ -import React from 'react' -import { - CBadge, - CCard, - CCardBody, - CCardFooter, - CCardHeader, - CCol, - CRow, - CCollapse, - CFade, - CSwitch, - CLink -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const Cards = () => { - const [collapsed, setCollapsed] = React.useState(true) - const [showCard, setShowCard] = React.useState(true) - - return ( - <> - - - - - Card title - - - 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. - - - - - - - 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. - - Card footer - - - - - - Card with icon -
- -
-
- - 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. - -
-
- - - - Card with switch -
- -
-
- - 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. - -
-
- - - - Card with label -
- Success -
-
- - 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. - -
-
- - - - Card with label -
- 42 -
-
- - 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. - -
-
-
- - - - - Card outline primary - - - 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. - - - - - - - Card outline secondary - - - 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. - - - - - - - Card outline success - - - 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. - - - - - - - Card outline info - - - 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. - - - - - - - Card outline warning - - - 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. - - - - - - - Card outline danger - - - 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. - - - - - - - - - - Card with accent - - - 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. - - - - - - - Card with accent - - - 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. - - - - - - - Card with accent - - - 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. - - - - - - - Card with accent - - - 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. - - - - - - - Card with accent - - - 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. - - - - - - - Card with accent - - - 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. - - - - - - - - -
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
- - - -
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
- - - -
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
- - - -
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
- - - -
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
- - - -
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

- -
-
-
-
-
- - - - - Card title - - - 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. - - - - - - - Card title - - - 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. - - - - - - - Card title - - - 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. - - - - - - - Card title - - - 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. - - - - - - - Card title - gradient - - - 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. - - - - - - - - Card actions -
- - - - setCollapsed(!collapsed)}> - - - setShowCard(false)}> - - -
-
- - - 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. - - -
-
-
-
- - ) -} - -export default Cards diff --git a/src/views/Base/Carousels/Carousels.js b/src/views/Base/Carousels/Carousels.js deleted file mode 100644 index 82a5e3c..0000000 --- a/src/views/Base/Carousels/Carousels.js +++ /dev/null @@ -1,139 +0,0 @@ -import React, { useState } from 'react' -import { - CCard, - CCardBody, - CCardHeader, - CCarousel, - CCarouselCaption, - CCarouselControl, - CCarouselIndicators, - CCarouselInner, - CCarouselItem, - CCol, - CRow -} from '@coreui/react' - -const slides = [ - 'data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22800%22%20height%3D%22400%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20400%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1607923e7e2%20text%20%7B%20fill%3A%23555%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A40pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1607923e7e2%22%3E%3Crect%20width%3D%22800%22%20height%3D%22400%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22285.9296875%22%20y%3D%22217.75625%22%3EFirst%20slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E', - 'data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22800%22%20height%3D%22400%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20400%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_15ba800aa20%20text%20%7B%20fill%3A%23444%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A40pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_15ba800aa20%22%3E%3Crect%20width%3D%22800%22%20height%3D%22400%22%20fill%3D%22%23666%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22247.3203125%22%20y%3D%22218.3%22%3ESecond%20slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E', - 'data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22800%22%20height%3D%22400%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20400%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_15ba800aa21%20text%20%7B%20fill%3A%23333%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A40pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_15ba800aa21%22%3E%3Crect%20width%3D%22800%22%20height%3D%22400%22%20fill%3D%22%23555%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22277%22%20y%3D%22218.3%22%3EThird%20slide%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E', -] - -const Carousels = () => { - const [activeIndex] = useState(1) - - return ( - - - - - Carousel with controls - - - - - - slide 1 - - - slide 2 - - - slide 3 - - - - - - - - - - - - Carousel with controls, indicators and caption - - - - - - - slide 1 -

Slide 1

Slide 1

-
- - slide 2 -

Slide 2

Slide 2

-
- - slide 3 -

Slide 3

Slide 3

-
-
- - -
-
-
-
- - - - Carousel animation - - - - - - - slide 1 -

Slide 1

Slide 1

-
- - slide 2 -

Slide 2

Slide 2

-
- - slide 3 -

Slide 3

Slide 3

-
-
- - -
-
-
-
- - - - Carousel animation with autoSlide - - - - - - - slide 1 -

Slide 1

Slide 1

-
- - slide 2 -

Slide 2

Slide 2

-
- - slide 3 -

Slide 3

Slide 3

-
-
- - -
-
-
-
-
- ) -} - -export default Carousels diff --git a/src/views/Base/Collapses/Collapses.js b/src/views/Base/Collapses/Collapses.js deleted file mode 100644 index 18597ee..0000000 --- a/src/views/Base/Collapses/Collapses.js +++ /dev/null @@ -1,227 +0,0 @@ -import React, { useState } from 'react' -import { - CButton, - CCard, - CCardBody, - CCardFooter, - CCardHeader, - CCol, - CCollapse, - CFade, - CRow -} from '@coreui/react'; - -const Collapses = () => { - - const [collapse, setCollapse] = useState(false) - const [collapseMulti, setCollapseMulti] = useState([false, false]) - const [accordion, setAccordion] = useState(1) - const [fade, setFade] = useState(true) - - const toggle = (e) => { - setCollapse(!collapse) - e.preventDefault() - } - - const toggleMulti = (type) => { - let newCollapse = collapseMulti.slice() - switch (type) { - case "left": - newCollapse[0] = !collapseMulti[0]; - break; - case "right": - newCollapse[1] = !collapseMulti[1]; - break; - case "both": - newCollapse[0] = !collapseMulti[0]; - newCollapse[1] = !collapseMulti[1]; - break; - default: - } - setCollapseMulti(newCollapse) - } - - const toggleFade = () => { - setFade(!fade) - } - - return ( - - - - - Collapse -
- - docs - -
-
- - -

- Anim pariatur cliche reprehenderit, - enim eiusmod high life accusamus terry richardson ad squid. Nihil - anim keffiyeh helvetica, craft beer labore wes anderson cred - nesciunt sapiente ea proident. -

-

- Donec molestie odio id nisi malesuada, mattis tincidunt velit egestas. Sed non pulvinar risus. Aenean - elementum eleifend nunc, pellentesque dapibus arcu hendrerit fringilla. Aliquam in nibh massa. Cras - ultricies lorem non enim volutpat, a eleifend urna placerat. Fusce id luctus urna. In sed leo tellus. - Mauris tristique leo a nisl feugiat, eget vehicula leo venenatis. Quisque magna metus, luctus quis - sollicitudin vel, vehicula nec ipsum. Donec rutrum commodo lacus ut condimentum. Integer vel turpis - purus. Etiam vehicula, nulla non fringilla blandit, massa purus faucibus tellus, a luctus enim orci non - augue. Aenean ullamcorper nisl urna, non feugiat tortor volutpat in. Vivamus lobortis massa dolor, eget - faucibus ipsum varius eget. Pellentesque imperdiet, turpis sed sagittis lobortis, leo elit laoreet arcu, - vehicula sagittis elit leo id nisi. -

-
-
- - Toggling button - -
- - - - Collapse - multi target - - -

- {toggleMulti('left')}}> - Left{' '} - {toggleMulti('right')}}> - Right{' '} - {toggleMulti('both')}}> - Both{' '} -

- - - - - - Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. - - - - - - - - - Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. - - - - - -
-
- -
- - - - Fade -
- - docs - -
-
- - - This content will fade in and out as the button is pressed... - - - - Toggle Fade - -
-
- - - - Collapse - accordion - - -
- - - setAccordion(accordion === 0 ? null : 0)} - > -
Collapsible Group Item #1
-
-
- - - 1. Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non - cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird - on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred - nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft - beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven''t heard of them accusamus labore sustainable VHS. - - -
- - - setAccordion(accordion === 1 ? null : 1)} - > -
Collapsible Group Item #2
-
-
- - - 2. Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non - cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird - on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred - nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft - beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven''t heard of them accusamus labore sustainable VHS. - - -
- - - setAccordion(accordion === 2 ? null : 2)} - > -
Collapsible Group Item #3
-
-
- - - 3. Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non - cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird - on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred - nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft - beer farm-to-table, raw denim aesthetic synth nesciunt you probably havent heard of them accusamus labore sustainable VHS. - - -
-
-
-
-
-
- ) -} - -export default Collapses diff --git a/src/views/Base/Jumbotrons/Jumbotrons.js b/src/views/Base/Jumbotrons/Jumbotrons.js deleted file mode 100644 index ccaeacf..0000000 --- a/src/views/Base/Jumbotrons/Jumbotrons.js +++ /dev/null @@ -1,79 +0,0 @@ -import React from 'react' -import { - CButton, - CCard, - CCardBody, - CCardHeader, - CCol, - CContainer, - CJumbotron, - CRow, - CEmbed, - CEmbedItem -} from '@coreui/react' - -const Jumbotrons = () => { - - return ( - <> - - - - - Jumbotron -
- - docs - -
-
- - -

Hello, world!

-

This is a simple hero unit, a simple Jumbotron - style component for calling extra - attention to featured content or information.

-
-

It uses utility classes for typgraphy and spacing to space content out within the larger container.

-

- Learn More -

-
-
-
-
- - - - Jumbotron - fluid - - - - -

Fluid jumbotron

-

This is a modified jumbotron that occupies the entire horizontal space of its parent.

-
-
-
-
-
-
- - - - - Embed - - - - - - - - - - - ) -} - -export default Jumbotrons diff --git a/src/views/Base/ListGroups/ListGroups.js b/src/views/Base/ListGroups/ListGroups.js deleted file mode 100644 index 5a857a3..0000000 --- a/src/views/Base/ListGroups/ListGroups.js +++ /dev/null @@ -1,277 +0,0 @@ -import React, { useState } from 'react'; -import { - CBadge, - CCard, - CCardBody, - CCardHeader, - CCol, - CListGroup, - CListGroupItem, - CListGroupItemHeading, - CListGroupItemText, - CRow, - CTabContent, - CTabPane -} from '@coreui/react'; - -const ListGroups = () => { - const [activeTab, setActiveTab] = useState(1) - - return ( - <> - - - - - - List group -
- - docs - -
-
- - - Cras justo odio - Dapibus ac facilisis in - Morbi leo risus - Porta ac consectetur ac - Vestibulum at eros - - -
- -
- - - - List group links - with first item active and last item disabled - - - - Cras justo odio - Dapibus ac facilisis in - Morbi leo risus - Porta ac consectetur ac - Vestibulum at eros - - - - -
- - - - - - - List group - contextual classes - - - - Dapibus ac facilisis in - This is a primary list group item - This is a secondary list group item - This is a success list group item - This is a danger list group item - This is a warning list group item - This is a info list group item - This is a light list group item - This is a dark list group item - - - - - - - - - - List group - contextual classes with .action - - - - Dapibus ac facilisis in - This is a primary list group item - This is a secondary list group item - This is a success list group item - This is a danger list group item - This is a warning list group item - This is a info list group item - This is a light list group item - This is a dark list group item - - - - - - - - - - - List group - accent - - - - This is a primary list group item - This is a secondary list group item - This is a success list group item - This is a danger list group item - This is a warning list group item - This is a info list group item - This is a light list group item - This is a dark list group item - - - - - - - - List group - accent with color - - - - This is a primary list group item - This is a secondary list group item - This is a success list group item - This is a danger list group item - This is a warning list group item - This is a info list group item - This is a light list group item - This is a dark list group item - - - - - - - - - - List group - with badges - - - - - Cras justo odio - 14 - - - Dapibus ac facilisis in - 2 - - - Morbi leo risus - 1 - - - - - - - - - - - List group - custom content - - - - - - - List group item heading - 3 days ago - - - Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. - Donec id elit non mi porta. - - - - List group item heading - - Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. - - Small. - - - List group item heading - - Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. - - Small. - - - - - - - - - - - - List group - tab Javascript plugin - - - - - - setActiveTab(0)} action active={activeTab === 0} >Home - setActiveTab(1)} action active={activeTab === 1} >Profile - setActiveTab(2)} action active={activeTab === 2} >Messages - setActiveTab(3)} action active={activeTab === 3} >Settings - - - - - -

Velit aute mollit ipsum ad dolor consectetur nulla officia culpa adipisicing exercitation fugiat tempor. Voluptate deserunt sit sunt - nisi aliqua fugiat proident ea ut. Mollit voluptate reprehenderit occaecat nisi ad non minim - tempor sunt voluptate consectetur exercitation id ut nulla. Ea et fugiat aliquip nostrud sunt incididunt consectetur culpa aliquip - eiusmod dolor. Anim ad Lorem aliqua in cupidatat nisi enim eu nostrud do aliquip veniam minim.

-
- -

Cupidatat quis ad sint excepteur laborum in esse qui. Et excepteur consectetur ex nisi eu do cillum ad laborum. Mollit et eu officia - dolore sunt Lorem culpa qui commodo velit ex amet id ex. Officia anim incididunt laboris deserunt - anim aute dolor incididunt veniam aute dolore do exercitation. Dolor nisi culpa ex ad irure in elit eu dolore. Ad laboris ipsum - reprehenderit irure non commodo enim culpa commodo veniam incididunt veniam ad.

-
- -

Ut ut do pariatur aliquip aliqua aliquip exercitation do nostrud commodo reprehenderit aute ipsum voluptate. Irure Lorem et laboris - nostrud amet cupidatat cupidatat anim do ut velit mollit consequat enim tempor. Consectetur - est minim nostrud nostrud consectetur irure labore voluptate irure. Ipsum id Lorem sit sint voluptate est pariatur eu ad cupidatat et - deserunt culpa sit eiusmod deserunt. Consectetur et fugiat anim do eiusmod aliquip nulla - laborum elit adipisicing pariatur cillum.

-
- -

Irure enim occaecat labore sit qui aliquip reprehenderit amet velit. Deserunt ullamco ex elit nostrud ut dolore nisi officia magna - sit occaecat laboris sunt dolor. Nisi eu minim cillum occaecat aute est cupidatat aliqua labore - aute occaecat ea aliquip sunt amet. Aute mollit dolor ut exercitation irure commodo non amet consectetur quis amet culpa. Quis ullamco - nisi amet qui aute irure eu. Magna labore dolor quis ex labore id nostrud deserunt dolor - eiusmod eu pariatur culpa mollit in irure.

-
-
-
-
-
-
-
-
- - ) -} - -export default ListGroups diff --git a/src/views/Base/Navbars/Navbars.js b/src/views/Base/Navbars/Navbars.js deleted file mode 100644 index b9bf4f1..0000000 --- a/src/views/Base/Navbars/Navbars.js +++ /dev/null @@ -1,202 +0,0 @@ -import React, { useState } from 'react' -import { - CCard, - CCardBody, - CCardHeader, - CCollapse, - CDropdownItem, - CDropdownMenu, - CDropdownToggle, - CNavbar, - CNavbarNav, - CNavbarBrand, - CNavbarText, - CToggler, - CNavLink, - CDropdown, - CForm, - CInput, - CButton, - CImg -} from '@coreui/react' -// import { CIcon } from '@coreui/icons-react' - -const CNavbars = () => { - const [isOpen, setIsOpen] = useState(false) - const [isOpenDropdown, setIsOpenDropdown] = useState(false) - const [navbarText, setNavbarText] = useState(false) - - return ( - <> - - - - CNavbar - - - - setIsOpen(!isOpen)}/> - - NavbarBrand - - - - Home - Link - - - - - Search - - - - Lang - - - EN - ES - RU - FA - - - - - User - - - Account - Settings - - - - - - - - - - - CNavbar brand - - - - - - CoreUI React - - - - - - - - CNavbar text - - - - { setNavbarText(!navbarText)}} - /> - NavbarBrand - - - Navbar text - - - - - - - - - CNavbar dropdown - - - - {setIsOpenDropdown(!isOpenDropdown)}} /> - - - Home - Link - - - Lang - - - EN - ES - RU - FA - - - - - User - - - Account - Settings - - - - - - - - - - - CNavbar form - - - - - - Search - - - - - - - - CNavbar input group - - - - - - - - - - - ) -} - -export default CNavbars diff --git a/src/views/Base/Navs/Navs.js b/src/views/Base/Navs/Navs.js deleted file mode 100644 index bac7f81..0000000 --- a/src/views/Base/Navs/Navs.js +++ /dev/null @@ -1,311 +0,0 @@ -import React from 'react' -import { - CRow, - CCol, - CCard, - CCardBody, - CCardHeader, - CDropdown, - CDropdownItem, - CDropdownMenu, - CDropdownToggle, - CNav, - CNavItem, - CNavLink -} from '@coreui/react' - -const Navs = () => { - return ( - <> - - - - - Navs -
- - docs - -
-
- - List Based - - - Active - - - Link - - - Link - - -
- Link Based - - Active - Link - Link - Disabled - -
- Link Base - - Active - Link - Link - Disabled - -
- Link Based - - Active - Link - Link - Disabled - -
-
-
- - - - Navs - vertical / links - - - - Active - Link - Link - Disabled - - - - - - - - Navs - vertical / list - - - - - Link - - - Link - - - Another Link - - - Disabled Link - - - - - -
- - - - - - Navs - tabs - - - - Active - Link - Link - Disabled - - - - - - - - Navs - pills - - - - - Link - - - Link - - - Link - - - Disabled - - - - - - - - - - - Navs - fill and justify - - - - - Active - - - Longer nav link - - - Link - - - Disabled - - - -
- - - Active - Link - Link - Disabled - - -
- - - - Active - - - Longer nav link - - - Link - - - Disabled - - - -
- - - Active - Link - Link - Disabled - - -
-
-
-
- - - - - - Navs - with flex - - - - Active - Link - Link - Disabled - - - - - - - - - - - - Navs - tabs with dropdowns - - - - - Link - - - - Dropdown - - - Action - Another action - Something else here - - Separated link - - - - Link - - - Disabled - - - - - - - - - - Navs - pills with dropdowns - - - - - Link - - - - Dropdown - - - Action - Another action - Something else here - - Separated link - - - - Link - - - Disabled - - - - - - - - ) -} - -export default Navs diff --git a/src/views/Base/Paginations/Pagnations.js b/src/views/Base/Paginations/Pagnations.js deleted file mode 100644 index c3d6524..0000000 --- a/src/views/Base/Paginations/Pagnations.js +++ /dev/null @@ -1,95 +0,0 @@ -import React, { useState } from 'react' -import { - CCard, - CCardBody, - CCardHeader, - CPagination -} from '@coreui/react' - -const Paginations = () => { - const [currentPage, setCurrentPage] = useState(2) - - return ( - <> - - - Pagination -
- - docs - -
-
- -
Default
- -

- -
Small
- -

- -
-
Large
- -

-
- -
currentPage: {currentPage}
-
-
- - - Pagination - alignment - - -
Left alignment (default)
- -

- -
Center alignment
- -

- -
Right (end) alignment
- -

- -
currentPage: {currentPage}
-
-
- - ) -} - -export default Paginations diff --git a/src/views/Base/Popovers/Popovers.js b/src/views/Base/Popovers/Popovers.js deleted file mode 100644 index b2f318c..0000000 --- a/src/views/Base/Popovers/Popovers.js +++ /dev/null @@ -1,107 +0,0 @@ -import React from 'react' -import { - CButton, - CCard, - CCardBody, - CCardHeader, - CPopover, - CRow, - CCol, - CLink -} from '@coreui/react' - -const Popovers = () => { - const placements = [ - 'top-start', 'top', 'top-end', - 'bottom-start', 'bottom', 'bottom-end', - 'right-start', 'right', 'right-end', - 'left-start', 'left', 'left-end' - ] - - return ( - <> - - - Popovers -
- - docs - -
-
- - {/*eslint-disable-next-line*/} - -

- Hover over the links below to see popover: -

- -

- Tight pants next level keffiyeh - - you probably - - haven't heard of them. - Photo booth beard raw denim letterpress vegan messenger - bag stumptown. Farm-to-table seitan, mcsweeney's fixie - sustainable quinoa 8-bit american apparel - - have a - - terry richardson vinyl chambray. Beard stumptown, - cardigans banh mi lomo thundercats. Tofu biodiesel - williamsburg marfa, four loko mcsweeney''s cleanse - vegan chambray. A really ironic artisan - - whatever keytar - - scenester farm-to-table banksy Austin - - twitter handle - - - freegan cred raw denim single-origin coffee viral. -

-
-
- -
- - - - Popovers - placement - - -
- - {placements.map(placement => { - return ( - - - { placement } - - - ) - })} - -
-
-
- - ) -} - -export default Popovers diff --git a/src/views/Base/ProgressBar/ProgressBar.js b/src/views/Base/ProgressBar/ProgressBar.js deleted file mode 100644 index 8e082f1..0000000 --- a/src/views/Base/ProgressBar/ProgressBar.js +++ /dev/null @@ -1,102 +0,0 @@ -import React from 'react' -import { - CCard, - CCardBody, - CCardHeader, - CProgress, - CProgressBar -} from '@coreui/react' - -const ProgressBar = () => { - return ( - <> - - - Progress -
- - docs - -
-
- - - - - - - -
- - - Progress - labels - - - - - - - - - - Progress - heights - - - - - - - - - Progress - backgrounds - - - - - - - - - - - Progress - multiple bar - - - - - - - - - - - - Progress - striped - - - - - - - - - - - - Progress - animated - - - - - - - ) -} - -export default ProgressBar diff --git a/src/views/Base/Switches/Switches.js b/src/views/Base/Switches/Switches.js deleted file mode 100644 index 551bbb8..0000000 --- a/src/views/Base/Switches/Switches.js +++ /dev/null @@ -1,483 +0,0 @@ -import React from 'react' -import { - CCard, - CCardBody, - CCardHeader, - CCol, - CRow, - CSwitch -} from '@coreui/react' - -const Switches = () => { - return ( - - - - - 3d Switch - - - console.log(e.target.checked)}/> - - - - - - - - - - - - - - - Switch default - - - - - - - - - - - - - - - Switch default - pills - - - - - - - - - - - - - -

Outline

-
- - - - - Switch outline - - - - - - - - - - - - - - - - Switch outline pills - - - - - - - - - - - - - - -

Opposite

-
- - - - - Switch outline alternative - - - - - - - - - - - - - - - - Switch outline alternative - pills - - - - - - - - - - - - - - -

With text

-
- - - - - Switch with text - - - - - - - - - - - - - - - - Switch with text pills - - - - - - - - - - - - - - - - Switch with text outline - - - - - - - - - - - - - - - - Switch with text outline pills - - - - - - - - - - - - - - - - Switch with text outline alternative - - - - - - - - - - - - - - - - Switch with text outline alternative pills - - - - - - - - - - - - - - -

With icon

-
- - - - - Switch with text - - - - - - - - - - - - - - - - Switch with text pills - - - - - - - - - - - - - - - - Switch with text outline - - - - - - - - - - - - - - - - Switch with text outline pills - - - - - - - - - - - - - - - - Switch with text outline alternative - - - - - - - - - - - - - - - - Switch with text outline alternative pills - - - - - - - - - - - - - - -

Disabled

-
- - - - - 3d Switch - - - - - - - - - - - - - - - - - - - 3d Switch - - - - - - - - - - - - - - - - -

3D

-
- - - - - 3d Switch - - - - - - - - - - - - - - - - - - 3d Switch - - - - - - - - - - - - - - - - -

Sizes

-
- - - - - Sizes - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SizeExampleProps
- Large - - - - Add size={'lg'} -
- Normal - - - - - -
- Small - - - - Add size={'sm'} -
-
-
-
-
- ) -} - -export default Switches diff --git a/src/views/Base/Tables/Tables.js b/src/views/Base/Tables/Tables.js deleted file mode 100644 index 0aa2365..0000000 --- a/src/views/Base/Tables/Tables.js +++ /dev/null @@ -1,212 +0,0 @@ -import React from 'react' -import { - CBadge, - CCard, - CCardBody, - CCardHeader, - CCol, - CDataTable, - CRow -} from '@coreui/react' - -import usersData from '../../Users/UsersData' - -const getBadge = status => { - switch (status) { - case 'Active': return 'success' - case 'Inactive': return 'secondary' - case 'Pending': return 'warning' - case 'Banned': return 'danger' - default: return 'primary' - } -} -const fields = ['name','registered', 'role', 'status'] - -const Tables = () => { - return ( - <> - - - - - Simple Table - - - ( - - - {item.status} - - - ) - - }} - /> - - - - - - - - Striped Table - - - ( - - - {item.status} - - - ) - - }} - /> - - - - - - - - - - - Condensed Table - - - ( - - - {item.status} - - - ) - - }} - /> - - - - - - - - Bordered Table - - - ( - - - {item.status} - - - ) - - }} - /> - - - - - - - - - - - Combined All Table - - - ( - - - {item.status} - - - ) - }} - /> - - - - - - - - - Combined All dark Table - - - ( - - - {item.status} - - - ) - }} - /> - - - - - - ) -} - -export default Tables diff --git a/src/views/Base/Tabs/Tabs.js b/src/views/Base/Tabs/Tabs.js deleted file mode 100644 index 8cea443..0000000 --- a/src/views/Base/Tabs/Tabs.js +++ /dev/null @@ -1,190 +0,0 @@ -import React, { useState } from 'react' -import { - CCol, - CNav, - CNavItem, - CNavLink, - CRow, - CTabContent, - CTabPane, - CCard, - CCardBody, - CTabs, - CCardHeader -} from '@coreui/react' -import { - CIcon -} from '@coreui/icons-react' - -const Tabs = () => { - const [active, setActive] = useState(1) - const lorem = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.' - - return ( - - - - - Index indentifiers - - - - - - - Home - - - - - Profile - - - - - Messages - - - - - - {`1. ${lorem}`} - - - {`2. ${lorem}`} - - - {`3. ${lorem}`} - - - - - - - - - - Id indentifiers - - - - - - - Home - - - - - Profile - - - - - Messages - - - - - - {`1. ${lorem}`} - - - {`2. ${lorem}`} - - - {`3. ${lorem}`} - - - - - - - - - - - No fade animation tabs - - - - - - - - - - - - - - - - - - - - - - - {`1. ${lorem}`} - - - {`2. ${lorem}`} - - - {`3. ${lorem}`} - - - - - - - - - - - Controlled tabs - - - setActive(idx)}> - - - - - { active === 0 && ' Home'} - - - - - - { active === 1 && ' Profile'} - - - - - - { active === 2 && ' Messages'} - - - - - - {`1. ${lorem}`} - - - {`2. ${lorem}`} - - - {`3. ${lorem}`} - - - - - - - - ) -} - -export default Tabs diff --git a/src/views/Base/Tooltips/Tooltips.js b/src/views/Base/Tooltips/Tooltips.js deleted file mode 100644 index 6b17b3f..0000000 --- a/src/views/Base/Tooltips/Tooltips.js +++ /dev/null @@ -1,107 +0,0 @@ -import React from 'react' -import { - CButton, - CCard, - CCardBody, - CCardHeader, - CTooltip, - CRow, - CCol, - CLink -} from '@coreui/react' - -const Tooltips = () => { - const placements = [ - 'top-start', 'top', 'top-end', - 'bottom-start', 'bottom', 'bottom-end', - 'right-start', 'right', 'right-end', - 'left-start', 'left', 'left-end' - ] - - return ( - <> - - - Tooltips -
- - docs - -
-
- - {/*eslint-disable-next-line*/} - -

- Hover over the links below to see tooltips: -

- -

- Tight pants next level keffiyeh - - you probably - - haven't heard of them. - Photo booth beard raw denim letterpress vegan messenger - bag stumptown. Farm-to-table seitan, mcsweeney's fixie - sustainable quinoa 8-bit american apparel - - have a - - terry richardson vinyl chambray. Beard stumptown, - cardigans banh mi lomo thundercats. Tofu biodiesel - williamsburg marfa, four loko mcsweeney''s cleanse - vegan chambray. A really ironic artisan - - whatever keytar - - scenester farm-to-table banksy Austin - - twitter handle - - - freegan cred raw denim single-origin coffee viral. -

-
-
- -
- - - - Tooltips - placement - - -
- - {placements.map(placement => { - return ( - - - { placement } - - - ) - })} - -
-
-
- - ) -} - -export default Tooltips; diff --git a/src/views/Buttons/BrandButtons/BrandButtons.js b/src/views/Buttons/BrandButtons/BrandButtons.js deleted file mode 100644 index 74f2798..0000000 --- a/src/views/Buttons/BrandButtons/BrandButtons.js +++ /dev/null @@ -1,167 +0,0 @@ -import React from 'react' -import { - CButton, - CCard, - CCardBody, - CCardHeader, - CCol, - CRow -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const BrandButtons = () => { - return ( - - - - - Brand button - - -
Size Small - Add this class .btn-sm -
-

- Facebook - Twitter - LinkedIn - Flickr - Tumblr - Xing - Github - StackOverflow - YouTube - Dribbble - Instagram - Pinterest - VK - Yahoo - Behance - Reddit - Vimeo -

-
Size Normal
-

- Facebook - Twitter - LinkedIn - Flickr - Tumblr - Xing - Github - StackOverflow - YouTube - Dribbble - Instagram - Pinterest - VK - Yahoo - Behance - Reddit - Vimeo -

-
Size Large - Add this class .btn-lg -
-

- Facebook - Twitter - LinkedIn - Flickr - Tumblr - Xing - Github - StackOverflow - YouTube - Dribbble - Instagram - Pinterest - VK - Yahoo - Behance - Reddit - Vimeo -

-
-
-
- - - - - Brand button - only icons - - -
Size Small - Add this class .btn-sm -
-

- - - - - - - - - - - - - - - - - -

-
Size Normal
-

- - - - - - - - - - - - - - - - - -

-
Size Large - Add this class .btn-lg -
-

- - - - - - - - - - - - - - - - - -

-
-
-
-
- ) -} - -export default BrandButtons diff --git a/src/views/Buttons/ButtonDropdowns/ButtonDropdowns.js b/src/views/Buttons/ButtonDropdowns/ButtonDropdowns.js deleted file mode 100644 index ee8e8d9..0000000 --- a/src/views/Buttons/ButtonDropdowns/ButtonDropdowns.js +++ /dev/null @@ -1,428 +0,0 @@ -import React from 'react' -import { - CButton, - CForm, - CCard, - CCardBody, - CCardHeader, - CCol, - CDropdown, - CDropdownDivider, - CDropdownHeader, - CDropdownItem, - CDropdownMenu, - CDropdownToggle, - CRow, - CFormGroup, - CLabel, - CInput, - CInputCheckbox -} from '@coreui/react' - -const ButtonDropdowns = () => { - return ( - - - - - Dropdowns -
- - docs - -
-
- - - - - Dropdown button - - - Header - Action Disabled - Action - - Another Action - - - -
- - - - Primary - - - Header - Action Disabled - Action - - Another Action - - - - - Secondary - - - Header - Action Disabled - Action - - Another Action - - - - - Success - - - Header - Action Disabled - Action - - Another Action - - - - - Info - - - Header - Action Disabled - Action - - Another Action - - - - - Warning - - - Header - Action Disabled - Action - - Another Action - - - - - Danger - - - Header - Action Disabled - Action - - Another Action - - - -
- - - Primary - - - Header - Action Disabled - Action - - Another Action - - - - - Secondary - - - Header - Action Disabled - Action - - Another Action - - - - - Success - - - Header - Action Disabled - Action - - Another Action - - - - - Info - - - Header - Action Disabled - Action - - Another Action - - - - - Warning - - - Header - Action Disabled - Action - - Another Action - - - - - Danger - - - Header - Action Disabled - Action - - Another Action - - - -
- - - - Large button - - - Header - Action Disabled - Action - - Another Action - - - {' '} - - - Large split button - - - Header - Action Disabled - Action - - Another Action - - - -
- - - - Small button - - - Header - Action Disabled - Action - - Another Action - - - {' '} - - - Small split button - - - Header - Action Disabled - Action - - Another Action - - - -
- - - - Dropup button - - - Header - Action Disabled - Action - Another Action - - - - - Split dropup - - - Header - Action Disabled - Action - Another Action - - - -
-
- - - Menus - - - - - - Direction Up - - - Header - Action Disabled - Action - Another Action - - - - - - Direction Left - - - Header - Action Disabled - Action - Another Action - - - - - - Direction Right - - - Header - Action Disabled - Action - Another Action - - - - - - Default Down - - - Header - Action Disabled - Action - Another Action - - - -
- - - - This dropdown{'\''}s menu is right-aligned - - - Header - Action Disabled - Action - Another Action - - - -
- - - - Dropdown with header - - - Header - Action - Another Action - - - -
- - - - Dropdown with divider - - - Action - - Another Action - - - -
- - - - Dropdown with disabled item - - - Action - Disabled Action - - - -
- - - - Dropdown with form - - - - - Email address - - - - Password - - - - - Remember me - - - Sign in - - - - Register - Forgot password? - - - -
-
-
-
- ) -} - -export default ButtonDropdowns diff --git a/src/views/Buttons/ButtonGroups/ButtonGroups.js b/src/views/Buttons/ButtonGroups/ButtonGroups.js deleted file mode 100644 index be90b56..0000000 --- a/src/views/Buttons/ButtonGroups/ButtonGroups.js +++ /dev/null @@ -1,204 +0,0 @@ -import React from 'react' -import { - CButton, - CDropdown, - CButtonGroup, - CButtonToolbar, - CCard, - CCardBody, - CCardHeader, - CCol, - CDropdownItem, - CDropdownMenu, - CDropdownToggle, - CInput, - CInputGroup, - CInputGroupPrepend, - CInputGroupText, - CRow, - CCallout -} from '@coreui/react' - -const ButtonGroups = () => { - return ( - - - - - Callout -
- - docs - -
-
- - - Callout - - -
- - - - Button Group -
- - docs - -
-
- - - Left - Middle - Right - - -
- - - - Button Group - toolbar - - - - - 1 - 2 - 3 - 4 - - - 5 - 6 - 7 - - - 8 - - - - - 1 - 2 - 3 - 4 - - - - @ - - - - - - - 1 - 2 - 3 - 4 - - - - @ - - - - - - - - - - Button Group - vertical variation - - - - 1 - 2 - 3 - - - - -
- - - - - Button Group - sizing - - - - Left - Middle - Right - -

- - Left - Middle - Right - -

- - Left - Middle - Right - -
-
- - - - Button Group - nestingccc - - - - 1 - 2 - - - Dropdown - - - Dropdown Link - Dropdown Link - - - - - - - - - Button Group - vertical - - - - 1 - 2 - - - Dropdown - - - Dropdown Link - Dropdown Link - - - - - -
-
- ) -} - -export default ButtonGroups diff --git a/src/views/Buttons/Buttons/Buttons.js b/src/views/Buttons/Buttons/Buttons.js deleted file mode 100644 index 2c2d483..0000000 --- a/src/views/Buttons/Buttons/Buttons.js +++ /dev/null @@ -1,674 +0,0 @@ -import React from 'react' -import { - CButton, - CCard, - CCardBody, - CCardHeader, - CCol, - CRow -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const Buttons = () => { - return ( - <> - - - Standard Buttons - - - - - Normal - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - - - - Active State - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - - - - Disabled - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - - - - - - variant="outline" Buttons - - -

- With outline prop. -

- - - Normal - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - - - - Active State - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - - - - Disabled - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - -
-
- - - variant="ghost" Buttons - - -

- Use .btn-ghost-* class for variant="ghost" buttons. -

- - - Normal - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - - - - Active State - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - - - - Disabled - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - -
-
- - - Square Buttons - - -

- Use .btn-square class for square buttons. -

- - - Normal - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - - - - Active State - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - - - - Disabled - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - -
-
- - - Pill Buttons - - -

- Use .btn-pill class for pill buttons. -

- - - Normal - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - - - - Active State - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - - - - Disabled - - - Primary - - - Secondary - - - Success - - - Warning - - - Danger - - - Info - - - Light - - - Dark - - - Link - - -
-
- - - - Sizes - - -

Fancy larger or smaller buttons? Add size="lg" or size="sm" for additional sizes.

- - - Small - - - Standard Button - - - Outline Button - - - Ghost Button - - - Square Button - - - Pill Button - - - - - Normal - - - Standard Button - - - Outline Button - - - Ghost Button - - - Square Button - - - Pill Button - - - - - Large - - - Standard Button - - - Outline Button - - - Ghost Button - - - Square Button - - - Pill Button - - -
-
- - - - With Icons - - - - - - Standard Button - - - - - Outline Button - - - - - Ghost Button - - - - - Square Button - - - - - Pill Button - - - - - - - - - - Block Level Buttons - - -

Add prop block

- Block level button - Block level button - Block level button - Block level button - Block level button - Block level button - Block level button -
-
-
- - - - Block Level Buttons - - -

Add prop block

- Block level button - Block level button - Block level button - Block level button - Block level button - Block level button - Block level button -
-
-
-
- - ) -} - -export default Buttons diff --git a/src/views/Charts/ChartBarSimple.js b/src/views/Charts/ChartBarSimple.js deleted file mode 100644 index 1b07eb9..0000000 --- a/src/views/Charts/ChartBarSimple.js +++ /dev/null @@ -1,76 +0,0 @@ -import React from 'react' -import PropTypes from 'prop-types' -import { getColor } from '@coreui/utils/src' -import { CCharts } from '@coreui/react-chartjs' - -const ChartBarSimple = props => { - - const { - backgroundColor, - pointHoverBackgroundColor, - dataPoints, - label, - pointed, - ...attributes - } = props - - const defaultDatasets = (()=>{ - return [ - { - data: dataPoints, - backgroundColor: getColor(backgroundColor), - pointHoverBackgroundColor: getColor(pointHoverBackgroundColor), - label: label, - barPercentage: 0.5, - categoryPercentage: 1 - } - ] - })() - - const defaultOptions = (()=>{ - return { - maintainAspectRatio: false, - legend: { - display: false - }, - scales: { - xAxes: [{ - display: false - }], - yAxes: [{ - display: false - }] - } - } - })() - - // render - return ( - - ) -} - -ChartBarSimple.propTypes = { - tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]), - className: PropTypes.string, - // - backgroundColor: PropTypes.string, - pointHoverBackgroundColor: PropTypes.string, - dataPoints: PropTypes.array, - label: PropTypes.string, - pointed: PropTypes.bool -}; - -ChartBarSimple.defaultProps = { - backgroundColor: 'rgba(0,0,0,.2)', - dataPoints: [10, 22, 34, 46, 58, 70, 46, 23, 45, 78, 34, 12], - label: 'Sales' -}; - -export default ChartBarSimple diff --git a/src/views/Charts/ChartLineSimple.js b/src/views/Charts/ChartLineSimple.js deleted file mode 100644 index 3cf8f14..0000000 --- a/src/views/Charts/ChartLineSimple.js +++ /dev/null @@ -1,153 +0,0 @@ -import React from 'react' -import PropTypes from 'prop-types' -import { getColor, deepObjectsMerge } from '@coreui/utils/src' -import { CCharts } from '@coreui/react-chartjs' - -const ChartLineSimple = props => { - - const { - borderColor, - backgroundColor, - pointHoverBackgroundColor, - dataPoints, - label, - pointed, - ...attributes - } = props - - const pointHoverColor = (()=>{ - if (pointHoverBackgroundColor) { - return pointHoverBackgroundColor - } else if (backgroundColor !== 'transparent') { - return backgroundColor - } - return borderColor - })() - - const defaultDatasets = (()=>{ - return [ - { - data: dataPoints, - borderColor: getColor(borderColor), - backgroundColor: getColor(backgroundColor), - pointBackgroundColor: getColor(pointHoverColor), - pointHoverBackgroundColor: getColor(pointHoverColor), - label - } - ] - })() - - const pointedOptions = (()=>{ - return { - scales: { - xAxes: [ - { - offset: true, - gridLines: { - color: 'transparent', - zeroLineColor: 'transparent' - }, - ticks: { - fontSize: 2, - fontColor: 'transparent' - } - } - ], - yAxes: [ - { - display: false, - ticks: { - display: false, - min: Math.min.apply(Math, dataPoints) - 5, - max: Math.max.apply(Math, dataPoints) + 5 - } - } - ] - }, - elements: { - line: { - borderWidth: 1 - }, - point: { - radius: 4, - hitRadius: 10, - hoverRadius: 4 - } - } - } - })() - - const straightOptions = (()=>{ - return { - scales: { - xAxes: [{ - display: false - }], - yAxes: [{ - display: false - }] - }, - elements: { - line: { - borderWidth: 2 - }, - point: { - radius: 0, - hitRadius: 10, - hoverRadius: 4 - } - } - } - })() - - const defaultOptions = (()=>{ - const options = pointed ? pointedOptions : straightOptions - return Object.assign({}, options, { - maintainAspectRatio: false, - legend: { - display: false - } - }) - })() - - const computedDatasets = (() => { - return deepObjectsMerge(defaultDatasets, attributes.datasets || {}) - })() - - const computedOptions = (() => { - return deepObjectsMerge(defaultOptions, attributes.options || {}) - })() - - // render - - return ( - - ) -} - -ChartLineSimple.propTypes = { - tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]), - className: PropTypes.string, - // - borderColor: PropTypes.string, - backgroundColor: PropTypes.string, - pointHoverBackgroundColor: PropTypes.string, - dataPoints: PropTypes.array, - label: PropTypes.string, - pointed: PropTypes.bool -}; - -ChartLineSimple.defaultProps = { - borderColor: 'rgba(255,255,255,.55)', - backgroundColor: 'transparent', - dataPoints: [10, 22, 34, 46, 58, 70, 46, 23, 45, 78, 34, 12], - label: 'Sales' -}; - -export default ChartLineSimple diff --git a/src/views/Charts/Charts.js b/src/views/Charts/Charts.js deleted file mode 100644 index 2fdf142..0000000 --- a/src/views/Charts/Charts.js +++ /dev/null @@ -1,217 +0,0 @@ -import React from 'react' -import { - CCard, - CCardBody, - CCardGroup, - CCardHeader -} from '@coreui/react' -import { CCharts } from '@coreui/react-chartjs' - -const Charts = () => { - - return ( - - - - Bar Chart - - - - - - - - - - Doughnut Chart - - - - - - - - - Line Chart - - - - - - - - - Pie Chart - - - - - - - - - Polar Area Chart - - - - - - - - - Radar Chart - - - - - - - ) -} - -export default Charts diff --git a/src/views/Charts/MainChartExample.js b/src/views/Charts/MainChartExample.js deleted file mode 100644 index c397c6b..0000000 --- a/src/views/Charts/MainChartExample.js +++ /dev/null @@ -1,132 +0,0 @@ -import React from 'react' -import PropTypes from 'prop-types' -import { CCharts } from '@coreui/react-chartjs' -import { getColor, hexToRgba } from '@coreui/utils/src' - -const MainChartExample = props => { - - const { - borderColor, - backgroundColor, - pointHoverBackgroundColor, - dataPoints, - label, - pointed, - ...attributes - } = props - - const random = (min, max)=>{ - return Math.floor(Math.random() * (max - min + 1) + min) - } - - const defaultDatasets = (()=>{ - const brandSuccess = getColor('success') || '#4dbd74' - const brandInfo = getColor('info') || '#20a8d8' - const brandDanger = getColor('danger') || '#f86c6b' - let elements = 27 - const data1 = [] - const data2 = [] - const data3 = [] - for (let i = 0; i <= elements; i++) { - data1.push(random(50, 200)) - data2.push(random(80, 100)) - data3.push(65) - } - return [ - { - label: 'My First dataset', - backgroundColor: hexToRgba(brandInfo, 10), - borderColor: brandInfo, - pointHoverBackgroundColor: brandInfo, - borderWidth: 2, - data: data1 - }, - { - label: 'My Second dataset', - backgroundColor: 'transparent', - borderColor: brandSuccess, - pointHoverBackgroundColor: brandSuccess, - borderWidth: 2, - data: data2 - }, - { - label: 'My Third dataset', - backgroundColor: 'transparent', - borderColor: brandDanger, - pointHoverBackgroundColor: brandDanger, - borderWidth: 1, - borderDash: [8, 5], - data: data3 - } - ] - })() - - const defaultOptions = (()=>{ - return { - maintainAspectRatio: false, - legend: { - display: false - }, - scales: { - xAxes: [{ - gridLines: { - drawOnChartArea: false - } - }], - yAxes: [{ - ticks: { - beginAtZero: true, - maxTicksLimit: 5, - stepSize: Math.ceil(250 / 5), - max: 250 - }, - gridLines: { - display: true - } - }] - }, - elements: { - point: { - radius: 0, - hitRadius: 10, - hoverRadius: 4, - hoverBorderWidth: 3 - } - } - } - } - )() - - // render - return ( - - ) - -} - -MainChartExample.propTypes = { - tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]), - className: PropTypes.string, - // - borderColor: PropTypes.string, - backgroundColor: PropTypes.string, - pointHoverBackgroundColor: PropTypes.string, - dataPoints: PropTypes.array, - label: PropTypes.string, - pointed: PropTypes.bool -}; - -MainChartExample.defaultProps = { - borderColor: 'rgba(255,255,255,.55)', - backgroundColor: 'transparent', - dataPoints: [10, 22, 34, 46, 58, 70, 46, 23, 45, 78, 34, 12], - label: 'Sales' -}; - -export default MainChartExample diff --git a/src/views/Dashboard/Dashboard.js b/src/views/Dashboard/Dashboard.js deleted file mode 100644 index 775b194..0000000 --- a/src/views/Dashboard/Dashboard.js +++ /dev/null @@ -1,557 +0,0 @@ -import React, { lazy } from 'react' -import { - CBadge, - CButton, - CButtonGroup, - CCard, - CCardBody, - CCardFooter, - CCardHeader, - CCol, - CProgress, - CRow, - CCallout -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -import MainChartExample from '../Charts/MainChartExample.js' - -const WidgetsDropdown = lazy(() => import('../Widgets/WidgetsDropdown.js')) -const WidgetsBrand = lazy(() => import('../Widgets/WidgetsBrand.js')) - -const Dashboard = () => { - return ( - <> - - - - - -

Traffic

-
November 2017
-
- - - - - - { - ['Day', 'Month', 'Year'].map(value => ( - - {value} - - )) - } - - -
- -
- - - -
Visits
- 29.703 Users (40%) - -
- -
Unique
- 24.093 Users (20%) - -
- -
Pageviews
- 78.706 Views (60%) - -
- -
New Users
- 22.123 Users (80%) - -
- -
Bounce Rate
- Average Rate (40.15%) - -
-
-
-
- - - - - - - - Traffic {' & '} Sales - - - - - - - - - New Clients -
- 9,123 -
-
- - - Recurring Clients -
- 22,643 -
-
-
- -
- -
-
- - Monday - -
-
- - -
-
-
-
- - Tuesday - -
-
- - -
-
-
-
- - Wednesday - -
-
- - -
-
-
-
- - Thursday - -
-
- - -
-
-
-
- - Friday - -
-
- - -
-
-
-
- - Saturday - -
-
- - -
-
-
-
- - Sunday - -
-
- - -
-
-
- -   - New clients -   -   - Recurring clients - -
-
- - - - - - - Pageviews -
- 78,623 -
-
- - - Organic -
- 49,123 -
-
-
- -
- -
-
- - Male - 43% -
-
- -
-
-
-
- - Female - 37% -
-
- -
-
-
-
- - Organic Search - 191,235 (56%) -
-
- -
-
- - -
-
- - Facebook - 51,223 (15%) -
-
- -
-
-
-
- - Twitter - 37,564 (11%) -
-
- -
-
-
-
- - LinkedIn - 27,319 (8%) -
-
- -
-
-
- - - -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UserCountryUsagePayment MethodActivity
-
- admin@bootstrapmaster.com - -
-
-
Yiorgos Avraamu
-
- New | Registered: Jan 1, 2015 -
-
- - -
-
- 50% -
-
- Jun 11, 2015 - Jul 10, 2015 -
-
- -
- - -
Last login
- 10 sec ago -
-
- admin@bootstrapmaster.com - -
-
-
Avram Tarasios
-
- - Recurring | Registered: Jan 1, 2015 -
-
- - -
-
- 10% -
-
- Jun 11, 2015 - Jul 10, 2015 -
-
- -
- - -
Last login
- 5 minutes ago -
-
- admin@bootstrapmaster.com - -
-
-
Quintin Ed
-
- New | Registered: Jan 1, 2015 -
-
- - -
-
- 74% -
-
- Jun 11, 2015 - Jul 10, 2015 -
-
- -
- - -
Last login
- 1 hour ago -
-
- admin@bootstrapmaster.com - -
-
-
Enéas Kwadwo
-
- New | Registered: Jan 1, 2015 -
-
- - -
-
- 98% -
-
- Jun 11, 2015 - Jul 10, 2015 -
-
- -
- - -
Last login
- Last month -
-
- admin@bootstrapmaster.com - -
-
-
Agapetus Tadeáš
-
- New | Registered: Jan 1, 2015 -
-
- - -
-
- 22% -
-
- Jun 11, 2015 - Jul 10, 2015 -
-
- -
- - -
Last login
- Last week -
-
- admin@bootstrapmaster.com - -
-
-
Friderik Dávid
-
- New | Registered: Jan 1, 2015 -
-
- - -
-
- 43% -
-
- Jun 11, 2015 - Jul 10, 2015 -
-
- -
- - -
Last login
- Yesterday -
- -
-
-
-
- - ) -} - -export default Dashboard diff --git a/src/views/Icons/Brands/Brands.js b/src/views/Icons/Brands/Brands.js deleted file mode 100644 index b9b21d6..0000000 --- a/src/views/Icons/Brands/Brands.js +++ /dev/null @@ -1,39 +0,0 @@ -import React from 'react' -import { CCard, CCardBody, CCardHeader, CCol, CRow } from '@coreui/react' -import { CIconRaw } from '@coreui/icons-react' -import { brandSet } from '@coreui/icons' - -const toKebabCase = (str) => { - return str.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase() -} - -export const getIconsView = iconset => { - return Object.keys(iconset).map(name => ( - - -
{toKebabCase(name)}
-
- )) -} - -const CoreUIIcons = () => { - return ( - - - Brand Icons / as CIconRaw{' '} - - - - - {getIconsView(brandSet)} - - - - ) -} - -export default CoreUIIcons diff --git a/src/views/Icons/CoreUIIcons/CoreUIIcons.js b/src/views/Icons/CoreUIIcons/CoreUIIcons.js deleted file mode 100644 index fe6a5ca..0000000 --- a/src/views/Icons/CoreUIIcons/CoreUIIcons.js +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react' -import { CCard, CCardBody, CCardHeader, CRow } from '@coreui/react' -import { freeSet } from '@coreui/icons' -import { getIconsView } from '../Brands/Brands.js' - -const CoreUIIcons = () => { - return ( - - - Free Icons / as CIcon{' '} - - - - - {getIconsView(freeSet)} - - - - ) -} - -export default CoreUIIcons diff --git a/src/views/Icons/Flags/Flags.js b/src/views/Icons/Flags/Flags.js deleted file mode 100644 index 3406420..0000000 --- a/src/views/Icons/Flags/Flags.js +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react' -import { CCard, CCardBody, CCardHeader, CRow } from '@coreui/react' -import { getIconsView } from '../Brands/Brands.js' -import { flagSet } from '@coreui/icons' - -const CoreUIIcons = () => { - return ( - - - Flag Icons / as CIconRaw{' '} - - - - - {getIconsView(flagSet)} - - - - ) -} - -export default CoreUIIcons diff --git a/src/views/Notifications/Alerts/Alerts.js b/src/views/Notifications/Alerts/Alerts.js deleted file mode 100644 index 0a7c78e..0000000 --- a/src/views/Notifications/Alerts/Alerts.js +++ /dev/null @@ -1,180 +0,0 @@ -import React from 'react' -import { - CAlert, - CButton, - CCard, - CCardBody, - CCardHeader, - CCol, - CLink, - CProgress, - CRow -} from '@coreui/react' - -const Alerts = () => { - const [visible, setVisible] = React.useState(10) - - return ( - <> - - - - - Alerts - - - - - This is a primary alert — check it out! - - - This is a secondary alert — check it out! - - - This is a success alert — check it out! - - - This is a danger alert — check it out! - - - This is a warning alert — check it out! - - - This is a info alert — check it out! - - - This is a light alert — check it out! - - - This is a dark alert — check it out! - - - - - - - - Alerts - use .alert-link to provide links - - - - {/*eslint-disable-next-line*/} - This is a primary alert with  - an example link. - Give it a click if you like. - - - {/*eslint-disable-next-line*/} - This is a secondary alert with  - an example link. - Give it a click if you like. - - - {/*eslint-disable-next-line*/} - This is a success alert with  - an example link. - Give it a click if you like. - - - {/*eslint-disable-next-line*/} - This is a danger alert with  - an example link. - Give it a click if you like. - - - {/*eslint-disable-next-line*/} - This is a warning alert with  - an example link. - Give it a click if you like. - - - {/*eslint-disable-next-line*/} - This is a info alert with  - an example link. - Give it a click if you like. - - - {/*eslint-disable-next-line*/} - This is a light alert with  - an example link. - Give it a click if you like. - - - {/*eslint-disable-next-line*/} - This is a dark alert with  - an example link. - Give it a click if you like. - - - - - - - - - - Alerts - additional content - - - -

Well done!

-

- Aww yeah, you successfully read this important alert message. This example text is going - to run a bit longer so that you can see how spacing within an alert works with this kind - of content. -

-
-

- Whenever you need to, be sure to use margin utilities to keep things nice and tidy. -

-
-
-
-
- - - - Alerts - dismissing - - - - I am an dismissible alert! - - - I will be closed in {visible} seconds! - - - - setVisible(10)}> - Reset timer - - - - -
- - ) -} - -export default Alerts diff --git a/src/views/Notifications/Badges/Badges.js b/src/views/Notifications/Badges/Badges.js deleted file mode 100644 index 45a15f6..0000000 --- a/src/views/Notifications/Badges/Badges.js +++ /dev/null @@ -1,95 +0,0 @@ -import React from 'react' -import { - CBadge, - CButton, - CCard, - CCardBody, - CCardFooter, - CCardHeader, - CCol, - CRow -} from '@coreui/react' - -const Badges = () => { - return ( - - - - - Badges - - - -

Example heading New

-

Example heading New

-

Example heading New

-

Example heading New

-
Example heading New
-
Example heading New
-
- - - Notifications 9 - - -
-
- - - - Badges - contextual variations - - - Primary - Secondary - Success - Danger - Warning - Info - Light - Dark - - - - - Badges - pill badges - - - Primary - Secondary - Success - Danger - Warning - Info - Light - Dark - - - - - Badges - links - - - Primary - Secondary - Success - Danger - Warning - Info - Light - Dark - - - -
- ) -} - -export default Badges diff --git a/src/views/Notifications/Modals/Modals.js b/src/views/Notifications/Modals/Modals.js deleted file mode 100644 index 66e90df..0000000 --- a/src/views/Notifications/Modals/Modals.js +++ /dev/null @@ -1,235 +0,0 @@ -import React, { useState } from 'react' -import { - CButton, - CCard, - CCardBody, - CCardHeader, - CCol, - CModal, - CModalBody, - CModalFooter, - CModalHeader, - CModalTitle, - CRow -} from '@coreui/react' - -const Modals = () => { - - const [modal, setModal] = useState(true) - const [large, setLarge] = useState(false) - const [small, setSmall] = useState(false) - const [primary, setPrimary] = useState(false) - const [success, setSuccess] = useState(false) - const [warning, setWarning] = useState(false) - const [danger, setDanger] = useState(false) - const [info, setInfo] = useState(false) - - return ( - - - - - Bootstrap Modals - - - setModal(!modal)} - className="mr-1" - >Launch demo modal - - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - Do Something{' '} - setModal(false)} - >Cancel - - - - setLarge(!large)} className="mr-1"> - Launch large modal - - setLarge(!large)} - size="lg" - > - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - setLarge(!large)}>Do Something{' '} - setLarge(!large)}>Cancel - - - - setLarge(!large)} className="mr-1"> - Launch small modal - - setSmall(!small)} - size="sm" - > - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - setSmall(!small)}>Do Something{' '} - setSmall(!small)}>Cancel - - - -
- - setPrimary(!primary)} className="mr-1"> - Primary modal - - setPrimary(!primary)} - color="primary" - > - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - setPrimary(!primary)}> - Do Something - {' '} - setPrimary(!primary)}> - Cancel - - - - - setSuccess(!success)} className="mr-1">Success modal - setSuccess(!success)} - color="success" - > - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - setSuccess(!success)}>Do Something{' '} - setSuccess(!success)}>Cancel - - - - setWarning(!warning)} className="mr-1">Warning modal - setWarning(!warning)} - color="warning" - > - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - setWarning(!warning)}>Do Something{' '} - setWarning(!warning)}>Cancel - - - - setDanger(!danger)} className="mr-1">Danger modal - setDanger(!danger)} - color="danger" - > - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - setDanger(!danger)}>Do Something{' '} - setDanger(!danger)}>Cancel - - - - setInfo(!info)} className="mr-1">Info modal - setInfo(!info)} - color="info" - > - - Modal title - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore - et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - - setInfo(!info)}>Cancel - setInfo(!info)}>Do Something{' '} - - - -
-
-
-
- ) -} - -export default Modals diff --git a/src/views/Notifications/Toaster/Toaster.js b/src/views/Notifications/Toaster/Toaster.js deleted file mode 100644 index 04ade5d..0000000 --- a/src/views/Notifications/Toaster/Toaster.js +++ /dev/null @@ -1,183 +0,0 @@ -import React, { useState } from 'react' -import { - CCard, - CCardHeader, - CCardBody, - CToast, - CToastBody, - CToastHeader, - CToaster, - CForm, - CInput, - CInputCheckbox, - CButton, - CContainer, - CRow, - CCol, - CFormGroup, - CLabel -} from '@coreui/react' - -const Toaster = () => { - - const positions = [ - 'static', - 'top-left', - 'top-center', - 'top-right', - 'top-full', - 'bottom-left', - 'bottom-center', - 'bottom-right', - 'bottom-full' - ] - - const [toasts, setToasts] = useState([ - { position: 'static'}, - { position: 'static'}, - { position: 'top-right', autohide: 3000 } - ]) - - const [position, setPosition] = useState('top-right') - const [autohide, setAutohide] = useState(true) - const [autohideValue, setAutohideValue] = useState(5000) - const [closeButton, setCloseButton] = useState(true) - const [fade, setFade] = useState(true) - - const addToast = () => { - setToasts([ - ...toasts, - { position, autohide: autohide && autohideValue, closeButton, fade } - ]) - } - - - const toasters = (()=>{ - return toasts.reduce((toasters, toast) => { - toasters[toast.position] = toasters[toast.position] || [] - toasters[toast.position].push(toast) - return toasters - }, {}) - })() - - - return ( - - - Toasts. - - - - - - -
Add toast with following props:
- - - { setAutohide(e.target.checked) }} - custom - /> - - Autohide of the toast - - - { - autohide && - - Time to autohide - { - setAutohideValue(Number(e.target.value)) - }} - /> - - } - - - Position - - - - - { setFade(e.target.checked) }} - custom - /> - fade - - - - { setCloseButton(e.target.checked) }} - /> - - closeButton - - - - - Add toast - - -
-
- - {Object.keys(toasters).map((toasterKey) => ( - - { - toasters[toasterKey].map((toast, key)=>{ - return( - - - Toast title - - - {`This is a toast in ${toasterKey} positioned toaster number ${key + 1}.`} - - - ) - }) - } - - ))} - -
-
-
-
- ) -} - -export default Toaster diff --git a/src/views/Pages/Login/Login.js b/src/views/Pages/Login/Login.js deleted file mode 100644 index 43fb8db..0000000 --- a/src/views/Pages/Login/Login.js +++ /dev/null @@ -1,78 +0,0 @@ -import React from 'react' -import { Link } from 'react-router-dom' -import { - CButton, - CCard, - CCardBody, - CCardGroup, - CCol, - CContainer, - CForm, - CInput, - CInputGroup, - CInputGroupPrepend, - CInputGroupText, - CRow -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const Login = () => { - return ( -
- - - - - - - -

Login

-

Sign In to your account

- - - - - - - - - - - - - - - - - - - Login - - - Forgot password? - - -
-
-
- - -
-

Sign up

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut - labore et dolore magna aliqua.

- - Register Now! - -
-
-
-
-
-
-
-
- ) -} - -export default Login diff --git a/src/views/Pages/Page404/Page404.js b/src/views/Pages/Page404/Page404.js deleted file mode 100644 index 057972e..0000000 --- a/src/views/Pages/Page404/Page404.js +++ /dev/null @@ -1,44 +0,0 @@ -import React from 'react' -import { - CButton, - CCol, - CContainer, - CInput, - CInputGroup, - CInputGroupPrepend, - CInputGroupAppend, - CInputGroupText, - CRow -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const Page404 = () => { - return ( -
- - - -
-

404

-

Oops! You{'\''}re lost.

-

The page you are looking for was not found.

-
- - - - - - - - - Search - - -
-
-
-
- ) -} - -export default Page404 diff --git a/src/views/Pages/Page500/Page500.js b/src/views/Pages/Page500/Page500.js deleted file mode 100644 index 2ee200e..0000000 --- a/src/views/Pages/Page500/Page500.js +++ /dev/null @@ -1,44 +0,0 @@ -import React from 'react' -import { - CButton, - CCol, - CContainer, - CInput, - CInputGroup, - CInputGroupAppend, - CInputGroupPrepend, - CInputGroupText, - CRow -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const Page500 = () => { - return ( -
- - - - -

500

-

Houston, we have a problem!

-

The page you are looking for is temporarily unavailable.

-
- - - - - - - - - Search - - -
-
-
-
- ) -} - -export default Page500 diff --git a/src/views/Pages/Register/Register.js b/src/views/Pages/Register/Register.js deleted file mode 100644 index de0d1aa..0000000 --- a/src/views/Pages/Register/Register.js +++ /dev/null @@ -1,80 +0,0 @@ -import React from 'react' -import { - CButton, - CCard, - CCardBody, - CCardFooter, - CCol, - CContainer, - CForm, - CInput, - CInputGroup, - CInputGroupPrepend, - CInputGroupText, - CRow -} from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -const Register = () => { - return ( -
- - - - - - -

Register

-

Create your account

- - - - - - - - - - - @ - - - - - - - - - - - - - - - - - - - - Create Account -
-
- - - - facebook - - - twitter - - - -
-
-
-
-
- ) -} - -export default Register diff --git a/src/views/Theme/Colors/Colors.js b/src/views/Theme/Colors/Colors.js deleted file mode 100644 index 72297a3..0000000 --- a/src/views/Theme/Colors/Colors.js +++ /dev/null @@ -1,119 +0,0 @@ -import React, { useEffect, useState, createRef } from 'react' -import classNames from 'classnames' -import { CRow, CCol } from '@coreui/react' -import { rgbToHex } from '@coreui/utils/src' - -const ThemeView = () => { - const [color, setColor] = useState('rgb(255, 255, 255)') - const ref = createRef() - - useEffect(() => { - const el = ref.current.parentNode.firstChild - const varColor = window.getComputedStyle(el).getPropertyValue('background-color') - setColor(varColor) - }, [ref]) - - return ( - - - - - - - - - - - -
HEX:{ rgbToHex(color) }
RGB:{ color }
- ) -} - -const ThemeColor = ({className, children}) => { - const classes = classNames(className, 'theme-color w-75 rounded mb-3') - return ( - -
- {children} - -
- ) -} - -const Colors = () => { - return ( - <> -
-
- Theme colors -
-
- - -
Brand Primary Color
-
- -
Brand Secondary Color
-
- -
Brand Success Color
-
- -
Brand Danger Color
-
- -
Brand Warning Color
-
- -
Brand Info Color
-
- -
Brand Light Color
-
- -
Brand Dark Color
-
-
-
-
-
-
- Grays -
-
- - -
Gray 100 Color
-
- -
Gray 200 Color
-
- -
Gray 300 Color
-
- -
Gray 400 Color
-
- -
Gray 500 Color
-
- -
Gray 600 Color
-
- -
Gray 700 Color
-
- -
Gray 800 Color
-
- -
Gray 900 Color
-
-
-
-
- - ) -} - -export default Colors diff --git a/src/views/Theme/Typography/Typography.js b/src/views/Theme/Typography/Typography.js deleted file mode 100644 index 5b5645d..0000000 --- a/src/views/Theme/Typography/Typography.js +++ /dev/null @@ -1,168 +0,0 @@ -import React from 'react' - -const Typography = () => { - return ( - <> -
-
- Headings -
-
-

Documentation and examples for Bootstrap typography, including global settings, headings, body text, lists, and more.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HeadingExample
-

<h1></h1>

-
h1. Bootstrap heading
-

<h2></h2>

-
h2. Bootstrap heading
-

<h3></h3>

-
h3. Bootstrap heading
-

<h4></h4>

-
h4. Bootstrap heading
-

<h5></h5>

-
h5. Bootstrap heading
-

<h6></h6>

-
h6. Bootstrap heading
-
-
-
-
- Headings -
-
-

.h1 through .h6 classes are also available, for when you - want to match the font styling of a heading but cannot use the associated HTML element.

-
-

h1. Bootstrap heading

-

h2. Bootstrap heading

-

h3. Bootstrap heading

-

h4. Bootstrap heading

-

h5. Bootstrap heading

-

h6. Bootstrap heading

-
-
-
-
-
- Display headings -
-
-

Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using - a display heading—a larger, slightly more opinionated heading style.

-
- - - - - - - - - - - - - - - -
Display 1
Display 2
Display 3
Display 4
-
-
-
-
-
- Inline text elements -
-
-

Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using - a display heading—a larger, slightly more opinionated heading style.

-
-

You can use the mark tag to highlight text.

-

- This line of text is meant to be treated as deleted text. -

-

This line of text is meant to be treated as no longer accurate.

-

- This line of text is meant to be treated as an addition to the document. -

-

This line of text will render as underlined

-

- This line of text is meant to be treated as fine print. -

-

This line rendered as bold text.

-

This line rendered as italicized text.

-
-
-
-
-
- Description list alignment -
-
-

Align terms and descriptions horizontally by using our grid system’s predefined classes (or semantic mixins). For longer terms, you can - optionally add a .text-truncate class to truncate the text with an ellipsis.

-
-
-
Description lists
-
A description list is perfect for defining terms.
- -
Euismod
-
-

Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.

-

Donec id elit non mi porta gravida at eget metus.

-
- -
Malesuada porta
-
Etiam porta sem malesuada magna mollis euismod.
- -
Truncated term is truncated
-
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
- -
Nesting
-
-
-
Nested definition list
-
Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.
-
-
-
-
-
-
- - ) -} - -export default Typography diff --git a/src/views/Users/User.js b/src/views/Users/User.js deleted file mode 100644 index 83b640c..0000000 --- a/src/views/Users/User.js +++ /dev/null @@ -1,41 +0,0 @@ -import React from 'react' -import { CCard, CCardBody, CCardHeader, CCol, CRow } from '@coreui/react' -import { CIcon } from '@coreui/icons-react' - -import usersData from './UsersData' - -const User = ({match}) => { - const user = usersData.find( user => user.id.toString() === match.params.id) - const userDetails = user ? Object.entries(user) : - [['id', ( Not found)]] - - return ( - - - - - User id: {match.params.id} - - - - - { - userDetails.map(([key, value], index) => { - return ( - - - - - ) - }) - } - -
{`${key}:`}{value}
-
-
-
-
- ) -} - -export default User diff --git a/src/views/Users/Users.js b/src/views/Users/Users.js deleted file mode 100644 index 3d65433..0000000 --- a/src/views/Users/Users.js +++ /dev/null @@ -1,65 +0,0 @@ -import React from 'react'; -import { useHistory } from "react-router-dom"; -import { - CBadge, - CCard, - CCardBody, - CCardHeader, - CCol, - CDataTable, - CRow -} from '@coreui/react'; - -import usersData from './UsersData' - -const getBadge = (status) => { - switch (status) { - case 'Active': return 'success' - case 'Inactive': return 'secondary' - case 'Pending': return 'warning' - case 'Banned': return 'danger' - default: return 'primary' - } -} - -const Users = () => { - const history = useHistory() - return ( - - - - - Users - example - - - history.push(`/users/${item.id}`)} - scopedSlots = {{ - 'status': - (item)=>( - - - {item.status} - - - ) - }} - /> - - - - - ) -} - -export default Users diff --git a/src/views/Users/UsersData.js b/src/views/Users/UsersData.js deleted file mode 100644 index f5f923a..0000000 --- a/src/views/Users/UsersData.js +++ /dev/null @@ -1,29 +0,0 @@ -const usersData = [ - {id: 0, name: 'John Doe', registered: '2018/01/01', role: 'Guest', status: 'Pending'}, - {id: 1, name: 'Samppa Nori', registered: '2018/01/01', role: 'Member', status: 'Active'}, - {id: 2, name: 'Estavan Lykos', registered: '2018/02/01', role: 'Staff', status: 'Banned'}, - {id: 3, name: 'Chetan Mohamed', registered: '2018/02/01', role: 'Admin', status: 'Inactive'}, - {id: 4, name: 'Derick Maximinus', registered: '2018/03/01', role: 'Member', status: 'Pending'}, - {id: 5, name: 'Friderik Dávid', registered: '2018/01/21', role: 'Staff', status: 'Active'}, - {id: 6, name: 'Yiorgos Avraamu', registered: '2018/01/01', role: 'Member', status: 'Active'}, - {id: 7, name: 'Avram Tarasios', registered: '2018/02/01', role: 'Staff', status: 'Banned'}, - {id: 8, name: 'Quintin Ed', registered: '2018/02/01', role: 'Admin', status: 'Inactive'}, - {id: 9, name: 'Enéas Kwadwo', registered: '2018/03/01', role: 'Member', status: 'Pending'}, - {id: 10, name: 'Agapetus Tadeáš', registered: '2018/01/21', role: 'Staff', status: 'Active'}, - {id: 11, name: 'Carwyn Fachtna', registered: '2018/01/01', role: 'Member', status: 'Active'}, - {id: 12, name: 'Nehemiah Tatius', registered: '2018/02/01', role: 'Staff', status: 'Banned'}, - {id: 13, name: 'Ebbe Gemariah', registered: '2018/02/01', role: 'Admin', status: 'Inactive'}, - {id: 14, name: 'Eustorgios Amulius', registered: '2018/03/01', role: 'Member', status: 'Pending'}, - {id: 15, name: 'Leopold Gáspár', registered: '2018/01/21', role: 'Staff', status: 'Active'}, - {id: 16, name: 'Pompeius René', registered: '2018/01/01', role: 'Member', status: 'Active'}, - {id: 17, name: 'Paĉjo Jadon', registered: '2018/02/01', role: 'Staff', status: 'Banned'}, - {id: 18, name: 'Micheal Mercurius', registered: '2018/02/01', role: 'Admin', status: 'Inactive'}, - {id: 19, name: 'Ganesha Dubhghall', registered: '2018/03/01', role: 'Member', status: 'Pending'}, - {id: 20, name: 'Hiroto Šimun', registered: '2018/01/21', role: 'Staff', status: 'Active'}, - {id: 21, name: 'Vishnu Serghei', registered: '2018/01/01', role: 'Member', status: 'Active'}, - {id: 22, name: 'Zbyněk Phoibos', registered: '2018/02/01', role: 'Staff', status: 'Banned'}, - {id: 23, name: 'Aulus Agmundr', registered: '2018/01/01', role: 'Member', status: 'Pending'}, - {id: 42, name: 'Ford Prefect', registered: '2001/05/25', role: 'Alien', status: 'Don\'t panic!'} -] - -export default usersData diff --git a/src/views/Widgets/Widgets.js b/src/views/Widgets/Widgets.js deleted file mode 100644 index 7ea4390..0000000 --- a/src/views/Widgets/Widgets.js +++ /dev/null @@ -1,370 +0,0 @@ -import React from 'react' -import { - CCardGroup, - CCardFooter, - CCol, - CLink, - CRow, - CWidgetProgress, - CWidgetIcon, - CWidgetProgressIcon, - CWidgetSimple, - CProgress, -} from '@coreui/react' -import WidgetsBrand from './WidgetsBrand' -import WidgetsDropdown from './WidgetsDropdown' - -import ChartLineSimple from '../Charts/ChartLineSimple' -import ChartBarSimple from '../Charts/ChartBarSimple' - -import { CIcon } from '@coreui/icons-react' - -const Widgets = () => { - return ( - <> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - View more - - - - } - > - - - - - - - - - - - - - - - - - - - - } - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) -} - -export default Widgets diff --git a/src/views/Widgets/WidgetsBrand.js b/src/views/Widgets/WidgetsBrand.js deleted file mode 100644 index 41c19b8..0000000 --- a/src/views/Widgets/WidgetsBrand.js +++ /dev/null @@ -1,177 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import { CWidgetBrand, CRow, CCol } from '@coreui/react'; -import { CIcon } from '@coreui/icons-react'; -import ChartLineSimple from '../Charts/ChartLineSimple'; - -const WidgetsBrand = ({withCharts})=>{ - - // render - - return withCharts ? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : - - - - - - - - - - - - - - - - - - - - - - - - - - -} - -WidgetsBrand.propTypes = { - withCharts: PropTypes.bool -} - -export default WidgetsBrand diff --git a/src/views/Widgets/WidgetsDropdown.js b/src/views/Widgets/WidgetsDropdown.js deleted file mode 100644 index 3ae5f8c..0000000 --- a/src/views/Widgets/WidgetsDropdown.js +++ /dev/null @@ -1,148 +0,0 @@ -import React from 'react' -import { - CWidgetDropdown, - CRow, - CCol, - CDropdown, - CDropdownMenu, - CDropdownItem, - CDropdownToggle -} from '@coreui/react' -import { - CIcon -} from '@coreui/icons-react' -import ChartLineSimple from '../Charts/ChartLineSimple' -import ChartBarSimple from '../Charts/ChartBarSimple' - -const WidgetsDropdown = () => { - // render - return ( - - - - } - > - - - - - - Action - Another action - Something else here... - Disabled action - - - - - - - - } - > - - - - - - Action - Another action - Something else here... - Disabled action - - - - - - - - } - > - - - - - - Action - Another action - Something else here... - Disabled action - - - - - - - - } - > - - - - - - Action - Another action - Something else here... - Disabled action - - - - - - ) -} - -export default WidgetsDropdown