File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,14 +86,16 @@ html {
8686
8787. mx_Dialog button {
8888 border : 0px ;
89- width : 80px ;
9089 height : 36px ;
91- line-height : 36px ;
9290 border-radius : 36px ;
9391 font-weight : 400 ;
9492 font-size : 16px ;
9593 color : # fff;
9694 background-color : # 80cef4;
95+ margin-left : 8px ;
96+ margin-right : 8px ;
97+ padding-left : 1em ;
98+ padding-right : 1em ;
9799}
98100
99101. mx_ErrorDialogTitle {
Original file line number Diff line number Diff line change @@ -43,11 +43,15 @@ module.exports = React.createClass({
4343 case this . Phases . Error :
4444 return (
4545 < div >
46- < img src = { this . state . avatarUrl } />
47- < div >
46+ < div className = "mx_Dialog_content" >
47+ < img src = { this . state . avatarUrl } />
48+ </ div >
49+ < div className = "mx_Dialog_content" >
4850 Upload new:
4951 < input type = "file" onChange = { this . onFileSelected } />
5052 { this . state . errorText }
53+ </ div >
54+ < div className = "mx_Dialog_buttons" >
5155 < button onClick = { this . props . onFinished } > Cancel</ button >
5256 </ div >
5357 </ div >
Original file line number Diff line number Diff line change @@ -51,25 +51,33 @@ module.exports = React.createClass({
5151 case this . Phases . Error :
5252 return (
5353 < div >
54- < div > { this . state . errorString } </ div >
55- < label > Old password < input type = "password" ref = "old_input" /> </ label >
56- < label > New password < input type = "password" ref = "new_input" /> </ label >
57- < label > Confirm password < input type = "password" ref = "confirm_input" /> </ label >
58- < div >
54+ < div className = "mx_Dialog_content" >
55+ < div > { this . state . errorString } </ div >
56+ < div > < label > Old password < input type = "password" ref = "old_input" /> </ label > </ div >
57+ < div > < label > New password < input type = "password" ref = "new_input" /> </ label > </ div >
58+ < div > < label > Confirm password < input type = "password" ref = "confirm_input" /> </ label > </ div >
59+ </ div >
60+ < div className = "mx_Dialog_buttons" >
5961 < button onClick = { this . onClickChange } > Change Password</ button >
6062 < button onClick = { this . props . onFinished } > Cancel</ button >
6163 </ div >
6264 </ div >
6365 ) ;
6466 case this . Phases . Uploading :
6567 return (
66- < Loader />
68+ < div className = "mx_Dialog_content" >
69+ < Loader />
70+ </ div >
6771 ) ;
6872 case this . Phases . Success :
6973 return (
7074 < div >
71- Success!
72- < button onClick = { this . props . onFinished } > Ok</ button >
75+ < div className = "mx_Dialog_content" >
76+ Success!
77+ </ div >
78+ < div className = "mx_Dialog_buttons" >
79+ < button onClick = { this . props . onFinished } > Ok</ button >
80+ </ div >
7381 </ div >
7482 )
7583 }
Original file line number Diff line number Diff line change @@ -26,10 +26,14 @@ module.exports = React.createClass({
2626
2727 render : function ( ) {
2828 return (
29- < div className = "mx_LogoutPrompt" >
30- Sign out?< br />
31- < button onClick = { this . logOut } > Sign Out</ button >
32- < button onClick = { this . cancelPrompt } > Cancel</ button >
29+ < div >
30+ < div className = "mx_Dialog_content" >
31+ Sign out?
32+ </ div >
33+ < div className = "mx_Dialog_buttons" >
34+ < button onClick = { this . logOut } > Sign Out</ button >
35+ < button onClick = { this . cancelPrompt } > Cancel</ button >
36+ </ div >
3337 </ div >
3438 ) ;
3539 } ,
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ var React = require('react');
2121var MatrixClientPeg = require ( "../../../../src/MatrixClientPeg" ) ;
2222
2323var ComponentBroker = require ( '../../../../src/ComponentBroker' ) ;
24- var Modal = require ( "../../../../src/Modal" ) ;
2524var classNames = require ( "classnames" ) ;
2625var filesize = require ( 'filesize' ) ;
2726var q = require ( 'q' ) ;
You can’t perform that action at this time.
0 commit comments