diff --git a/skins/base/css/organisms/RoomDirectory.css b/skins/base/css/organisms/RoomDirectory.css
index 1be87c1f..c8dcd077 100644
--- a/skins/base/css/organisms/RoomDirectory.css
+++ b/skins/base/css/organisms/RoomDirectory.css
@@ -18,6 +18,7 @@ limitations under the License.
width: 720px;
margin-left: auto;
margin-right: auto;
+ color: #4a4a4a;
}
.mx_RoomDirectory_input {
@@ -31,8 +32,33 @@ limitations under the License.
margin-bottom: 12px;
}
+.mx_RoomDirectory_tableWrapper {
+ overflow-y: scroll;
+ height: 400px;
+}
+
.mx_RoomDirectory_table {
width: 100%;
+ text-align: left;
+}
+
+.mx_RoomDirectory_table th {
+ font-weight: 400;
+ font-size: 12px;
+}
+
+.mx_RoomDirectory_table td {
+ font-weight: 300;
+ font-size: 16px;
+}
+
+.mx_RoomDirectory_table .mx_RoomDirectory_name {
+ font-weight: 400;
+}
+
+.mx_RoomDirectory_table .mx_RoomDirectory_topic {
+ font-weight: 400;
+ font-size: 12px;
}
.mx_RoomDirectory_table td,
diff --git a/skins/base/views/organisms/CreateRoom.js b/skins/base/views/organisms/CreateRoom.js
index 21769621..f44e745c 100644
--- a/skins/base/views/organisms/CreateRoom.js
+++ b/skins/base/views/organisms/CreateRoom.js
@@ -28,6 +28,7 @@ var CreateRoomButton = ComponentBroker.get("atoms/create_room/CreateRoomButton")
var RoomAlias = ComponentBroker.get("atoms/create_room/RoomAlias");
var Presets = ComponentBroker.get("atoms/create_room/Presets");
var UserSelector = ComponentBroker.get("molecules/UserSelector");
+var RoomHeader = ComponentBroker.get("molecules/RoomHeader");
var Loader = require("react-loader");
@@ -141,16 +142,27 @@ module.exports = React.createClass({
}
return (
);
}
diff --git a/skins/base/views/organisms/RoomDirectory.js b/skins/base/views/organisms/RoomDirectory.js
index eb5ea3de..ebbcc31d 100644
--- a/skins/base/views/organisms/RoomDirectory.js
+++ b/skins/base/views/organisms/RoomDirectory.js
@@ -76,26 +76,26 @@ module.exports = React.createClass({
var rooms = this.state.publicRooms.filter(function(a) {
// FIXME: if incrementally typing, keep narrowing down the search set
- return (a.aliases[0].search(filter) >= 0);
+ return (a.aliases[0].search(filter) >= 0 && a.num_joined_members > 0);
}).sort(function(a,b) {
- return a.num_joined_members > b.num_joined_members;
+ return a.num_joined_members - b.num_joined_members;
});
var rows = [];
var self = this;
for (var i = 0; i < rooms.length; i++) {
var name = rooms[i].name;
- if (!name) {
- if (rooms[i].aliases[0]) name = rooms[i].aliases[0]
- }
- else {
- if (rooms[i].aliases[0]) name += " (" + rooms[i].aliases[0] + ")";
- }
+ //
rows.unshift(
-
- { name } |
- { rooms[i].topic } |
- { rooms[i].num_joined_members } |
-
+
+
+ { name } |
+ { rooms[i].aliases[0] } |
+ { rooms[i].num_joined_members } |
+
+
+ { rooms[i].topic } |
+
+
);
}
return rows;
@@ -118,10 +118,12 @@ module.exports = React.createClass({
-
- Room | Topic | Users |
- { this.getRows(this.state.roomAlias) }
-
+
+
+ Room | Alias | Members |
+ { this.getRows(this.state.roomAlias) }
+
+
);
diff --git a/skins/base/views/templates/Login.js b/skins/base/views/templates/Login.js
index 08cd060b..f882397b 100644
--- a/skins/base/views/templates/Login.js
+++ b/skins/base/views/templates/Login.js
@@ -164,7 +164,7 @@ module.exports = React.createClass({
-
+
{this.loginContent()}
diff --git a/skins/base/views/templates/Register.js b/skins/base/views/templates/Register.js
index 784db4cf..8dbae47d 100644
--- a/skins/base/views/templates/Register.js
+++ b/skins/base/views/templates/Register.js
@@ -182,7 +182,7 @@ module.exports = React.createClass({
-
+
{this.registerContent()}