Set bootstrap color mode to auto by default and load script early
All checks were successful
Ruff / ruff (push) Successful in 21s

This commit is contained in:
Adam Goldsmith 2024-01-30 13:34:04 -05:00
parent eec1420ee9
commit 138236a8eb

View File

@ -1,8 +1,9 @@
{% load static %} {% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en" data-bs-theme="auto">
<head> <head>
<script src="{% static 'bootstrap-color-toggle.js' %}"></script>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" <meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"> content="width=device-width, initial-scale=1, shrink-to-fit=no">
@ -17,7 +18,6 @@
</title> </title>
</head> </head>
<body> <body>
<script src="{% static 'bootstrap-color-toggle.js' %}"></script>
<nav class="navbar navbar-expand-sm bg-body-tertiary"> <nav class="navbar navbar-expand-sm bg-body-tertiary">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="{% url 'dashboard:dashboard' %}">Claremont MakerSpace</a> <a class="navbar-brand" href="{% url 'dashboard:dashboard' %}">Claremont MakerSpace</a>