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.

47 lines
1.9 KiB

16 years ago
  1. {% load mumble_extras %}
  2. <div class="rahmen">
  3. <div class="mumble">
  4. <img src="/static/mumble/mumble.16x16.png" alt="mumble" />
  5. {{ ServerObject.rootName }}
  6. </div>
  7. {% for item in ChannelTable %}
  8. <div class="mumble">
  9. {% spaceless %}
  10. {% for num in item.0|mrange %}
  11. <img src="/static/mumble/linie_v_trans.png" alt="|" />
  12. {% endfor %}
  13. <img src="/static/mumble/knoten_v_trans.png" alt="+-" />
  14. {% endspaceless %}
  15. {% if item.1.userid %}
  16. <img src="/static/mumble/talking_off.png" alt="player" title="Player" />
  17. <span title="Online since {{item.1.onlinesince|time:"H:i"}}">{{ item.1.name }}</span>
  18. {% else %}
  19. {% if item.1.linked %}
  20. <img src="/static/mumble/channel_linked.png" alt="linked channel" title="Channel with links" />
  21. {% else %}
  22. <img src="/static/mumble/channel.png" alt="channel" title="Channel" />
  23. {% endif %}
  24. <a href="mumble://{{ DBaseObject.addr }}" class="dingen">{{ item.1.name }}</a>
  25. {% endif %}
  26. <span class="dingen">
  27. {% if item.1.userid %}
  28. {% if item.1.isAuthed %}
  29. <img src="/static/mumble/authenticated.png" alt="authed" title="Authenticated" />
  30. {% endif %}
  31. {% if item.1.muted %}
  32. <img src="/static/mumble/muted_server.png" alt="muted" title="Muted by server" />
  33. {% endif %}
  34. {% if item.1.deafened %}
  35. <img src="/static/mumble/deafened_server.png" alt="deafened" title="Deafened by server" />
  36. {% endif %}
  37. {% if item.1.selfmuted %}
  38. <img src="/static/mumble/muted_self.png" alt="self-muted" title="Muted by themselves" />
  39. {% endif %}
  40. {% if item.1.selfdeafened %}
  41. <img src="/static/mumble/deafened_self.png" alt="self-deafened" title="Deafened by themselves" />
  42. {% endif %}
  43. {% endif %}
  44. </span>
  45. </div>
  46. {% endfor %}
  47. </div>