mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00

This should allow the templates to be found and swapped out more easily. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
30 lines
494 B
HTML
30 lines
494 B
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
{% if validlink %}
|
|
|
|
<form id="password_form" method="post" action=".">
|
|
{{ form.as_p }}
|
|
|
|
<input type="submit" class="btn" value="{% trans 'Submit' %}" />
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
<p>{% trans "Password reset failed" %}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block scripts %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("#password_form input:text, #password_form textarea").first().focus();
|
|
});
|
|
</script>
|
|
{% endblock %}
|