+ |
+ Subspace: Opensource_gaming |
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+
+ |
+
+ |
+
+
+
+ Welcome/Rules
+
+ |
+
+
+ |
+
+
+
+ General
+
+ |
+
+
+ |
+
+
+
+ #osg-irc
+
+ |
+
+
+ |
+
+
+
+ Offtopic
+
+ |
+
+
+ |
+
+
+
+ Matchmaking
+
+ |
+
+
+ |
+
+
+
+ twitch-chat
+
+ |
+
+
+ |
+
+
+
+ News
+
+ |
+
-
-
- Welcome/Rules |
+
-
- |
-
+ Free, Libre, and Open Source Gaming
+
+
+
-
-
- General |
+
-
- |
-
+ #general@irc.freegamedev.net
+
+
+
-
-
-
- #osg-irc |
-
-
-
-
-
-
-
-
- Offtopic |
-
-
-
-
-
-
-
-
- Matchmaking |
-
-
-
-
-
-
-
-
- twitch-chat |
-
-
-
-
-
-
-
-
- News |
-
-
-
-
-
-
-
-
- Free, Libre, and Open Source Gaming |
-
-
-
-
-
-
-
-
- #general@irc.freegamedev.net |
-
-
-
-
-
- Subspace: wtactics |
-
-
+ |
+ Subspace: wtactics |
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+
+ |
+ |
-
-
- MeetAndMatch |
+
-
- |
-
+ MeetAndMatch
+
+
+
- Subspace: Open-Source-RTS-Xmas-party-Invite |
-
-
+ |
+ Subspace: Open-Source-RTS-Xmas-party-Invite |
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+
+ |
+
+ |
+
+
+
+ Welcome and when to we meet :)
+
+ |
+
-
-
- Welcome and when to we meet :) |
+
-
- |
-
+ Off-topic
+
+
+
-
-
-
- Off-topic |
-
-
-
-
-
- Subspace: Historical |
-
-
+ |
+ Subspace: Historical |
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+
+ |
-
-
- #libregamenight |
+
-
- |
-
+ #libregamenight
+
+
+
-
-
- Libre Game Night |
+
-
- |
-
+ Libre Game Night
+
+
+
-
-
- #libreplanet-gaming |
+
-
- |
-
+ #libreplanet-gaming
+
+
+
-
-
- #freegamer |
+
-
- |
-
+ #freegamer
+
+
+
-
-
- #corsix-th |
+
-
- |
-
+ #corsix-th
+
+
+
-
-
- #unknown-horizons |
+
-
- |
-
+ #unknown-horizons
+
+
+
-
-
- #ryzom@irc.freegamedev.net |
+
-
- |
-
+ #ryzom@irc.freegamedev.net
+
+
+
-
-
- #libregamewiki |
+
-
- |
-
+ #libregamewiki
+
+
+
+ |
-
-
- SuperTuxKart (STK) |
+
-
- |
-
+ SuperTuxKart (STK)
+
+
+
+ |
-
-
- 0 AD Central |
+
-
- |
-
+ 0 AD Central
+
+
+
- Subspace: Tools |
-
-
+ |
+ Subspace: Tools |
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+ |
-
- |
-
+
+
+
-
-
+
+ |
+
+ |
+
+
+
+ Highscore
+
+ |
+
+
+ |
+
+
+
+ Arcadia / Athenaeum / LibreSteam
+
+ |
+
-
-
- Highscore |
+
-
- |
-
+ #libregamewiki
+
+
+
-
-
-
- Arcadia / Athenaeum / LibreSteam |
-
-
-
-
-
-
-
-
- #libregamewiki |
-
-
-
-
-
- Subspace: Organisation |
-
-
diff --git a/main.css b/main.css
index ba74b15..8eb1873 100644
--- a/main.css
+++ b/main.css
@@ -1,4 +1,11 @@
/* Theming taken from https://github.com/vector-im/riot-web/blob/cf5cf02529f95a094d88051c12fdb87a03d87335/src/skins/vector/css/themes/_base.scss */
+tbody {
+ margin-left: 2em;
+}
+tr {
+ margin-left: 2em;
+}
+
body {
color: #454545;
background-color: #ffffff;
@@ -81,6 +88,9 @@ table#timeline {
table#timeline tr {
vertical-align: top;
}
+tr {
+ margin-left: 2em;
+}
td.rightAlign {
text-align: right;
min-width: 120px;
diff --git a/script.py b/script.py
index e24996f..55d8c1e 100755
--- a/script.py
+++ b/script.py
@@ -4,6 +4,11 @@
from mako.template import Template
import json
+def mxc2url(mxc):
+ serverName = mxc.split('/')[2]
+ mediaId = mxc.split('/')[3]
+ return "https://matrix.org/_matrix/media/v3/download/" + serverName + "/" + mediaId
+
def render(spaces, template):
appTemplate = Template(filename=template)
print(appTemplate.render(s=spaces))
diff --git a/spaces.html b/spaces.html
index 7ededde..118b0b3 100644
--- a/spaces.html
+++ b/spaces.html
@@ -1,3 +1,9 @@
+<%!
+ def mxc2url(mxc):
+ serverName = mxc.split('/')[2]
+ mediaId = mxc.split('/')[3]
+ return "https://matrix.org/_matrix/media/v3/download/" + serverName + "/" + mediaId
+%>
@@ -5,29 +11,33 @@
<%def name="render(space)">
-
+
% for room in space:
+ % if 'avatar_url' in room:
+ |
+ % endif
% if 'room_type' in room and room['room_type'] == "m.space":
- Subspace: ${room['name']} |
- ${render(room['children_state'])}
+ | Subspace: ${room['name']} |
+
+ ${render(room['children_state'])} |
% else:
% if 'room_id' in room:
-
-
+ |
+
% if 'name' in room:
- ${room['name']} |
+ ${room['name']}
% endif
-
-
+
% endif
+
% endif
-
% endfor
+
%def>
${render(s)}
| | | | |