NDOJ/templates/chat/online_status.html
2021-07-02 12:03:06 -05:00

26 lines
1 KiB
HTML

{% 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 %}
<li style="padding-left: 0.1em" class="status-row">
<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 }}">
{{ link_user(user.user) }}
</span>
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}