summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/templates/core/base.html55
1 files changed, 30 insertions, 25 deletions
diff --git a/core/templates/core/base.html b/core/templates/core/base.html
index 1bf6886..2a3f446 100644
--- a/core/templates/core/base.html
+++ b/core/templates/core/base.html
@@ -8,37 +8,42 @@
<link rel="stylesheet" href="{% static 'css/output.css' %}">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <script src="https://unpkg.com/htmx.org@1.9.0" integrity="sha384-aOxz9UdWG0yBiyrTwPeMibmaoq07/d3a96GCbb9x60f3mOt5zwkjdbcHFnKH8qls" crossorigin="anonymous"></script>
+ <script src="https://unpkg.com/htmx.org@1.9.0"
+ integrity="sha384-aOxz9UdWG0yBiyrTwPeMibmaoq07/d3a96GCbb9x60f3mOt5zwkjdbcHFnKH8qls"
+ crossorigin="anonymous"></script>
<title>{% block title %}{% endblock title %}</title>
{% block extra_head_tags %}{% endblock extra_head_tags %}
</head>
<body>
{% block navbar %}
-<nav class="bg-blue-600 p-4">
- <div class="container mx-auto flex items-center justify-between">
- <div class="flex items-center space-x-4">
- <a href="#" class="text-white text-xl font-semibold">Home</a>
- <a href="{% url 'engagements:home' %}" class="text-white hover:text-blue-200">Engagement Plans</a>
- <a href="{% url 'engagements:regulatedentities' %}" class="text-white hover:text-blue-200">Regulated Entities</a>
- <a href="#" class="text-white hover:text-blue-200">Reporting</a>
- <a href="#" class="text-white hover:text-blue-200">Dashboards</a>
- </div>
- <div class="flex items-center space-x-4">
- {% if request.user.is_authenticated %}
- <span class="text-white">{{ user }}</span>
- <a href="{% url 'logout' %}" class="text-white hover:text-blue-200">Log Out</a>
- {% else %}
- <a href="{% url 'login' %}" class="text-white hover:text-blue-200">Log In</a>
- {% endif %}
- <a href="#" class="text-white hover:text-blue-200">Help</a>
- </div>
- </div>
-</nav>
+ <nav class="bg-blue-600 p-4">
+ <div class="container mx-auto flex items-center justify-between">
+ <div class="flex items-center space-x-4">
+ <a href="#" class="text-white text-xl font-semibold">Home</a>
+ <a href="{% url 'engagements:home' %}" class="text-white hover:text-blue-200">Engagement Plans</a>
+ <a href="{% url 'engagements:regulatedentities' %}" class="text-white hover:text-blue-200">Regulated
+ Entities</a>
+ <a href="#" class="text-white hover:text-blue-200">Reporting</a>
+ <a href="#" class="text-white hover:text-blue-200">Dashboards</a>
+ </div>
+ <div class="flex items-center space-x-4">
+ {% if request.user.is_authenticated %}
+ <span class="text-white">{{ user }}</span>
+ <a href="{% url 'logout' %}" class="text-white hover:text-blue-200">Log Out</a>
+ {% else %}
+ <a href="{% url 'login' %}" class="text-white hover:text-blue-200">Log In</a>
+ {% endif %}
+ <a href="#" class="text-white hover:text-blue-200">Help</a>
+ </div>
+ </div>
+ </nav>
{% endblock navbar %}
- <div class="container mx-auto">
- {% block content %}
- {% endblock content %}
- </div>
+<div class="container mx-auto">
+ {% block content %}
+ {% block messages %}
+ {% endblock messages %}
+ {% endblock content %}
+</div>
</body>
</html>