diff --git a/main.css b/main.css index ab156bb..378e773 100644 --- a/main.css +++ b/main.css @@ -1,8 +1,8 @@ /* Theming taken from https://github.com/vector-im/riot-web/blob/cf5cf02529f95a094d88051c12fdb87a03d87335/src/skins/vector/css/themes/_base.scss */ -table { +.room { margin-left: 2em; } -td { +.info { align-items: center; display:flex; } diff --git a/spaces.html b/spaces.html index aeb4ca4..a5d1fac 100644 --- a/spaces.html +++ b/spaces.html @@ -11,33 +11,36 @@ <%def name="render(room)"> - - - - % if 'avatar_url' in room: - - + % if 'room_id' in room: + % if 'children' not in room: + + % endif + + % if 'name' in room: +
${room['name']}
+ % endif + +
+ % endif + % if 'children' in room: +
% for subroom in room['children']: -
+ ${render(subroom)} % endfor + % endif + - -
- % endif - % if 'room_id' in room: - - - % if 'name' in room: -
${room['name']}
+
${render(subroom)}
${render(s)}