This commit is contained in:
retoor 2025-03-22 20:04:20 +01:00
parent 013d4adce5
commit 6e68408ddf
2 changed files with 9 additions and 1 deletions

View File

@ -4,6 +4,11 @@
}
</style>
<aside class="sidebar" id="channelSidebar">
<h2 class="no-select">Terminals</h2>
<ul>
<li><a class="no-select" href="/terminal.html">Ubuntu</a></li>
</ul>
{% if channels %}
<h2 class="no-select">Channels</h2>
<ul>
{% for channel in channels if not channel['is_private'] %}
@ -16,6 +21,7 @@
<li id="channel-list-item-{{channel['uid']}}"><a class="no-select" href="/channel/{{channel['uid']}}.html">{{channel['name']}} <span class="message-count"></span></a></li>
{% endfor %}
</ul>
{% endif %}
</aside>
<script>
class ChannelSidebar {

View File

@ -1,7 +1,9 @@
{% extends "app.html" %}
{% block sidebar %}
Reboot
{% include "sidebar_channels.html" %}
{% endblock %}
{% block main %}