mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2026-01-27 09:01:24 +01:00
This should allow the templates to be found and swapped out more easily. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
25 lines
682 B
HTML
25 lines
682 B
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
<form id="login_form" method="post" action=".">
|
|
{{ form.as_p }}
|
|
|
|
<input type="submit" class="btn" value="{% trans 'Log in' %}" />
|
|
<input type="hidden" name="next" value="{{ next }}" />
|
|
{% csrf_token %}
|
|
</form>
|
|
|
|
<p>{% trans "Forgot password" %}? <a href="{% url auth_password_reset %}">{% trans "Reset it" %}</a>!</p>
|
|
<p>{% trans "Not a member" %}? <a href="{% url registration_register %}">{% trans "Register" %}</a>!</p>
|
|
{% endblock %}
|
|
|
|
|
|
{% block scripts %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("#login_form input:text, #login_form textarea").first().focus();
|
|
});
|
|
</script>
|
|
{% endblock %}
|