aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/nfvo-components
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-04-17 11:32:22 +0300
committerEinav Keidar <einavw@amdocs.com>2018-04-17 09:07:36 +0000
commit04783c44c22de7ef4abe183c5f19b4136305e5f8 (patch)
treec952ad9e4b39b3ed55348bbe80574c8ddd102130 /openecomp-ui/src/nfvo-components
parent60969e02c6c8a78d8ffe9e597727c552c8be4e64 (diff)
sdc-ui buttons fix
Issue-ID: SDC-1237 Change-Id: I4912c7f9e81849ff68a4a5d432bf844f97cf031e Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/nfvo-components')
-rw-r--r--openecomp-ui/src/nfvo-components/fileupload/DraggableUploadFileBox.jsx2
-rw-r--r--openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx5
-rw-r--r--openecomp-ui/src/nfvo-components/modal/GlobalModal.js3
-rw-r--r--openecomp-ui/src/nfvo-components/panel/versionController/VersionController.jsx10
4 files changed, 11 insertions, 9 deletions
diff --git a/openecomp-ui/src/nfvo-components/fileupload/DraggableUploadFileBox.jsx b/openecomp-ui/src/nfvo-components/fileupload/DraggableUploadFileBox.jsx
index 0d47d859d9..2dfbf3ab9c 100644
--- a/openecomp-ui/src/nfvo-components/fileupload/DraggableUploadFileBox.jsx
+++ b/openecomp-ui/src/nfvo-components/fileupload/DraggableUploadFileBox.jsx
@@ -46,7 +46,7 @@ class DraggableUploadFileBox extends Component {
<Button
type="button"
data-test-id={dataTestId}
- btnType="outline"
+ btnType="secondary"
onClick={onClick}
disabled={isReadOnlyMode}>
{i18n('Select File')}
diff --git a/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx b/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx
index e460f68a98..9530b6521d 100644
--- a/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx
+++ b/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx
@@ -63,12 +63,13 @@ class ValidationButtons extends React.Component {
<div>
<Button
type="submit"
+ btnType="primary"
data-test-id="form-submit-button"
disabled={!this.state.isValid}>
{submitBtn}
</Button>
<Button
- btnType="outline"
+ btnType="secondary"
type="reset"
data-test-id="form-close-button">
{closeBtn}
@@ -76,7 +77,7 @@ class ValidationButtons extends React.Component {
</div>
) : (
<Button
- btnType="outline"
+ btnType="primary"
type="reset"
data-test-id="form-close-button">
{i18n('Close')}
diff --git a/openecomp-ui/src/nfvo-components/modal/GlobalModal.js b/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
index 3f19bd76a3..3a80e734ea 100644
--- a/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
+++ b/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
@@ -57,6 +57,7 @@ const ModalFooter = ({
<Button
data-test-id="sdc-modal-confirm-button"
color={typeClass[type]}
+ btnType="primary"
onClick={() => {
onConfirmed();
onClose();
@@ -67,7 +68,7 @@ const ModalFooter = ({
<Button
{...myPropsForNoConfirmed}
data-test-id="sdc-modal-cancel-button"
- btnType="outline"
+ btnType="secondary"
color={typeClass[type]}
onClick={
onDeclined
diff --git a/openecomp-ui/src/nfvo-components/panel/versionController/VersionController.jsx b/openecomp-ui/src/nfvo-components/panel/versionController/VersionController.jsx
index c9c5789622..5fe0892e59 100644
--- a/openecomp-ui/src/nfvo-components/panel/versionController/VersionController.jsx
+++ b/openecomp-ui/src/nfvo-components/panel/versionController/VersionController.jsx
@@ -64,11 +64,11 @@ class VersionController extends React.Component {
} = this.props;
return (
<div className="version-controller-bar">
- <div
- className={`vc-container ${
- candidateInProcess ? 'disabled' : ''
- }`}>
- <div className="version-status-container">
+ <div className="vc-container">
+ <div
+ className={`version-status-container ${
+ candidateInProcess ? 'disabled' : ''
+ }`}>
<VersionSelector
viewableVersions={viewableVersions}
version={version}