From 89ba802b23bf1fd22afbc5e9a4b3b732264e3c18 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 4 Nov 2014 15:57:23 +0000 Subject: Move webclient to a python module so that it can be installed --- syweb/webclient/room/room.html | 279 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 syweb/webclient/room/room.html (limited to 'syweb/webclient/room/room.html') diff --git a/syweb/webclient/room/room.html b/syweb/webclient/room/room.html new file mode 100644 index 0000000000..ca5669a732 --- /dev/null +++ b/syweb/webclient/room/room.html @@ -0,0 +1,279 @@ +
+ + + + + +
+ [matrix] +
+ +
+
+ {{ room_id | mRoomName }} +
+
+ +
+
+ +
+ +
+
+ {{ room.current_room_state.state_events['m.room.topic'].content.topic | limitTo: 200}} +
+
+ +
+
+
+
+
+ +
+
+ +
+
+
+ +
+ + + + +
+ {{ member.displayname || member.id.substr(0, member.id.indexOf(':')) }} + +
+
+
+ {{ member.id | mUserDisplayName: room_id }} +
+
+ {{ member.id.substr(0, member.id.indexOf(':')) }}
+ {{ member.id.substr(member.id.indexOf(':')) }} +
+
+
+ {{ member.last_active_ago + (now - member.last_updated) | duration }}
ago
+
+
+ +
+ + + + + + + +
+
{{ msg.__room_member.cnt.displayname || msg.user_id | mUserDisplayName: room_id }}
+
+ {{ (msg.origin_server_ts) | date:'MMM d HH:mm' }} +
+
+ + + +
+ + {{ msg.content.displayname || members[msg.state_key].displayname || msg.state_key }} joined + + + + + {{ msg.__room_member.cnt.displayname || members[msg.state_key].displayname || msg.state_key }} left + + + {{ msg.content.displayname || members[msg.user_id].displayname || msg.user_id }} + {{ {"invite": "kicked", "join": "kicked", "ban": "unbanned"}[msg.prev_content.membership] }} + {{ msg.__target_room_member.content.displayname || msg.state_key }} + + : {{ msg.content.reason }} + + + + + {{ msg.__room_member.cnt.displayname || msg.user_id }} + {{ {"invite": "invited", "ban": "banned"}[msg.content.membership] }} + {{ msg.__target_room_member.cnt.displayname || msg.state_key }} + + : {{ msg.content.reason }} + + + + {{ msg.user_id }} changed their display name from {{ msg.prev_content.displayname }} to {{ msg.content.displayname }} + + + + + + + Outgoing Call{{ isWebRTCSupported ? '' : ' (But your browser does not support VoIP)' }} + Incoming Call{{ isWebRTCSupported ? '' : ' (But your browser does not support VoIP)' }} + +
+
+ +
+
+ +
+
+ + + {{ members[msg.user_id].displayname || msg.user_id }} changed the topic to: {{ msg.content.topic }} + + + + {{ members[msg.user_id].displayname || msg.user_id }} changed the room name to: {{ msg.content.name }} + + +
+
+ +
+
+ +
+ {{ state.permission_denied }} +
+ +
+
+ +
+
+ + + +
+ {{ state.user_id }} + +