diff --git a/CHANGELOG.md b/CHANGELOG.md index edc7c5148..fc092a8b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ ## [CoreUI](https://coreui.io/) for [react](./REACT.md) changelog +##### `v2.0.8` +- fix(User): add missing unique key prop +- fix(Login): add missing form and autoComplete +- fix(Register): add missing form and autoComplete +- chore: update `@coreui/react` to `2.0.5` +- chore: update `bootstrap` to `4.1.3` +- chore: update `reactstrap` to `6.3.1` +- chore: update `babel-jest` to `23.4.2` + ##### `v2.0.5` - feat(router): Users/User Breadcrumb example with `/users/:id` - chore: update `@coreui/react` to `2.0.4`, diff --git a/package.json b/package.json index a9d366f0e..07764cfe8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/coreui-free-react-admin-template", - "version": "2.0.6", + "version": "2.0.8", "description": "CoreUI React Open Source Bootstrap 4 Admin Template", "author": "Ɓukasz Holeczek", "homepage": "https://coreui.io", @@ -15,8 +15,8 @@ "@coreui/coreui": "^2.0.4", "@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0", "@coreui/icons": "0.2.0", - "@coreui/react": "^2.0.4", - "bootstrap": "^4.1.1", + "@coreui/react": "^2.0.5", + "bootstrap": "^4.1.3", "chart.js": "^2.7.2", "classnames": "^2.2.6", "core-js": "^2.5.7", @@ -32,11 +32,11 @@ "react-router-config": "^1.0.0-beta.4", "react-router-dom": "^4.3.1", "react-test-renderer": "^16.4.1", - "reactstrap": "^6.1.0", + "reactstrap": "^6.3.1", "simple-line-icons": "^2.4.1" }, "devDependencies": { - "babel-jest": "^23.0.1", + "babel-jest": "^23.4.2", "node-sass-chokidar": "^1.3.0", "npm-run-all": "^4.1.3", "react-scripts": "^1.1.4" diff --git a/src/scss/style.css b/src/scss/style.css index a83d03121..e98c1e561 100644 --- a/src/scss/style.css +++ b/src/scss/style.css @@ -7,7 +7,7 @@ * Licensed under MIT (https://coreui.io/license) */ /*! - * Bootstrap v4.1.2 (https://getbootstrap.com/) + * Bootstrap v4.1.3 (https://getbootstrap.com/) * Copyright 2011-2018 The Bootstrap Authors * Copyright 2011-2018 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) @@ -39,7 +39,7 @@ --breakpoint-md: 768px; --breakpoint-lg: 992px; --breakpoint-xl: 1200px; - --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } *, @@ -63,7 +63,7 @@ article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { body { margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 0.875rem; font-weight: 400; line-height: 1.5; @@ -182,7 +182,7 @@ img { vertical-align: middle; border-style: none; } -svg:not(:root) { +svg { overflow: hidden; vertical-align: middle; } @@ -1043,7 +1043,6 @@ pre { .table { width: 100%; - max-width: 100%; margin-bottom: 1rem; background-color: transparent; } .table th, @@ -1259,6 +1258,7 @@ pre { .form-control { display: block; width: 100%; + height: calc(2.0625rem + 2px); padding: 0.375rem 0.75rem; font-size: 0.875rem; line-height: 1.5; @@ -1287,9 +1287,6 @@ pre { background-color: #e4e7ea; opacity: 1; } -select.form-control:not([size]):not([multiple]) { - height: calc(2.0625rem + 2px); } - select.form-control:focus::-ms-value { color: #5c6873; background-color: #fff; } @@ -1315,7 +1312,7 @@ select.form-control:focus::-ms-value { .col-form-label-sm { padding-top: calc(0.25rem + 1px); padding-bottom: calc(0.25rem + 1px); - font-size: 0.76562rem; + font-size: 0.76563rem; line-height: 1.5; } .form-control-plaintext { @@ -1329,51 +1326,29 @@ select.form-control:focus::-ms-value { background-color: transparent; border: solid transparent; border-width: 1px 0; } - .form-control-plaintext.form-control-sm, .input-group-sm > .form-control-plaintext.form-control, - .input-group-sm > .input-group-prepend > .form-control-plaintext.input-group-text, - .input-group-sm > .input-group-append > .form-control-plaintext.input-group-text, - .input-group-sm > .input-group-prepend > .form-control-plaintext.btn, - .input-group-sm > .input-group-append > .form-control-plaintext.btn, .form-control-plaintext.form-control-lg, .input-group-lg > .form-control-plaintext.form-control, - .input-group-lg > .input-group-prepend > .form-control-plaintext.input-group-text, - .input-group-lg > .input-group-append > .form-control-plaintext.input-group-text, - .input-group-lg > .input-group-prepend > .form-control-plaintext.btn, - .input-group-lg > .input-group-append > .form-control-plaintext.btn { + .form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg { padding-right: 0; padding-left: 0; } -.form-control-sm, .input-group-sm > .form-control, -.input-group-sm > .input-group-prepend > .input-group-text, -.input-group-sm > .input-group-append > .input-group-text, -.input-group-sm > .input-group-prepend > .btn, -.input-group-sm > .input-group-append > .btn { +.form-control-sm { + height: calc(1.64844rem + 2px); padding: 0.25rem 0.5rem; - font-size: 0.76562rem; + font-size: 0.76563rem; line-height: 1.5; border-radius: 0.2rem; } -select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.form-control:not([size]):not([multiple]), -.input-group-sm > .input-group-prepend > select.input-group-text:not([size]):not([multiple]), -.input-group-sm > .input-group-append > select.input-group-text:not([size]):not([multiple]), -.input-group-sm > .input-group-prepend > select.btn:not([size]):not([multiple]), -.input-group-sm > .input-group-append > select.btn:not([size]):not([multiple]) { - height: calc(1.64844rem + 2px); } - -.form-control-lg, .input-group-lg > .form-control, -.input-group-lg > .input-group-prepend > .input-group-text, -.input-group-lg > .input-group-append > .input-group-text, -.input-group-lg > .input-group-prepend > .btn, -.input-group-lg > .input-group-append > .btn { +.form-control-lg { + height: calc(2.64063rem + 2px); padding: 0.5rem 1rem; font-size: 1.09375rem; line-height: 1.5; border-radius: 0.3rem; } -select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]), -.input-group-lg > .input-group-prepend > select.input-group-text:not([size]):not([multiple]), -.input-group-lg > .input-group-append > select.input-group-text:not([size]):not([multiple]), -.input-group-lg > .input-group-prepend > select.btn:not([size]):not([multiple]), -.input-group-lg > .input-group-append > select.btn:not([size]):not([multiple]) { - height: calc(2.64062rem + 2px); } +select.form-control[size], select.form-control[multiple] { + height: auto; } + +textarea.form-control { + height: auto; } .form-group { margin-bottom: 1rem; } @@ -1431,13 +1406,13 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for z-index: 5; display: none; max-width: 100%; - padding: .5rem; + padding: 0.25rem 0.5rem; margin-top: .1rem; - font-size: .875rem; - line-height: 1; + font-size: 0.76563rem; + line-height: 1.5; color: #fff; - background-color: rgba(77, 189, 116, 0.8); - border-radius: .2rem; } + background-color: rgba(77, 189, 116, 0.9); + border-radius: 0.25rem; } .was-validated .form-control:valid, .form-control.is-valid, .was-validated .custom-select:valid, @@ -1489,7 +1464,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for .was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label { border-color: #4dbd74; } - .was-validated .custom-file-input:valid ~ .custom-file-label::before, .custom-file-input.is-valid ~ .custom-file-label::before { + .was-validated .custom-file-input:valid ~ .custom-file-label::after, .custom-file-input.is-valid ~ .custom-file-label::after { border-color: inherit; } .was-validated .custom-file-input:valid ~ .valid-feedback, @@ -1513,13 +1488,13 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for z-index: 5; display: none; max-width: 100%; - padding: .5rem; + padding: 0.25rem 0.5rem; margin-top: .1rem; - font-size: .875rem; - line-height: 1; + font-size: 0.76563rem; + line-height: 1.5; color: #fff; - background-color: rgba(248, 108, 107, 0.8); - border-radius: .2rem; } + background-color: rgba(248, 108, 107, 0.9); + border-radius: 0.25rem; } .was-validated .form-control:invalid, .form-control.is-invalid, .was-validated .custom-select:invalid, @@ -1571,7 +1546,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for .was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label { border-color: #f86c6b; } - .was-validated .custom-file-input:invalid ~ .custom-file-label::before, .custom-file-input.is-invalid ~ .custom-file-label::before { + .was-validated .custom-file-input:invalid ~ .custom-file-label::after, .custom-file-input.is-invalid ~ .custom-file-label::after { border-color: inherit; } .was-validated .custom-file-input:invalid ~ .invalid-feedback, @@ -1651,8 +1626,6 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for opacity: 0.65; } .btn:not(:disabled):not(.disabled) { cursor: pointer; } - .btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active { - background-image: none; } a.btn.disabled, fieldset:disabled a.btn { @@ -2051,7 +2024,7 @@ fieldset:disabled a.btn { .btn-sm, .btn-group-sm > .btn { padding: 0.25rem 0.5rem; - font-size: 0.76562rem; + font-size: 0.76563rem; line-height: 1.5; border-radius: 0.2rem; } @@ -2251,7 +2224,7 @@ input[type="button"].btn-block { display: block; padding: 0 1.5rem; margin-bottom: 0; - font-size: 0.76562rem; + font-size: 0.76563rem; color: #73818f; white-space: nowrap; } @@ -2385,6 +2358,8 @@ input[type="button"].btn-block { .input-group > .custom-select:focus, .input-group > .custom-file .custom-file-input:focus ~ .custom-file-label { z-index: 3; } + .input-group > .custom-file .custom-file-input:focus { + z-index: 4; } .input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:last-child) { border-top-right-radius: 0; @@ -2445,6 +2420,28 @@ input[type="button"].btn-block { .input-group-text input[type="checkbox"] { margin-top: 0; } +.input-group-lg > .form-control, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn { + height: calc(2.64063rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.09375rem; + line-height: 1.5; + border-radius: 0.3rem; } + +.input-group-sm > .form-control, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn { + height: calc(1.64844rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.76563rem; + line-height: 1.5; + border-radius: 0.2rem; } + .input-group > .input-group-prepend > .btn, .input-group > .input-group-prepend > .input-group-text, .input-group > .input-group-append:not(:last-child) > .btn, @@ -2466,7 +2463,7 @@ input[type="button"].btn-block { .custom-control { position: relative; display: block; - min-height: 1.5rem; + min-height: 1.3125rem; padding-left: 1.5rem; } .custom-control-inline { @@ -2495,7 +2492,7 @@ input[type="button"].btn-block { margin-bottom: 0; } .custom-control-label::before { position: absolute; - top: 0.25rem; + top: 0.15625rem; left: -1.5rem; display: block; width: 1rem; @@ -2506,7 +2503,7 @@ input[type="button"].btn-block { background-color: #c8ced3; } .custom-control-label::after { position: absolute; - top: 0.25rem; + top: 0.15625rem; left: -1.5rem; display: block; width: 1rem; @@ -2586,7 +2583,7 @@ input[type="button"].btn-block { font-size: 75%; } .custom-select-lg { - height: calc(2.64062rem + 2px); + height: calc(2.64063rem + 2px); padding-top: 0.375rem; padding-bottom: 0.375rem; font-size: 125%; } @@ -2651,6 +2648,12 @@ input[type="button"].btn-block { appearance: none; } .custom-range:focus { outline: none; } + .custom-range:focus::-webkit-slider-thumb { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); } + .custom-range:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); } + .custom-range:focus::-ms-thumb { + box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); } .custom-range::-moz-focus-outer { border: 0; } .custom-range::-webkit-slider-thumb { @@ -2665,9 +2668,6 @@ input[type="button"].btn-block { @media screen and (prefers-reduced-motion: reduce) { .custom-range::-webkit-slider-thumb { transition: none; } } - .custom-range::-webkit-slider-thumb:focus { - outline: none; - box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); } .custom-range::-webkit-slider-thumb:active { background-color: #b6e4f4; } .custom-range::-webkit-slider-runnable-track { @@ -2689,9 +2689,6 @@ input[type="button"].btn-block { @media screen and (prefers-reduced-motion: reduce) { .custom-range::-moz-range-thumb { transition: none; } } - .custom-range::-moz-range-thumb:focus { - outline: none; - box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); } .custom-range::-moz-range-thumb:active { background-color: #b6e4f4; } .custom-range::-moz-range-track { @@ -2705,6 +2702,9 @@ input[type="button"].btn-block { .custom-range::-ms-thumb { width: 1rem; height: 1rem; + margin-top: 0; + margin-right: 0.2rem; + margin-left: 0.2rem; background-color: #20a8d8; border: 0; border-radius: 1rem; @@ -2713,9 +2713,6 @@ input[type="button"].btn-block { @media screen and (prefers-reduced-motion: reduce) { .custom-range::-ms-thumb { transition: none; } } - .custom-range::-ms-thumb:focus { - outline: none; - box-shadow: 0 0 0 1px #e4e5e6, 0 0 0 0.2rem rgba(32, 168, 216, 0.25); } .custom-range::-ms-thumb:active { background-color: #b6e4f4; } .custom-range::-ms-track { @@ -3343,7 +3340,7 @@ input[type="button"].btn-block { .pagination-sm .page-link { padding: 0.25rem 0.5rem; - font-size: 0.76562rem; + font-size: 0.76563rem; line-height: 1.5; } .pagination-sm .page-item:first-child .page-link { @@ -3755,6 +3752,9 @@ button.close { .modal-open { overflow: hidden; } + .modal-open .modal { + overflow-x: hidden; + overflow-y: auto; } .modal { position: fixed; @@ -3766,9 +3766,6 @@ button.close { display: none; overflow: hidden; outline: 0; } - .modal-open .modal { - overflow-x: hidden; - overflow-y: auto; } .modal-dialog { position: relative; @@ -3788,6 +3785,10 @@ button.close { display: flex; align-items: center; min-height: calc(100% - (0.5rem * 2)); } + .modal-dialog-centered::before { + display: block; + height: calc(100vh - (0.5rem * 2)); + content: ""; } .modal-content { position: relative; @@ -3859,6 +3860,8 @@ button.close { margin: 1.75rem auto; } .modal-dialog-centered { min-height: calc(100% - (1.75rem * 2)); } + .modal-dialog-centered::before { + height: calc(100vh - (1.75rem * 2)); } .modal-sm { max-width: 300px; } } @@ -3871,7 +3874,7 @@ button.close { z-index: 1070; display: block; margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-style: normal; font-weight: 400; line-height: 1.5; @@ -3885,7 +3888,7 @@ button.close { word-spacing: normal; white-space: normal; line-break: auto; - font-size: 0.76562rem; + font-size: 0.76563rem; word-wrap: break-word; opacity: 0; } .tooltip.show { @@ -3956,7 +3959,7 @@ button.close { z-index: 1060; display: block; max-width: 276px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-style: normal; font-weight: 400; line-height: 1.5; @@ -3970,7 +3973,7 @@ button.close { word-spacing: normal; white-space: normal; line-break: auto; - font-size: 0.76562rem; + font-size: 0.76563rem; word-wrap: break-word; background-color: #fff; background-clip: padding-box; @@ -6626,9 +6629,9 @@ a.text-dark:hover, a.text-dark:focus { .btn-brand i + span { margin-left: 1.5rem; } .btn-brand.btn-lg i, .btn-group-lg > .btn-brand.btn i { - width: 2.64062rem; + width: 2.64063rem; margin: -0.5rem -1rem; - line-height: 2.64062rem; + line-height: 2.64063rem; border-radius: 0.3rem; } .btn-brand.btn-lg i + span, .btn-group-lg > .btn-brand.btn i + span { margin-left: 2rem; } @@ -7680,12 +7683,12 @@ canvas { .chartjs-tooltip .tooltip-header { margin-bottom: 0.5rem; } .chartjs-tooltip .tooltip-header-item { - font-size: 0.76562rem; + font-size: 0.76563rem; font-weight: 700; } .chartjs-tooltip .tooltip-body-item { display: flex; align-items: center; - font-size: 0.76562rem; + font-size: 0.76563rem; white-space: nowrap; } .chartjs-tooltip .tooltip-body-item-color { display: inline-block; @@ -8020,7 +8023,7 @@ canvas { font-size: 1.09375rem; } .progress-group-text { - font-size: 0.76562rem; + font-size: 0.76563rem; color: #73818f; } .progress-group-header { diff --git a/src/views/Base/Switches/Switches.js b/src/views/Base/Switches/Switches.js index 85d560cd3..1973897f1 100644 --- a/src/views/Base/Switches/Switches.js +++ b/src/views/Base/Switches/Switches.js @@ -48,6 +48,7 @@ class Switches extends Component { 3d Switch + {' '}CoreUI Pro @@ -66,6 +67,7 @@ class Switches extends Component { 3d Switch disabled + {' '}CoreUI Pro @@ -85,6 +87,7 @@ class Switches extends Component { 3d Switch outline="alt" + {' '}CoreUI Pro @@ -103,6 +106,7 @@ class Switches extends Component { 3d Switch label + {' '}CoreUI Pro @@ -121,6 +125,7 @@ class Switches extends Component { 3d Switch outline="alt" label + {' '}CoreUI Pro @@ -139,6 +144,7 @@ class Switches extends Component { 3d Switch outline="alt" label + {' '}CoreUI Pro @@ -157,6 +163,7 @@ class Switches extends Component { Switch outline + {' '}CoreUI Pro @@ -175,6 +182,7 @@ class Switches extends Component { Switch outline pills + {' '}CoreUI Pro @@ -193,6 +201,7 @@ class Switches extends Component { Switch outline alternative + {' '}CoreUI Pro @@ -212,6 +221,7 @@ class Switches extends Component { Switch outline alternative - pills + {' '}CoreUI Pro @@ -231,6 +241,7 @@ class Switches extends Component { Switch with text + {' '}CoreUI Pro @@ -249,6 +260,7 @@ class Switches extends Component { Switch with text pills + {' '}CoreUI Pro @@ -267,6 +279,7 @@ class Switches extends Component { Switch with text outline + {' '}CoreUI Pro @@ -285,6 +298,7 @@ class Switches extends Component { Switch with text outline pills + {' '}CoreUI Pro @@ -303,6 +317,7 @@ class Switches extends Component { Switch with text outline alternative pills + {' '}CoreUI Pro @@ -321,6 +336,7 @@ class Switches extends Component { Switch with text outline alternative pills + {' '}CoreUI Pro @@ -340,6 +356,7 @@ class Switches extends Component { Switch with text outline alternative + {' '}CoreUI Pro @@ -358,6 +375,7 @@ class Switches extends Component { Switch with text outline alternative pills + {' '}CoreUI Pro @@ -377,6 +395,7 @@ class Switches extends Component { Switch with text outline alternative + {' '}CoreUI Pro @@ -395,6 +414,7 @@ class Switches extends Component { Switch with text outline alternative pills + {' '}CoreUI Pro diff --git a/src/views/Pages/Login/Login.js b/src/views/Pages/Login/Login.js index 38af6fc88..a296f7d95 100644 --- a/src/views/Pages/Login/Login.js +++ b/src/views/Pages/Login/Login.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import { Button, Card, CardBody, CardGroup, Col, Container, Input, InputGroup, InputGroupAddon, InputGroupText, Row } from 'reactstrap'; +import { Button, Card, CardBody, CardGroup, Col, Container, Form, Input, InputGroup, InputGroupAddon, InputGroupText, Row } from 'reactstrap'; class Login extends Component { render() { @@ -11,32 +11,34 @@ class Login extends Component { -

