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

Use a more modern version of Bootstrap and take the opportunity to upgrade jQuery to the latest version at the same time. This provides better browser compatibility, moves to MIT license, allows us to make the site more responsive for different devices in future, and provides theming capabilities for custom installs among other improvements. (I chose to upgrade to v3 for now rather than straight to v4 as it was easier to do this gradually.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
21 lines
434 B
HTML
21 lines
434 B
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
<form id="password_form" method="post" action=".">
|
|
{{ form.as_p }}
|
|
|
|
<input type="submit" class="btn btn-default" value="{% trans 'Submit' %}" />
|
|
{% csrf_token %}
|
|
</form>
|
|
{% endblock %}
|
|
|
|
|
|
{% block scripts %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("#password_form input:text, #password_form textarea").first().focus();
|
|
});
|
|
</script>
|
|
{% endblock %}
|