Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.7 KiB
72 lines
2.7 KiB
{% load mumble_extras %}
|
|
<div class="rahmen">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td class="mumble">
|
|
<img src="/static/mumble/mumble.16x16.png" alt="mumble" />
|
|
{{ ServerObject.rootName }}
|
|
</td>
|
|
</tr>
|
|
{% for item in ChannelTable %}
|
|
<tr>
|
|
<td class="mumble mm-left">
|
|
<span
|
|
class="mumble_{%if item.1.is_channel%}channel{%else%}{%if item.1.is_player%}player{%endif%}{%endif%}"
|
|
title="{{ item.1.name }} - Online since {{item.1.onlinesince|time:"H:i"}}<br /><a href="/accounts/profiles/{{item.1.mumbleuser.owner.id}}">{{item.1.mumbleuser.owner}}</a>"
|
|
>
|
|
{% spaceless %}
|
|
{% for num in item.0|mrange %}
|
|
<img src="/static/mumble/linie_v_trans.png" alt="|" />
|
|
{% endfor %}
|
|
<img src="/static/mumble/knoten_v_trans.png" alt="+-" />
|
|
{% endspaceless %}
|
|
{% if item.1.userid %}
|
|
<img src="/static/mumble/talking_off.png" alt="player" />
|
|
{{ item.1.name }}
|
|
{% else %}
|
|
{% if item.1.linked %}
|
|
<img src="/static/mumble/channel_linked.png" alt="linked channel"/>
|
|
{% else %}
|
|
<img src="/static/mumble/channel.png" alt="channel"/>
|
|
{% endif %}
|
|
<a href="mumble://{% if mumbleAccount %}{{ mumbleAccount.name }}@{% endif %}{{ DBaseObject.addr }}/{% for chan in item.2 %}{{ chan|urlencode }}/{% endfor %}{{ item.1.name|urlencode }}" class="dingen">{{ item.1.name }}</a>
|
|
{% endif %}
|
|
</span>
|
|
</td>
|
|
<td class="mumble">
|
|
{% if item.1.userid %}
|
|
{% if item.1.isAuthed %}
|
|
<img src="/static/mumble/authenticated.png" alt="authed" title="Authenticated" />
|
|
{% endif %}
|
|
{% if item.1.muted %}
|
|
<img src="/static/mumble/muted_server.png" alt="muted" title="Muted by server" />
|
|
{% endif %}
|
|
{% if item.1.deafened %}
|
|
<img src="/static/mumble/deafened_server.png" alt="deafened" title="Deafened by server" />
|
|
{% endif %}
|
|
{% if item.1.selfmuted %}
|
|
<img src="/static/mumble/muted_self.png" alt="self-muted" title="Muted by themselves" />
|
|
{% endif %}
|
|
{% if item.1.selfdeafened %}
|
|
<img src="/static/mumble/deafened_self.png" alt="self-deafened" title="Deafened by themselves" />
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<p><a href="/mumble/reg/{{DBaseObject.id}}" class="dingen">Mumble-Account verwalten</a></p>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$( "span.mumble_player" ).tooltip({
|
|
track: false,
|
|
delay: 0,
|
|
showURL: false,
|
|
opacity: 1,
|
|
fixPNG: true,
|
|
showBody: " - ",
|
|
extraClass: "pretty",
|
|
top: -15,
|
|
left: 5
|
|
});
|
|
</script>
|