Login

-

Sign In to your account

- - - - - - - - - - - - - - - - - - - - - - - - +
+

Login

+

Sign In to your account

+ + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/src/views/Pages/Register/Register.js b/src/views/Pages/Register/Register.js index 2aba3a738..cecc65181 100644 --- a/src/views/Pages/Register/Register.js +++ b/src/views/Pages/Register/Register.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import { Button, Card, CardBody, CardFooter, Col, Container, Input, InputGroup, InputGroupAddon, InputGroupText, Row } from 'reactstrap'; +import { Button, Card, CardBody, CardFooter, Col, Container, Form, Input, InputGroup, InputGroupAddon, InputGroupText, Row } from 'reactstrap'; class Register extends Component { render() { @@ -10,39 +10,41 @@ class Register extends Component { -

Register

-

Create your account

- - - - - - - - - - - @ - - - - - - - - - - - - - - - - - - - - +
+

Register

+

Create your account

+ + + + + + + + + + + @ + + + + + + + + + + + + + + + + + + + + +
diff --git a/src/views/Users/User.js b/src/views/Users/User.js index daa6dbbd6..1663343ac 100644 --- a/src/views/Users/User.js +++ b/src/views/Users/User.js @@ -25,7 +25,7 @@ class User extends Component { { userDetails.map(([key, value]) => { return ( - + {`${key}:`} {value}