mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
25 lines
764 B
JavaScript
25 lines
764 B
JavaScript
|
var React = require('react');
|
||
|
|
||
|
var ServerConfigController = require("../../controllers/molecules/ServerConfig");
|
||
|
|
||
|
module.exports = React.createClass({
|
||
|
mixins: [ServerConfigController],
|
||
|
|
||
|
render: function() {
|
||
|
return (
|
||
|
<div className="HomeServerTextBox">
|
||
|
<table className="serverConfig">
|
||
|
<tr>
|
||
|
<td>Home Server URL</td>
|
||
|
<td><input type="text" value={this.state.hs_url} onChange={this.hsChanged} /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>Identity Server URL</td>
|
||
|
<td><input type="text" value={this.state.is_url} onChange={this.isChanged} /></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
});
|