2021-11-21 04:23:03 +00:00
|
|
|
<li class="status-row" id="lobby_row">
|
|
|
|
<div class="status-container">
|
|
|
|
<img src="{{ static('icons/logo.png') }}" style="height:1.3em">
|
|
|
|
</div>
|
|
|
|
<span style="padding-left:0.5em">
|
|
|
|
<b>{{_('Lobby')}}</b>
|
|
|
|
</span>
|
|
|
|
<span class="spacer">
|
|
|
|
<span class="unread-count" id="unread-count-lobby">{{unread_count_lobby if unread_count_lobby}}</span>
|
|
|
|
</span>
|
|
|
|
</li>
|
2021-07-02 06:38:48 +00:00
|
|
|
{% for section in status_sections %}
|
|
|
|
{% if section.user_list %}
|
|
|
|
<div class="status-section-title toggle open">
|
|
|
|
<h4>
|
|
|
|
<i class="fa fa-chevron-right fa-fw"></i>{{_(section.title)}}
|
|
|
|
</h4>
|
|
|
|
<hr/>
|
|
|
|
</div>
|
|
|
|
<ul class="status-list toggled">
|
|
|
|
{% for user in section.user_list %}
|
2021-11-22 02:24:55 +00:00
|
|
|
<li class="click_space status-row" id="click_space_{{user.user.id}}" value="{{user.url}}">
|
2021-07-02 06:38:48 +00:00
|
|
|
<div class="status-container">
|
|
|
|
<img src="{{ gravatar(user.user, 135) }}" class="status-pic">
|
|
|
|
<svg style="position:absolute;" height="32" width="32">
|
|
|
|
<circle class="status-circle"
|
|
|
|
fill="{{'green' if user.is_online else 'red'}}"/>
|
|
|
|
</svg>
|
|
|
|
</div>
|
|
|
|
<span style="padding-left:0.3em" class="username {{ user.user.css_class }}">
|
2021-11-22 02:24:55 +00:00
|
|
|
{{ user.user.username }}
|
2021-07-02 06:38:48 +00:00
|
|
|
</span>
|
2021-11-22 02:24:55 +00:00
|
|
|
<span class="spacer">
|
2021-11-21 04:23:03 +00:00
|
|
|
<span class="unread-count" id="unread-count-{{user.user.id}}">{{user.unread_count if user.unread_count}}</span>
|
|
|
|
</span>
|
2021-07-02 06:38:48 +00:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2021-06-19 03:26:43 +00:00
|
|
|
{% endfor %}
|