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.

54 lines
2.3 KiB

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