aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/allauth
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/templates/allauth')
-rw-r--r--pyblackbird_cc/templates/allauth/elements/alert.html7
-rw-r--r--pyblackbird_cc/templates/allauth/elements/badge.html6
-rw-r--r--pyblackbird_cc/templates/allauth/elements/button.html20
-rw-r--r--pyblackbird_cc/templates/allauth/elements/field.html66
-rw-r--r--pyblackbird_cc/templates/allauth/elements/fields.html3
-rw-r--r--pyblackbird_cc/templates/allauth/elements/h1.html5
-rw-r--r--pyblackbird_cc/templates/allauth/elements/h2.html5
-rw-r--r--pyblackbird_cc/templates/allauth/elements/panel.html19
-rw-r--r--pyblackbird_cc/templates/allauth/elements/table.html6
-rw-r--r--pyblackbird_cc/templates/allauth/layouts/entrance.html44
-rw-r--r--pyblackbird_cc/templates/allauth/layouts/manage.html6
11 files changed, 0 insertions, 187 deletions
diff --git a/pyblackbird_cc/templates/allauth/elements/alert.html b/pyblackbird_cc/templates/allauth/elements/alert.html
deleted file mode 100644
index 535d394..0000000
--- a/pyblackbird_cc/templates/allauth/elements/alert.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% load i18n %}
-{% load allauth %}
-
-<div class="alert alert-error">
- {% slot message %}
-{% endslot %}
-</div>
diff --git a/pyblackbird_cc/templates/allauth/elements/badge.html b/pyblackbird_cc/templates/allauth/elements/badge.html
deleted file mode 100644
index e86669b..0000000
--- a/pyblackbird_cc/templates/allauth/elements/badge.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% load allauth %}
-
-<span class="badge {% if 'success' in attrs.tags %}bg-success{% endif %} {% if 'warning' in attrs.tags %}bg-warning{% endif %} {% if 'secondary' in attrs.tags %}bg-secondary{% endif %} {% if 'danger' in attrs.tags %}bg-danger{% endif %} {% if 'primary' in attrs.tags %}bg-primary{% endif %}">
- {% slot %}
-{% endslot %}
-</span>
diff --git a/pyblackbird_cc/templates/allauth/elements/button.html b/pyblackbird_cc/templates/allauth/elements/button.html
deleted file mode 100644
index b88a209..0000000
--- a/pyblackbird_cc/templates/allauth/elements/button.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% load allauth %}
-
-{% comment %} djlint:off {% endcomment %}
-<{% if attrs.href %}a href="{{ attrs.href }}"{% else %}button{% endif %}
- {% if attrs.form %}form="{{ attrs.form }}"{% endif %}
- {% if attrs.id %}id="{{ attrs.id }}"{% endif %}
- {% if attrs.name %}name="{{ attrs.name }}"{% endif %}
- {% if attrs.type %}type="{{ attrs.type }}"{% endif %}
- class="btn
-{% if 'success' in attrs.tags %}btn-success
-{% elif 'warning' in attrs.tags %}btn-warning
-{% elif 'secondary' in attrs.tags %}btn-secondary
-{% elif 'danger' in attrs.tags %}btn-danger
-{% elif 'primary' in attrs.tags %}btn-primary
-{% else %}btn-primary
-{% endif %}"
->
- {% slot %}
- {% endslot %}
- </{% if attrs.href %}a{% else %}button{% endif %}>
diff --git a/pyblackbird_cc/templates/allauth/elements/field.html b/pyblackbird_cc/templates/allauth/elements/field.html
deleted file mode 100644
index dc5f303..0000000
--- a/pyblackbird_cc/templates/allauth/elements/field.html
+++ /dev/null
@@ -1,66 +0,0 @@
-{% load allauth %}
-{% load crispy_forms_tags %}
-
-{% if attrs.type == "textarea" %}
- <div class="row mb-3">
- <div class="col-sm-10">
- <label for="{{ attrs.id }}">
- {% slot label %}
- {% endslot %}
- </label>
- </div>
- <textarea {% if attrs.required %}required{% endif %}
- {% if attrs.rows %}rows="{{ attrs.rows }}"{% endif %}
- {% if attrs.disabled %}disabled{% endif %}
- {% if attrs.readonly %}readonly{% endif %}
- {% if attrs.checked %}checked{% endif %}
- {% if attrs.name %}name="{{ attrs.name }}"{% endif %}
- {% if attrs.id %}id="{{ attrs.id }}"{% endif %}
- {% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}
- class="form-control">{% slot value %}{% endslot %}</textarea>
-</div>
-{% elif attrs.type == "radio" %}
-<div class="row mb-3">
- <div class="col-sm-10">
- <div class="form-check">
- <input {% if attrs.required %}required{% endif %}
- {% if attrs.disabled %}disabled{% endif %}
- {% if attrs.readonly %}readonly{% endif %}
- {% if attrs.checked %}checked{% endif %}
- {% if attrs.name %}name="{{ attrs.name }}"{% endif %}
- {% if attrs.id %}id="{{ attrs.id }}"{% endif %}
- {% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}
- {% if attrs.autocomplete %}autocomplete="{{ attrs.autocomplete }}"{% endif %}
- value="{{ attrs.value|default_if_none:"" }}"
- type="{{ attrs.type }}" />
- <label class="form-check-label" for="{{ attrs.id }}">
- {% slot label %}
- {% endslot %}
- </label>
- </div>
-</div>
-</div>
-{% else %}
-<div class="col-sm-10">
- <label for="{{ attrs.id }}">
- {% slot label %}
- {% endslot %}
-</label>
-</div>
-<div class="col-sm-10">
- <input {% if attrs.required %}required{% endif %}
- {% if attrs.disabled %}disabled{% endif %}
- {% if attrs.readonly %}readonly{% endif %}
- {% if attrs.checked %}checked{% endif %}
- {% if attrs.name %}name="{{ attrs.name }}"{% endif %}
- {% if attrs.id %}id="{{ attrs.id }}"{% endif %}
- {% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}
- {% if attrs.autocomplete %}autocomplete="{{ attrs.autocomplete }}"{% endif %}
- value="{{ attrs.value|default_if_none:"" }}"
- type="{{ attrs.type }}"
- class="form-control" />
-</div>
-{% endif %}
-{% if slots.help_text %}
- <div class="form-text">{% slot help_text %}{% endslot %}</div>
-{% endif %}
diff --git a/pyblackbird_cc/templates/allauth/elements/fields.html b/pyblackbird_cc/templates/allauth/elements/fields.html
deleted file mode 100644
index ae8e104..0000000
--- a/pyblackbird_cc/templates/allauth/elements/fields.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% load crispy_forms_tags %}
-
-{{ attrs.form|crispy }}
diff --git a/pyblackbird_cc/templates/allauth/elements/h1.html b/pyblackbird_cc/templates/allauth/elements/h1.html
deleted file mode 100644
index 40ebed8..0000000
--- a/pyblackbird_cc/templates/allauth/elements/h1.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% load allauth %}
-<h1>
- {% slot default %}
- {% endslot %}
-</h1>
diff --git a/pyblackbird_cc/templates/allauth/elements/h2.html b/pyblackbird_cc/templates/allauth/elements/h2.html
deleted file mode 100644
index e2b412a..0000000
--- a/pyblackbird_cc/templates/allauth/elements/h2.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% load allauth %}
-<h2>
- {% slot default %}
- {% endslot %}
-</h2>
diff --git a/pyblackbird_cc/templates/allauth/elements/panel.html b/pyblackbird_cc/templates/allauth/elements/panel.html
deleted file mode 100644
index 43a7a54..0000000
--- a/pyblackbird_cc/templates/allauth/elements/panel.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% load allauth %}
-
-<section>
- <div class="card mb-4">
- <div class="card-body">
- <h2 class="card-title">
- {% slot title %}
- {% endslot %}
- </h2>
- {% slot body %}
- {% endslot %}
- {% if slots.actions %}
- <ul>
- {% for action in slots.actions %}<li>{{ action }}</li>{% endfor %}
- </ul>
- {% endif %}
-</div>
-</div>
-</section>
diff --git a/pyblackbird_cc/templates/allauth/elements/table.html b/pyblackbird_cc/templates/allauth/elements/table.html
deleted file mode 100644
index 13cc5da..0000000
--- a/pyblackbird_cc/templates/allauth/elements/table.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% load allauth %}
-
-<table class="table">
- {% slot %}
-{% endslot %}
-</table>
diff --git a/pyblackbird_cc/templates/allauth/layouts/entrance.html b/pyblackbird_cc/templates/allauth/layouts/entrance.html
deleted file mode 100644
index fedeb31..0000000
--- a/pyblackbird_cc/templates/allauth/layouts/entrance.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{% extends "base.html" %}
-
-{% load allauth %}
-
-{% load i18n %}
-
-{% block bodyclass %}
- bg-light
-{% endblock bodyclass %}
-{% block css %}
- {{ block.super }}
-{% endblock css %}
-{% block title %}
- {% block head_title %}
- {% trans "Sign In" %}
- {% endblock head_title %}
-{% endblock title %}
-{% block body %}
- <div class="d-flex justify-content-center h-100 py-4">
- <div class="col-md-4 py-4 my-4 px-4">
- {% if messages %}
- {% for message in messages %}
- <div class="alert alert-dismissible {% if message.tags %}alert-{{ message.tags }}{% endif %}">
- {{ message }}
- <button type="button"
- class="btn-close"
- data-bs-dismiss="alert"
- aria-label="Close"></button>
- </div>
- {% endfor %}
- {% endif %}
-
- {% element h2 %}Coming soon!{% endelement %}
-
- <p>Alphabet Learning is a brand new platform selling high quality educational resources. As of October 2024, the site is currently in active development
- and will be launched soon.</p>
-
- <hr>
-
- {% block content %}
- {% endblock content %}
- </div>
- </div>
-{% endblock body %}
diff --git a/pyblackbird_cc/templates/allauth/layouts/manage.html b/pyblackbird_cc/templates/allauth/layouts/manage.html
deleted file mode 100644
index 75b4959..0000000
--- a/pyblackbird_cc/templates/allauth/layouts/manage.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends "base.html" %}
-
-{% block main %}
- {% block content %}
- {% endblock content %}
-{% endblock main %}