mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Fix 2 bare_base/barest_base mistakes re dark mode
* in1abc30a760the hardcoding of ="dark" (during development) was accidentally checked in; it never should have been. * ine14b3eaaa6I mixed up the bare*base templates. It's actually bare_base.html that's for 404/500 etc; barest_base is more bare visually (it's the box-based layout for login etc), but it doesn't need to be so careful not to use variables. See #40
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% load static tailwind_tags %}<!DOCTYPE html>{# copy of base.html, but without variables (and hence no menu), for use in contextless templates (e.g. 500.html) #}
|
||||
<html lang="en" data-theme="{% if user.is_authenticated %}{{ user.theme_preference }}{% else %}system{% endif %}">
|
||||
<html lang="en" data-theme="system">
|
||||
<head>
|
||||
<title>{% block title %}Bugsink{% endblock %}</title>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% load static tailwind_tags %}<!DOCTYPE html>{# copy of bare_base.html, but without even a menu bar #}
|
||||
<html lang="en" data-theme="dark">
|
||||
<html lang="en" data-theme="{% if user.is_authenticated %}{{ user.theme_preference }}{% else %}system{% endif %}">
|
||||
<head>
|
||||
<title>{% block title %}Bugsink{% endblock %}</title>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
Reference in New Issue
Block a user