diff --git a/dmsite/frontend/src/Authentication/LoginTextField.jsx b/dmsite/frontend/src/Authentication/LoginTextField.jsx index 1849ee4f..9fe145a1 100644 --- a/dmsite/frontend/src/Authentication/LoginTextField.jsx +++ b/dmsite/frontend/src/Authentication/LoginTextField.jsx @@ -53,7 +53,11 @@ class TextField extends React.Component { } return ( -
+ {getFieldDecorator('email', { rules: [{ required: true, message: 'Please input your email!' }], @@ -62,6 +66,7 @@ class TextField extends React.Component { type="email" placeholder="Email" style={{ backgroundColor: '#303030', borderWidth: 0, color: 'white' }} + autoComplete="off" />, )} @@ -73,6 +78,7 @@ class TextField extends React.Component { type="password" placeholder="Password" style={{ backgroundColor: '#303030', borderWidth: 0, color: 'white' }} + autoComplete="off" />, )} diff --git a/dmsite/frontend/src/Authentication/NewAccountTextField.jsx b/dmsite/frontend/src/Authentication/NewAccountTextField.jsx index 8a695531..62e4e89b 100644 --- a/dmsite/frontend/src/Authentication/NewAccountTextField.jsx +++ b/dmsite/frontend/src/Authentication/NewAccountTextField.jsx @@ -85,7 +85,10 @@ class NewAccountTextField extends React.Component { } return ( - + {getFieldDecorator('username', { rules: [{ required: true, message: 'Please input your username!' }], @@ -93,6 +96,7 @@ class NewAccountTextField extends React.Component { , )} @@ -103,17 +107,18 @@ class NewAccountTextField extends React.Component { , )} - {/**/} - {/*{getFieldDecorator('organization')(*/} - {/*,*/} - {/*)}*/} - {/**/} + {/* */} + {/* {getFieldDecorator('organization')( */} + {/* , */} + {/* )} */} + {/* */} {getFieldDecorator('password', { rules: [ @@ -125,6 +130,7 @@ class NewAccountTextField extends React.Component { type="password" placeholder="*Password" style={{ backgroundColor: '#303030', borderWidth: 0, color: 'white' }} + autoComplete="off" />, )} @@ -140,6 +146,7 @@ class NewAccountTextField extends React.Component { type="password" placeholder="*Confirm Password" onBlur={this.handleConfirmBlur} + autoComplete="off" />, )} diff --git a/dmsite/frontend/src/Header/StandardHeader.jsx b/dmsite/frontend/src/Header/StandardHeader.jsx index 7e0df3bc..1a5488b9 100644 --- a/dmsite/frontend/src/Header/StandardHeader.jsx +++ b/dmsite/frontend/src/Header/StandardHeader.jsx @@ -106,12 +106,18 @@ class StandardHeader extends React.Component { const antIcon = ; return ( - + { isAuthenticated ? ([ - Profile + + Profile + , @@ -119,13 +125,13 @@ class StandardHeader extends React.Component { onClick={e => this.handleLogout(e)} href="/login" key="logout" - style={{ color: 'red' }} + style={{ backgroundColor: '#303030', color: '#1890ff' }} > Logout - + , @@ -161,7 +167,9 @@ class StandardHeader extends React.Component { className="mx-1" htmlType="button" /> - + - - Table Visualization - - + + + + - +