Reshuffle to put "HTML" (JSX) and CSS together as a theme with logic elsewhere.

This commit is contained in:
David Baker 2015-06-23 14:40:50 +01:00
parent cc4fa6140c
commit a022a4b9a6
37 changed files with 56 additions and 54 deletions

View file

@ -0,0 +1,25 @@
var React = require('react');
var ServerConfigController = require("../../../../src/controllers/molecules/ServerConfig");
module.exports = React.createClass({
displayName: 'ServerConfig',
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>
);
}
});