diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /pyblackbird_cc/templates/users | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/templates/users')
-rw-r--r-- | pyblackbird_cc/templates/users/user_detail.html | 31 | ||||
-rw-r--r-- | pyblackbird_cc/templates/users/user_form.html | 21 |
2 files changed, 0 insertions, 52 deletions
diff --git a/pyblackbird_cc/templates/users/user_detail.html b/pyblackbird_cc/templates/users/user_detail.html deleted file mode 100644 index 7d52259..0000000 --- a/pyblackbird_cc/templates/users/user_detail.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "base.html" %} - -{% load static %} - -{% block title %} - User: - {{ object.name }} -{% endblock title %} -{% block content %} - <div class="container"> - <div class="row"> - <div class="col-sm-12"> - <h2>{{ object.name }}</h2> - </div> - </div> - {% if object == request.user %} - <!-- Action buttons --> - <div class="row"> - <div class="col-sm-12"> - <a class="btn btn-primary" href="{% url 'users:update' %}" role="button">My Info</a> - <a class="btn btn-primary" - href="{% url 'account_email' %}" - role="button">E-Mail</a> - <a class="btn btn-primary" href="{% url 'mfa_index' %}" role="button">MFA</a> - <!-- Your Stuff: Custom user template urls --> - </div> - </div> - <!-- End Action buttons --> - {% endif %} - </div> -{% endblock content %} diff --git a/pyblackbird_cc/templates/users/user_form.html b/pyblackbird_cc/templates/users/user_form.html deleted file mode 100644 index a53b304..0000000 --- a/pyblackbird_cc/templates/users/user_form.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "base.html" %} - -{% load crispy_forms_tags %} - -{% block title %} - {{ user.name }} -{% endblock title %} -{% block content %} - <h1>{{ user.name }}</h1> - <form class="form-horizontal" - method="post" - action="{% url 'users:update' %}"> - {% csrf_token %} - {{ form|crispy }} - <div class="control-group"> - <div class="controls"> - <button type="submit" class="btn btn-primary">Update</button> - </div> - </div> - </form> -{% endblock content %} |