forked from matrix/element-web
Merge pull request #4026 from vector-im/luke/new-guest-access-rejig-nagbar
Rejig the PaswordNagBar
This commit is contained in:
commit
b25e6eb2a9
|
@ -39,8 +39,9 @@ export default React.createClass({
|
|||
|
||||
render: function() {
|
||||
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
|
||||
const toolbarClasses = "mx_MatrixToolbar mx_MatrixToolbar_clickable";
|
||||
return (
|
||||
<div className="mx_MatrixToolbar">
|
||||
<div className={toolbarClasses} onClick={this.onUpdateClicked}>
|
||||
<img className="mx_MatrixToolbar_warning"
|
||||
src="img/warning.svg"
|
||||
width="24"
|
||||
|
@ -48,9 +49,9 @@ export default React.createClass({
|
|||
alt="Warning"
|
||||
/>
|
||||
<div className="mx_MatrixToolbar_content">
|
||||
To be able to return to your account, you need to set a password.
|
||||
To return to your account in future you need to <u>set a password</u>
|
||||
</div>
|
||||
<button className="mx_MatrixToolbar_action" onClick={this.onUpdateClicked}>
|
||||
<button className="mx_MatrixToolbar_action">
|
||||
Set Password
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -39,6 +39,10 @@ limitations under the License.
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mx_MatrixToolbar_clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mx_MatrixToolbar_close {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue