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.

29 lines
793 B

16 years ago
16 years ago
16 years ago
16 years ago
16 years ago
  1. {% extends "base.htm" %}
  2. {% block content %}
  3. {% if user.is_authenticated %}
  4. <h2>Set credentials for Mumble</h2>
  5. <p>Here you can set the credentials that you want to use to login to Mumble.</p>
  6. <form action="/mumble/savereg" method="post">
  7. <input type="hidden" name="id" value="{{Mumble.id}}" />
  8. <table>
  9. <tr>
  10. <td>Server</td>
  11. <td>{{Mumble.name}}</td>
  12. </tr>
  13. <tr>
  14. <td>Username/Login</td>
  15. <td><input name="username" {% if Reg %}value="{{Reg.name}}"{% endif %} /></td>
  16. </tr>
  17. <tr>
  18. <td>Password</td>
  19. <td><input name="password" type="password" /></td>
  20. </tr>
  21. <tr>
  22. <td colspan="2"><input type="submit" /></td>
  23. </tr>
  24. </table>
  25. </form>
  26. {% else %}
  27. <p>Only registered users can use this feature.</p>
  28. {% endif %}
  29. {% endblock %}