2015-06-19 13:53:48 +02:00
|
|
|
var React = require('react');
|
|
|
|
|
|
|
|
var ServerConfigController = require("../../controllers/molecules/ServerConfig");
|
|
|
|
|
|
|
|
module.exports = React.createClass({
|
2015-06-19 17:21:09 +02:00
|
|
|
displayName: 'ServerConfig',
|
2015-06-19 13:53:48 +02:00
|
|
|
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>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|