forked from matrix/element-web
apply jsx
This commit is contained in:
parent
f628591e27
commit
801154fd8a
|
@ -30,12 +30,15 @@ module.exports = React.createClass({
|
||||||
var ErrorDialog = sdk.getComponent('organisms.ErrorDialog');
|
var ErrorDialog = sdk.getComponent('organisms.ErrorDialog');
|
||||||
Modal.createDialog(ErrorDialog, {
|
Modal.createDialog(ErrorDialog, {
|
||||||
title: 'Custom Server Options',
|
title: 'Custom Server Options',
|
||||||
description: "You can use the custom server options to log into other Matrix servers by specifying a different Home server URL. " +
|
description: <span>
|
||||||
"This allows you to use Vector with an existing Matrix account on a different Home server. " +
|
You can use the custom server options to log into other Matrix servers by specifying a different Home server URL.<br/>
|
||||||
"You can also set a custom Identity server but this will affect people's ability to find you " +
|
This allows you to use Vector with an existing Matrix account on a different Home server.<br/>
|
||||||
"if you use a server in a group other than the main Matrix.org group.",
|
<br/>
|
||||||
|
You can also set a custom Identity server but this will affect people's ability to find you
|
||||||
|
if you use a server in a group other than the main Matrix.org group.
|
||||||
|
</span>,
|
||||||
button: "Dismiss",
|
button: "Dismiss",
|
||||||
focus: true
|
focus: true,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -43,9 +46,9 @@ module.exports = React.createClass({
|
||||||
return (
|
return (
|
||||||
<div className="mx_ServerConfig">
|
<div className="mx_ServerConfig">
|
||||||
<label className="mx_Login_label mx_ServerConfig_hslabel" htmlFor="hsurl">Home server URL</label>
|
<label className="mx_Login_label mx_ServerConfig_hslabel" htmlFor="hsurl">Home server URL</label>
|
||||||
<input className="mx_Login_field" id="hsurl" type="text" value={this.state.hs_url} onChange={this.hsChanged} />
|
<input className="mx_Login_field" id="hsurl" type="text" placeholder={this.state.original_hs_url} value={this.state.hs_url} onChange={this.hsChanged} />
|
||||||
<label className="mx_Login_label mx_ServerConfig_islabel" htmlFor="isurl">Identity server URL</label>
|
<label className="mx_Login_label mx_ServerConfig_islabel" htmlFor="isurl">Identity server URL</label>
|
||||||
<input className="mx_Login_field" type="text" value={this.state.is_url} onChange={this.isChanged} />
|
<input className="mx_Login_field" id="isurl" type="text" placeholder={this.state.original_is_url} value={this.state.is_url} onChange={this.isChanged} />
|
||||||
<a className="mx_ServerConfig_help" href="#" onClick={this.showHelpPopup}>What does this mean?</a>
|
<a className="mx_ServerConfig_help" href="#" onClick={this.showHelpPopup}>What does this mean?</a>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue