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.

36 lines
913 B

  1. {% extends "index.html" %}
  2. {% load i18n %}
  3. {% block Headline %}Login{% endblock %}
  4. {% block HeadTag %}
  5. <script type="text/javascript">
  6. Ext.onReady( function(){
  7. Ext.fly("id_username").focus();
  8. } );
  9. </script>
  10. {% endblock %}
  11. {% block Content %}
  12. <h2>Login</h2>
  13. {% if form.errors %}
  14. <p>Username or password don't exist or are not correct. Please try again.</p>
  15. {% endif %}
  16. <form method="post" action=".">
  17. <table>
  18. <tr><td>{{ form.username.label_tag }}</td><td>{{ form.username }}</td></tr>
  19. <tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr>
  20. </table>
  21. <input type="submit" value="login" />
  22. <input type="hidden" name="next" value="{{ next }}" />
  23. </form>
  24. <ul>
  25. <li>No Login? You can <a href="{% url registration.views.register %}">sign up!</a></li>
  26. <li>Forgot the password? You can <a href="{% url django.contrib.auth.views.password_reset %}">reset it!</a></li>
  27. </ul>
  28. {% endblock %}