diff options
author | kimdahey <claire_kim1@brown.edu> | 2020-01-17 13:27:23 -0500 |
---|---|---|
committer | kimdahey <claire_kim1@brown.edu> | 2020-01-17 13:27:23 -0500 |
commit | b71d2cd765ea8b81fa60bc82ae962feba832baaf (patch) | |
tree | 8728789f43c72422d25b857d36ca2bc508ca45a6 /src/client/util/SettingsManager.tsx | |
parent | 7cca0643106c73e8af66bfb31ca297b392d64871 (diff) |
css updates
Diffstat (limited to 'src/client/util/SettingsManager.tsx')
-rw-r--r-- | src/client/util/SettingsManager.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/client/util/SettingsManager.tsx b/src/client/util/SettingsManager.tsx index 6f852a3e6..e1fbeb138 100644 --- a/src/client/util/SettingsManager.tsx +++ b/src/client/util/SettingsManager.tsx @@ -91,19 +91,20 @@ export default class SettingsManager extends React.Component<{}> { </div> {this.settingsContent === "password" ? <div className="settings-content"> - change password here: <input placeholder="current password" ref={this.curr_password_ref} /> <input placeholder="new password" ref={this.new_password_ref} /> <input placeholder="confirm new password" ref={this.new_confirm_ref} /> + <button onClick={this.dispatchRequest}>submit</button> + <a href="/forgotPassword">forgot password?</a> {this.errorText ? <div className="error-text">{this.errorText}</div> : undefined} {this.successText ? <div className="success-text">{this.successText}</div> : undefined} - <button onClick={this.dispatchRequest}>submit</button> <a href="/forgotPassword">forgot password?</a> + </div> : undefined} {this.settingsContent === "data" ? <div className="settings-content"> - WARNING: <br /> - THIS WILL ERASE ALL YOUR CURRENT DOCUMENTS STORED ON DASH. IF YOU WISH TO PROCEED, CLICK THE BUTTON BELOW. + <p>WARNING: <br /> + THIS WILL ERASE ALL YOUR CURRENT DOCUMENTS STORED ON DASH. IF YOU WISH TO PROCEED, CLICK THE BUTTON BELOW.</p> <button className="delete-button">DELETE</button> </div> : undefined} |