summaryrefslogtreecommitdiff
path: root/openstack-dashboard/dashboard/templates/registration/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'openstack-dashboard/dashboard/templates/registration/login.html')
-rw-r--r--openstack-dashboard/dashboard/templates/registration/login.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/openstack-dashboard/dashboard/templates/registration/login.html b/openstack-dashboard/dashboard/templates/registration/login.html
new file mode 100644
index 00000000..2e85c7ed
--- /dev/null
+++ b/openstack-dashboard/dashboard/templates/registration/login.html
@@ -0,0 +1,38 @@
+{% extends "base.html" %}
+{% load django_nova_tags %}
+
+{% block region %}{% endblock %}
+
+{% block headerjs %}
+{% endblock %}
+
+{% block sidebar %}
+{% endblock %}
+
+{% block pageclass %}login{% endblock %}
+
+{% block content %}
+<div id="page_head">
+ <h2>Sign in to the {% site_branding %} Dashboard</h2>
+</div>
+
+<div id="home_login" class="block">
+ <h3>Sign In</h3>
+
+ <form action="{% url auth_login %}" method="post">
+ {% csrf_token %}
+ <fieldset>
+ {% if form.errors %}
+ <p class="error">Your username and password didn't match. Please try again.</p>
+ {% endif %}
+ <input type="hidden" name="next" value="{{ next }}" />
+ {{ form.username.label_tag }}{{ form.username }}
+ {{ form.password.label_tag }}{{ form.password }}
+ <div class="button">
+ <input type="submit" value="Sign In">
+ <span id="forgot_password">or <a href="{% url auth_password_reset %}">Forgot Password?</a></span>
+ </div>
+ </fieldset>
+ </form>
+</div>
+{% endblock %}