mirror of https://github.com/vector-im/riot-web
Remove unneeded style from forgot password
parent
df76a312c2
commit
f4bbfc4aeb
|
@ -69,12 +69,6 @@ limitations under the License.
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Login_prompt {
|
|
||||||
padding-top: 15px;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_Login_sso_link {
|
.mx_Login_sso_link {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -188,7 +188,7 @@ module.exports = React.createClass({
|
||||||
resetPasswordJsx = <Spinner />;
|
resetPasswordJsx = <Spinner />;
|
||||||
} else if (this.state.progress === "sent_email") {
|
} else if (this.state.progress === "sent_email") {
|
||||||
resetPasswordJsx = (
|
resetPasswordJsx = (
|
||||||
<div className="mx_Login_prompt">
|
<div>
|
||||||
{ _t("An email has been sent to %(emailAddress)s. Once you've followed the link it contains, " +
|
{ _t("An email has been sent to %(emailAddress)s. Once you've followed the link it contains, " +
|
||||||
"click below.", { emailAddress: this.state.email }) }
|
"click below.", { emailAddress: this.state.email }) }
|
||||||
<br />
|
<br />
|
||||||
|
@ -198,14 +198,14 @@ module.exports = React.createClass({
|
||||||
);
|
);
|
||||||
} else if (this.state.progress === "complete") {
|
} else if (this.state.progress === "complete") {
|
||||||
resetPasswordJsx = (
|
resetPasswordJsx = (
|
||||||
<div className="mx_Login_prompt">
|
<div>
|
||||||
<p>{ _t('Your password has been reset') }.</p>
|
<p>{ _t('Your password has been reset') }.</p>
|
||||||
<p>{ _t('You have been logged out of all devices and will no longer receive push notifications. ' +
|
<p>{ _t('You have been logged out of all devices and will no longer receive push notifications. ' +
|
||||||
'To re-enable notifications, sign in again on each device') }.</p>
|
'To re-enable notifications, sign in again on each device') }.</p>
|
||||||
<input className="mx_Login_submit" type="button" onClick={this.props.onComplete}
|
<input className="mx_Login_submit" type="button" onClick={this.props.onComplete}
|
||||||
value={_t('Return to login screen')} />
|
value={_t('Return to login screen')} />
|
||||||
</div>
|
</div>
|
||||||
);
|
)
|
||||||
} else {
|
} else {
|
||||||
let serverConfigSection;
|
let serverConfigSection;
|
||||||
if (!SdkConfig.get()['disable_custom_urls']) {
|
if (!SdkConfig.get()['disable_custom_urls']) {
|
||||||
|
@ -229,9 +229,9 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
resetPasswordJsx = (
|
resetPasswordJsx = (
|
||||||
<div>
|
<div>
|
||||||
<div className="mx_Login_prompt">
|
<p>
|
||||||
{ _t('To reset your password, enter the email address linked to your account') }:
|
{ _t('To reset your password, enter the email address linked to your account') }:
|
||||||
</div>
|
</p>
|
||||||
<div>
|
<div>
|
||||||
<form onSubmit={this.onSubmitForm}>
|
<form onSubmit={this.onSubmitForm}>
|
||||||
<input className="mx_Login_field" ref="user" type="text"
|
<input className="mx_Login_field" ref="user" type="text"
|
||||||
|
|
Loading…
Reference in New Issue