Hide things that aren't wired up yet

This commit is contained in:
David Baker 2015-07-23 19:18:12 -07:00
parent 02846c4fff
commit 79c2a5abd6
6 changed files with 20 additions and 9 deletions

View file

@ -155,7 +155,7 @@ module.exports = React.createClass({
<div>
<label><input type="checkbox" ref="share_history" checked={this.state.share_history} onChange={this.onShareHistoryChanged}/> Share message history with new users</label>
</div>
<div>
<div className="mx_CreateRoom_encrypt">
<label><input type="checkbox" ref="encrypt" checked={this.state.encrypt} onChange={this.onEncryptChanged}/> Encrypt room</label>
</div>
<div>

View file

@ -52,7 +52,7 @@ module.exports = React.createClass({
if (this.props.roomId) {
buttonGroup =
<div className="mx_RightPanel_headerButtonGroup">
<div className="mx_RightPanel_headerButton">
<div className="mx_RightPanel_headerButton mx_RightPanel_filebutton">
<img src="img/file.png" width="32" height="32" alt="Files"/>
</div>
<div className="mx_RightPanel_headerButton" onClick={ this.onMemberListButtonClick }>

View file

@ -30,15 +30,15 @@ module.exports = React.createClass({
render: function() {
return (
<div className="mx_RoomList">
<h2>Favourites</h2>
<h2 className="mx_RoomList_favourites_label">Favourites</h2>
<RoomDropTarget text="Drop here to favourite"/>
<h2>Recents</h2>
<h2 className="mx_RoomList_recents_label">Recents</h2>
<div className="mx_RoomList_recents">
{this.makeRoomTiles()}
</div>
<h2>Archive</h2>
<h2 className="mx_RoomList_archive_label">Archive</h2>
<RoomDropTarget text="Drop here to archive"/>
</div>
);