New here? Signing up is easy. It only takes a few steps
{% csrf_token %}
I agree to all Terms & Conditions
SIGN UP
Already have an account? Login
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
document.querySelector('form').addEventListener('submit', function(e) { var checkbox = document.getElementById('agreeTerms'); if (!checkbox.checked) { e.preventDefault(); alert("You must agree to the Terms & Conditions."); } }); document.addEventListener('DOMContentLoaded', function () { var toastElements = document.querySelectorAll('.toast'); toastElements.forEach(function (toast) { var bsToast = new bootstrap.Toast(toast); bsToast.show(); }); });
document.addEventListener('DOMContentLoaded', function () { var toastElements = document.querySelectorAll('.toast'); toastElements.forEach(function (toast) { var bsToast = new bootstrap.Toast(toast); bsToast.show(); }); });
register.html
{% load static %}
Purple Admin
New here?
Signing up is easy. It only takes a few steps
{% csrf_token %}
I agree to all Terms & Conditions
SIGN UP
Already have an account? Login
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
document.querySelector('form').addEventListener('submit', function(e) {
var checkbox = document.getElementById('agreeTerms');
if (!checkbox.checked) {
e.preventDefault();
alert("You must agree to the Terms & Conditions.");
}
});
document.addEventListener('DOMContentLoaded', function () {
var toastElements = document.querySelectorAll('.toast');
toastElements.forEach(function (toast) {
var bsToast = new bootstrap.Toast(toast);
bsToast.show();
});
});
login.html
{% load static %}
Purple Admin
Hello! let's get started
Sign in to continue.
{% csrf_token %}
SIGN IN
Keep me signed in
Forgot password?
Don't have an account? Sign Up
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
document.addEventListener('DOMContentLoaded', function () {
var toastElements = document.querySelectorAll('.toast');
toastElements.forEach(function (toast) {
var bsToast = new bootstrap.Toast(toast);
bsToast.show();
});
});