diff --git a/src/app/components/UserProfileModal/index.tsx b/src/app/components/UserProfileModal/index.tsx
old mode 100644
new mode 100755
diff --git a/src/app/styles/Register.css b/src/app/styles/Register.css
index 5341b76b..d2b5296e 100644
--- a/src/app/styles/Register.css
+++ b/src/app/styles/Register.css
@@ -34,7 +34,7 @@ input[type='checkbox'] {
visibility: hidden;
}
-label {
+.flaglabel {
cursor: pointer;
text-indent: -9999px;
width: 35px;
@@ -45,7 +45,7 @@ label {
position: relative;
}
-label:after {
+.flaglabel:after {
content: '';
position: absolute;
top: 1px;
@@ -57,15 +57,26 @@ label:after {
transition: 0.3s;
}
-input:checked + label {
+input:checked + .flaglabel {
background: #bada55;
}
-input:checked + label:after {
+input:checked + .flaglabel:after {
left: calc(100% - 1px);
transform: translateX(-110%);
}
-label:active:after {
+.flaglabel:active:after {
width: 20px;
}
+
+.input-group{
+ display:block !important;
+}
+
+.labeltext{
+ color:rgba(0, 0, 32, 0.8);
+ font-size: 14px;
+ font-family: 'Montserrat', sans-serif;
+ font-weight: 600;
+}
diff --git a/src/app/styles/UserProfileModal.module.css b/src/app/styles/UserProfileModal.module.css
index b4b13e61..e997ac4b 100644
--- a/src/app/styles/UserProfileModal.module.css
+++ b/src/app/styles/UserProfileModal.module.css
@@ -125,6 +125,7 @@
font-size: 20px;
border-bottom: 2px solid #ebebeb;
margin: 0 0 10px 0px;
+ width:100%;
}
.avatar-select-container {
@@ -187,3 +188,4 @@
.userEdit-wrap::-webkit-scrollbar-thumb {
background-color: #ddd;
}
+
\ No newline at end of file
diff --git a/src/assets/index.html b/src/assets/index.html
index f594f67f..66e82c4a 100644
--- a/src/assets/index.html
+++ b/src/assets/index.html
@@ -4,6 +4,8 @@
+
+
Code Character
From 38f9f55fc4abc0bd32c17e9265c8aa5b9ba58416 Mon Sep 17 00:00:00 2001
From: Chethan2k1 <40890937+Chethan2k1@users.noreply.github.com>
Date: Tue, 4 Feb 2020 21:13:51 +0530
Subject: [PATCH 04/17] Made Change in EditPassword
---
src/app/components/UserProfileModal/EditPassword.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/components/UserProfileModal/EditPassword.tsx b/src/app/components/UserProfileModal/EditPassword.tsx
index 545c4639..8b3c285e 100755
--- a/src/app/components/UserProfileModal/EditPassword.tsx
+++ b/src/app/components/UserProfileModal/EditPassword.tsx
@@ -1,4 +1,4 @@
-import { faLock, faPen ,faUnlock} from '@fortawesome/free-solid-svg-icons';
+import { faLock, faPen ,faUnlock } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import * as styles from 'app/styles/UserProfileModal.module.css';
import { InputName, InputState } from 'app/types/UserProfileModal';
From c4e2420b801b6a6fe18e702123f2f893dcbadf4f Mon Sep 17 00:00:00 2001
From: Chethan2k1 <40890937+Chethan2k1@users.noreply.github.com>
Date: Thu, 6 Feb 2020 00:50:22 +0530
Subject: [PATCH 05/17] Change the UI of UserProfileModel
- Remove Input Disable Feature
- Remove Icons
- Made Changes in CSS
---
.../app/components/EditPassword.test.tsx | 6 +-
.../UserProfileModal/EditPassword.tsx | 47 +------
.../UserProfileModal/EditProfile.tsx | 108 ++-------------
src/app/components/UserProfileModal/index.tsx | 128 +++++-------------
src/app/styles/UserProfileModal.module.css | 16 +++
.../types/UserProfileModal/EditPassword.ts | 4 +-
src/app/types/UserProfileModal/EditProfile.ts | 4 +-
src/app/types/UserProfileModal/index.ts | 10 +-
8 files changed, 75 insertions(+), 248 deletions(-)
diff --git a/__tests__/app/components/EditPassword.test.tsx b/__tests__/app/components/EditPassword.test.tsx
index 08c8734a..f9f9b8af 100644
--- a/__tests__/app/components/EditPassword.test.tsx
+++ b/__tests__/app/components/EditPassword.test.tsx
@@ -1,5 +1,5 @@
import { EditPassword } from 'app/components/UserProfileModal/EditPassword';
-import { InputName, InputState } from 'app/types/UserProfileModal';
+import { InputName } from 'app/types/UserProfileModal';
import { mount } from 'enzyme';
import * as React from 'react';
@@ -12,11 +12,7 @@ describe('EditPassword Component', () => {
onInputChange={(inputName: InputName, value: string) => {
return;
}}
- inputEnabler={(inputState: InputState, value: boolean) => {
- return;
- }}
editPasswordRef={React.createRef()}
- listDisabled={{}}
oldPassword={'oldPassword'}
password={'password'}
repeatPassword={'repeatPassword'}
diff --git a/src/app/components/UserProfileModal/EditPassword.tsx b/src/app/components/UserProfileModal/EditPassword.tsx
index 8b3c285e..5596de81 100755
--- a/src/app/components/UserProfileModal/EditPassword.tsx
+++ b/src/app/components/UserProfileModal/EditPassword.tsx
@@ -1,11 +1,9 @@
-import { faLock, faPen ,faUnlock } from '@fortawesome/free-solid-svg-icons';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import * as styles from 'app/styles/UserProfileModal.module.css';
-import { InputName, InputState } from 'app/types/UserProfileModal';
+import { InputName } from 'app/types/UserProfileModal';
import * as EditPasswordInterfaces from 'app/types/UserProfileModal/EditPassword';
import classnames from 'classnames';
import * as React from 'react';
-import { Button, Row } from 'react-bootstrap';
+import { Row } from 'react-bootstrap';
export class EditPassword extends React.Component {
public constructor(props:any){
@@ -15,9 +13,9 @@ export class EditPassword extends React.Component
@@ -30,22 +28,6 @@ export class EditPassword extends React.Component
{' '}
Credentials
-