Update to Bootstrap 5.3
This commit is contained in:
parent
9d6c13c3ab
commit
82c37a2eb2
6 changed files with 18 additions and 25 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
7
photo21/static/bootstrap5/js/bootstrap.bundle.min.js
vendored
Normal file
7
photo21/static/bootstrap5/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,6 +4,11 @@ Copyright (C) 2022 Amicale des élèves de l'ENS Paris-Saclay
|
|||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
/* Use dark scrollbar */
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* Login view */
|
||||
.login {
|
||||
max-width: 35rem;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
{% load static i18n %}
|
||||
<!DOCTYPE html>
|
||||
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
|
||||
<html lang="{{ LANGUAGE_CODE|default:"en" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
|
||||
<html lang="{{ LANGUAGE_CODE|default:"en" }}"{% if LANGUAGE_BIDI %} dir="rtl"{% endif %} data-bs-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
@ -15,7 +15,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<title>{% block title %}{{ title }}{% endblock title %} - {{ request.site.name }}</title>
|
||||
<meta name="description" content="{% trans "The ENS Paris-Saclay pictures server." %}">
|
||||
<link rel="stylesheet" href="{% static "bootstrap5/css/bootstrap.min.css" %}">
|
||||
<link rel="stylesheet" href="{% static "bootstrap5/css/bootstrap-dark-plugin.min.css" %}">
|
||||
<link rel="stylesheet" href="{% static "layout.css" %}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{% static "favicon-16x16.png" %}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{% static "favicon-32x32.png" %}">
|
||||
|
|
@ -132,7 +131,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
</footer>
|
||||
|
||||
<script src="{% static "lang-select.js" %}"></script>
|
||||
<script src="{% static "bootstrap5/js/bootstrap.min.js" %}"></script>
|
||||
<script src="{% static "bootstrap5/js/bootstrap.bundle.min.js" %}"></script>
|
||||
{% block extrajs %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue