add app user management allauth
This commit is contained in:
35
templates/base.html
Normal file
35
templates/base.html
Normal file
@@ -0,0 +1,35 @@
|
||||
{% load static %}
|
||||
{% load django_htmx %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Django Template">
|
||||
<title>Project Title</title>
|
||||
<link rel="icon" type="image/x-icon" href="{% static 'favicon.ico' %}">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" defer></script>
|
||||
|
||||
<!-- HTMX -->
|
||||
<script src="https://unpkg.com/htmx.org@2.0.4" defer></script>
|
||||
{% django_htmx_script %}
|
||||
|
||||
<!-- Custom Styles -->
|
||||
<style>
|
||||
.dropdown-menu { min-width: 200px; }
|
||||
</style>
|
||||
</head>
|
||||
<body hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'>
|
||||
{% include 'includes/messages.html' %}
|
||||
|
||||
{% include 'includes/header.html' %}
|
||||
|
||||
{% block layout %}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascript %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user