Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ietf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ def skip_unreadable_post(record):
'django.contrib.sites',
'django.contrib.staticfiles',
# External apps
'analytical',
'django_bootstrap5',
'corsheaders',
'django_markup',
Expand Down
5 changes: 5 additions & 0 deletions ietf/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{# Copyright The IETF Trust 2015-2022, All Rights Reserved #}
<!DOCTYPE html>
{% load analytical %}
{% load ietf_filters static %}
{% load origin %}
{% origin %}
{% load django_bootstrap5 %}
<html lang="en">
<head>
{% analytical_head_top %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>
Expand All @@ -32,9 +34,11 @@
<link rel="apple-touch-icon"
href="{% static 'ietf/images/apple-touch-icon.png' %}">
<script src="{% static 'ietf/js/ietf.js' %}"></script>
{% analytical_head_bottom %}
</head>
<body {% block bodyAttrs %}{% endblock %} class="position-relative"
data-group-menu-data-url="{% url 'ietf.group.views.group_menu_data' %}">
{% analytical_body_top %}
<a class="visually-hidden visually-hidden-focusable" href="#content">Skip to main content</a>
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != "production" %} navbar-light bg-warning {% else %} navbar-dark bg-secondary {% endif %} {% if navbar_mode %} {{ navbar_mode }} {% else %} fixed-top {% endif %}">
<div class="container-fluid">
Expand Down Expand Up @@ -157,5 +161,6 @@
window.location.href = e.params.data.url;
});
</script>
{% analytical_body_bottom %}
</body>
</html>
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ coverage>=4.0.1,!=4.0.2,<5.0 # Coverage 5.x moves from a json database to SQL
decorator>=4.0.4
defusedxml>=0.4.1 # for TastyPie when ussing xml; not a declared dependency
Django>=2.2.15,<3.0
django-analytical>=3.1.0
django-bootstrap5>=21.1
django-csp>=3.5
django-cors-headers>=2.4.0
Expand Down Expand Up @@ -73,4 +74,4 @@ Unidecode>=0.4.18,<1.2.0
weasyprint>=52.5,<53
xml2rfc>=2.35.0
xym>=0.4.4,!=0.4.7,<1.0
#zxcvbn-python>=4.4.14 # Not needed until we do back-end password entropy validation
#zxcvbn-python>=4.4.14 # Not needed until we do back-end password entropy validation