diff options
Diffstat (limited to 'tools/pharos-dashboard/templates/registration')
-rw-r--r-- | tools/pharos-dashboard/templates/registration/login.html | 51 | ||||
-rw-r--r-- | tools/pharos-dashboard/templates/registration/registration_form.html | 30 |
2 files changed, 0 insertions, 81 deletions
diff --git a/tools/pharos-dashboard/templates/registration/login.html b/tools/pharos-dashboard/templates/registration/login.html deleted file mode 100644 index 45b9d451..00000000 --- a/tools/pharos-dashboard/templates/registration/login.html +++ /dev/null @@ -1,51 +0,0 @@ -{% extends "layout.html" %} -{% load bootstrap3 %} - -{% block basecontent %} - <div class="container"> - <div class="row"> - <div class="col-md-4 col-md-offset-4"> - {% if next %} - <div class="alert alert-dismissable alert-info"> - <button type="button" class="close" data-dismiss="alert" aria-label="Close"> - <span aria-hidden="true">×</span> - </button> - {% if user.is_authenticated %} - Your account doesn't have access to this page. To proceed, - please login with an account that has access. - {% else %} - Please login to see this page. - {% endif %} - </div> - {% endif %} - </div> - </div> - <div class="row"> - <div class="col-md-4 col-md-offset-4"> - <div class="login-panel panel panel-default"> - <div class="panel-heading"> - <h3 class="panel-title"> - Login - </h3> - </div> - <div class="panel-body"> - <form method="post"> - {% csrf_token %} - {% bootstrap_form form %} - {% buttons %} - <button type="submit" class="btn btn btn-success"> - Login - </button> - <a href="{% url 'account:registration' %}" class="btn btn-info" - role="button">Register</a> - {% endbuttons %} - </form> - </div> - </div> - </div> - </div> - </div> - - {# Assumes you setup the password_reset view in your URLconf #} - {# <p><a href="{% url 'password_reset' %}">Lost password?</a></p>#} -{% endblock basecontent %} diff --git a/tools/pharos-dashboard/templates/registration/registration_form.html b/tools/pharos-dashboard/templates/registration/registration_form.html deleted file mode 100644 index 0a921d51..00000000 --- a/tools/pharos-dashboard/templates/registration/registration_form.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "layout.html" %} -{% load bootstrap3 %} - -{% block basecontent %} - <div class="container"> - <div class="row"> - <div class="col-md-4 col-md-offset-4"> - {% bootstrap_messages %} - <div class="login-panel panel panel-default"> - <div class="panel-heading"> - <h3 class="panel-title"> - {{ title }} - </h3> - </div> - <div class="panel-body"> - <form method="post" action=""> - {% csrf_token %} - {% bootstrap_form form %} - {% buttons %} - <button type="submit" class="btn btn btn-success"> - Submit - </button> - {% endbuttons %} - </form> - </div> - </div> - </div> - </div> - </div> -{% endblock basecontent %} |