@@ -25,7 +25,7 @@
{% for cell in option.label %}
-
+
{% with cell_template=widget.column_templates|index:forloop.counter0 %}
{% if cell_template %}
{% include cell_template with value=cell organization_code=widget.attrs.organization_code mandatory_fields=widget.attrs.mandatory_fields %}
diff --git a/rocky/rocky/templates/forms/widgets/widget_label.html b/rocky/rocky/templates/forms/widgets/widget_label.html
index 8b0e8618cc0..a1899406ffd 100644
--- a/rocky/rocky/templates/forms/widgets/widget_label.html
+++ b/rocky/rocky/templates/forms/widgets/widget_label.html
@@ -1 +1 @@
-{{ widget.label }}
+{{ widget.label }}
diff --git a/rocky/rocky/templates/graph-d3.html b/rocky/rocky/templates/graph-d3.html
index 4b08caa3ccd..51dbbd3d3eb 100644
--- a/rocky/rocky/templates/graph-d3.html
+++ b/rocky/rocky/templates/graph-d3.html
@@ -35,10 +35,8 @@
{{ block.super }}
{{ ooi_types|json_script:"ooi-types" }}
{{ tree|json_script:"tree-data" }}
-
-
+
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/head.html b/rocky/rocky/templates/head.html
index 8cddc6cdcc0..e05240b23f4 100644
--- a/rocky/rocky/templates/head.html
+++ b/rocky/rocky/templates/head.html
@@ -5,7 +5,7 @@
-
+
diff --git a/rocky/rocky/templates/header.html b/rocky/rocky/templates/header.html
index a08999470f2..e7e91de14ff 100644
--- a/rocky/rocky/templates/header.html
+++ b/rocky/rocky/templates/header.html
@@ -14,7 +14,7 @@
class="logo"
title="OpenKAT"
aria-label="{% translate "OpenKAT logo, go to the homepage of OpenKAT" %}">
-
+
Kwetsbaarheden Analyse Tool
{% if request.user.is_authenticated %}
diff --git a/rocky/rocky/templates/landing_page.html b/rocky/rocky/templates/landing_page.html
index 64299820bf7..17f867ceeaa 100644
--- a/rocky/rocky/templates/landing_page.html
+++ b/rocky/rocky/templates/landing_page.html
@@ -13,7 +13,9 @@
{% translate "Welcome to OpenKAT" %}
{% translate "Kwetsbaarheden Analyse Tool" %}
-
OpenKAT is a vulnerability analysis tool. An Open Source-project developed by the Ministry of Health, Welfare and Sport to make your and our world safer.
+
+ OpenKAT is a vulnerability analysis tool. An Open Source-project developed by the Ministry of Health, Welfare and Sport to make your and our world safer.
+
@@ -22,46 +24,55 @@ {% translate "Kwetsbaarheden Analyse Tool" %}
{% translate "What is OpenKAT?" %}
{% blocktranslate trimmed %}
- OpenKAT is a vulnerability analysis tool.
- An Open Source-project developed by the Ministry of Health,
- Welfare and Sport to make your and our world safer.
- {% endblocktranslate %}
+ OpenKAT is a vulnerability analysis tool.
+ An Open Source-project developed by the Ministry of Health,
+ Welfare and Sport to make your and our world safer.
+ {% endblocktranslate %}
-
Eye icon {% translate "OpenKAT sees" %}
+
+ Eye icon {% translate "OpenKAT sees" %}
+
{% blocktranslate trimmed %}
- Dozens of tools are integrated in OpenKAT to view the world (digital and analog).
- Our motto is therefore: I see, I see, what you do not see.
- {% endblocktranslate %}
+ Dozens of tools are integrated in OpenKAT to view the world (digital and analog).
+
+ Our motto is therefore: I see, I see, what you do not see.
+ {% endblocktranslate %}
-
Lightbulb icon {% translate "OpenKAT knows" %}
+
+ Lightbulb icon {% translate "OpenKAT knows" %}
+
{% blocktranslate trimmed %}
- OpenKAT does not forget (just like that), and can be queried without scanning again.
- Also about a historical situation.
- {% endblocktranslate %}
+ OpenKAT does not forget (just like that), and can be queried without scanning again.
+ Also about a historical situation.
+ {% endblocktranslate %}
-
Lock icon {% translate "OpenKAT is secure" %}
+
+ Lock icon {% translate "OpenKAT is secure" %}
+
{% blocktranslate trimmed %}
- Forensically secured storage of evidence is one of the basic ingredients of OpenKAT.
- {% endblocktranslate %}
+ Forensically secured storage of evidence is one of the basic ingredients of OpenKAT.
+ {% endblocktranslate %}
-
Heart icon {% translate "OpenKAT is sweet" %}
+
+ Heart icon {% translate "OpenKAT is sweet" %}
+
{% blocktranslate trimmed %}
- OpenKAT thinks about privacy, and stores what is necessary,
- within the rules of your organization and the law.
- {% endblocktranslate %}
+ OpenKAT thinks about privacy, and stores what is necessary,
+ within the rules of your organization and the law.
+ {% endblocktranslate %}
@@ -71,11 +82,11 @@ Heart icon {% translate "OpenKAT is sweet
{% translate "A wide playing field" %}
{% blocktranslate trimmed %}
- OpenKAT makes a copy of the actual reality by means of the integrated tools.
- Within this copy you can search for answers to countless security and policy questions.
- Expected and unexpected changes in the world are made visible,
- and where necessary reported or made known directly to the right people.
- {% endblocktranslate %}
+ OpenKAT makes a copy of the actual reality by means of the integrated tools.
+ Within this copy you can search for answers to countless security and policy questions.
+ Expected and unexpected changes in the world are made visible,
+ and where necessary reported or made known directly to the right people.
+ {% endblocktranslate %}
diff --git a/rocky/rocky/templates/legal/privacy_statement.html b/rocky/rocky/templates/legal/privacy_statement.html
index a6919ace5d8..5466d8ef515 100644
--- a/rocky/rocky/templates/legal/privacy_statement.html
+++ b/rocky/rocky/templates/legal/privacy_statement.html
@@ -11,10 +11,12 @@
{% blocktranslate %}OpenKAT Privacy Statement{% endblocktranslate %}
- {% blocktranslate trimmed %}OpenKAT is dedicated to protecting the confidentiality and privacy of information entrusted to it.
- As part of this fundamental obligation, OpenKAT is committed to the appropriate protection and use of
- personal information (sometimes referred to as "personal data",
- "personally identifiable information" or "PII") that has been collected online.{% endblocktranslate %}
+ {% blocktranslate trimmed %}
+ OpenKAT is dedicated to protecting the confidentiality and privacy of information entrusted to it.
+ As part of this fundamental obligation, OpenKAT is committed to the appropriate protection and use of
+ personal information (sometimes referred to as "personal data",
+ "personally identifiable information" or "PII") that has been collected online.
+ {% endblocktranslate %}
diff --git a/rocky/rocky/templates/oois/ooi_add.html b/rocky/rocky/templates/oois/ooi_add.html
index 99724679e97..6b7e0fd4ef0 100644
--- a/rocky/rocky/templates/oois/ooi_add.html
+++ b/rocky/rocky/templates/oois/ooi_add.html
@@ -15,9 +15,7 @@ {% blocktranslate %}Add a {{ display_type }}{% endblocktranslate %}
{% csrf_token %}
{% if form.non_field_errors %}{{ form.non_field_errors }}
{% endif %}
-
- {% translate type %}
-
+ {% translate type %}
Type
diff --git a/rocky/rocky/templates/oois/ooi_detail.html b/rocky/rocky/templates/oois/ooi_detail.html
index cb8edfe005d..17e41293d97 100644
--- a/rocky/rocky/templates/oois/ooi_detail.html
+++ b/rocky/rocky/templates/oois/ooi_detail.html
@@ -15,15 +15,16 @@
{% endif %}
{% include "partials/ooi_head.html" with ooi=ooi view="ooi_detail" %}
-
+
{% include "oois/ooi_detail_object.html" with ooi=ooi object_details=object_details %}
+
{% if is_question %}
- {% include "forms/json_schema_form.html" with json_schema=ooi.json_schema %}
+ {% include "forms/json_schema_form.html" with json_schema=ooi.json_schema %}
+
{% endif %}
-
{% include "oois/ooi_detail_origins_declarations.html" %}
{% include "oois/ooi_detail_origins_observations.html" %}
@@ -96,21 +97,20 @@
{% translate "Scan" %} {{ ooi.human_readable }} {% translate "using boefjes"
{% else %}
{% if not enabled_boefjes_available %}
-
+
{% translate "There are no boefjes enabled to scan an OOI of type" %} "{{ ooi.get_ooi_type }}". {% translate "See" %} KAT-alogus {% translate "to find and enable boefjes that can scan within the current level." %}
{% else %}
{% translate "There are no boefjes available within the current clearance level of" %} "{{ ooi.human_readable }}". {% translate "See" %} KAT-alogus {% translate "to find and enable boefjes that can scan within the current level." %}
-
- {% translate "Or if you have the authorization, upgrade the clearance level of" %} "{{ ooi.human_readable }}".
-
+
{% translate "Or if you have the authorization, upgrade the clearance level of" %} "{{ ooi.human_readable }}".
{% endif %}
{% endif %}
{% if ooi.scan_profile.scan_profile_type == 'inherited' %}
{% include "partials/explanations.html" %}
+
{% endif %}
@@ -119,7 +119,7 @@ {% translate "Scan" %} {{ ooi.human_readable }} {% translate "using boefjes"
{% block html_at_end_body %}
{{ block.super }}
-{% if is_question %}
-
-{% endif %}
+ {% if is_question %}
+
+ {% endif %}
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/oois/ooi_detail_add_related_object.html b/rocky/rocky/templates/oois/ooi_detail_add_related_object.html
index f70541f22c6..3309e12c53f 100644
--- a/rocky/rocky/templates/oois/ooi_detail_add_related_object.html
+++ b/rocky/rocky/templates/oois/ooi_detail_add_related_object.html
@@ -13,25 +13,17 @@
{% translate "Add related object" %}
diff --git a/rocky/rocky/templates/oois/ooi_detail_object.html b/rocky/rocky/templates/oois/ooi_detail_object.html
index 1abb1a74e92..844dcd818f4 100644
--- a/rocky/rocky/templates/oois/ooi_detail_object.html
+++ b/rocky/rocky/templates/oois/ooi_detail_object.html
@@ -5,9 +5,7 @@ {% translate "Object details" %}
{% for key, value in object_details.items %}
-
- {{ key }}
-
+
{{ key }}
{{ value }}
diff --git a/rocky/rocky/templates/oois/ooi_detail_origins_inference.html b/rocky/rocky/templates/oois/ooi_detail_origins_inference.html
index 075c9548545..b3ab039ceb9 100644
--- a/rocky/rocky/templates/oois/ooi_detail_origins_inference.html
+++ b/rocky/rocky/templates/oois/ooi_detail_origins_inference.html
@@ -20,7 +20,12 @@
{% translate "Inferred by" %}
{{ inference.origin.source }}
-
{% for param in inference.params %}{{ param.reference }} {% endfor %}
+
+ {% for param in inference.params %}
+ {{ param.reference }}
+
+ {% endfor %}
+
{% endfor %}
diff --git a/rocky/rocky/templates/oois/ooi_edit.html b/rocky/rocky/templates/oois/ooi_edit.html
index 1f4ff8b6591..145541689ae 100644
--- a/rocky/rocky/templates/oois/ooi_edit.html
+++ b/rocky/rocky/templates/oois/ooi_edit.html
@@ -15,15 +15,14 @@
{% blocktranslate %}Edit {{ type }}: {{ ooi_human_readable }}{% endblocktran
{% csrf_token %}
{% if form.non_field_errors %} {{ form.non_field_errors }}
{% endif %}
-
- {% translate type %}
-
+ {% translate type %}
Type
{% for field in form %}
{% include "partials/form/field_input_wrapper.html" %}
+
{% endfor %}
{% blocktranslate %}Save {{ display_type }}{% endblocktranslate %}
diff --git a/rocky/rocky/templates/oois/ooi_findings.html b/rocky/rocky/templates/oois/ooi_findings.html
index 72d942c1969..e047f7cdd90 100644
--- a/rocky/rocky/templates/oois/ooi_findings.html
+++ b/rocky/rocky/templates/oois/ooi_findings.html
@@ -26,6 +26,5 @@
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
-
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/oois/ooi_list.html b/rocky/rocky/templates/oois/ooi_list.html
index 97739e29b65..bdeafcec550 100644
--- a/rocky/rocky/templates/oois/ooi_list.html
+++ b/rocky/rocky/templates/oois/ooi_list.html
@@ -10,63 +10,62 @@
-
{% translate "Object list" %} @ {% if observed_at %}{{ observed_at|date:'DATE_FORMAT' }}{% endif %}
-
+
+ {% translate "Object list" %} @
+ {% if observed_at %}{{ observed_at|date:'DATE_FORMAT' }}{% endif %}
+
{% blocktranslate trimmed %}
- An overview of your object list. Objects can be added manually or by running boefjes.
- Click an object for additional information.
- {% endblocktranslate %}
-
-
- {% translate "Currently filtered on:" %} {{ types_display }}
-
- {% include "partials/ooi_list_toolbar.html" %}
-
- {% translate "Filter" as filter_title %}
- {% include "partials/ooi_list_filters.html" with title=filter_title clearance_level_filter_form=clearance_level_filter_form %}
+ An overview of your object list. Objects can be added manually or by running boefjes.
+
+ Click an object for additional information.
+ {% endblocktranslate %}
+
+
+ {% translate "Currently filtered on:" %} {{ types_display }}
+
+ {% include "partials/ooi_list_toolbar.html" %}
-
- {% blocktranslate with length=ooi_list|length total=total_oois %}Showing {{ length }} of {{ total }} objects{% endblocktranslate %}
-
+ {% translate "Filter" as filter_title %}
+ {% include "partials/ooi_list_filters.html" with title=filter_title clearance_level_filter_form=clearance_level_filter_form %}
-
+ {% include "partials/list_paginator.html" %}
-
-
-
+
+
+
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
diff --git a/rocky/rocky/templates/oois/ooi_mute_finding.html b/rocky/rocky/templates/oois/ooi_mute_finding.html
index 559cff707c5..4f3512fbfde 100644
--- a/rocky/rocky/templates/oois/ooi_mute_finding.html
+++ b/rocky/rocky/templates/oois/ooi_mute_finding.html
@@ -4,30 +4,30 @@
{% load i18n %}
{% block content %}
- {% include "header.html" %}
+ {% include "header.html" %}
-
-
+
{% endblock content %}
diff --git a/rocky/rocky/templates/oois/ooi_page_tabs.html b/rocky/rocky/templates/oois/ooi_page_tabs.html
index 0aab7cfe788..cc75110d18a 100644
--- a/rocky/rocky/templates/oois/ooi_page_tabs.html
+++ b/rocky/rocky/templates/oois/ooi_page_tabs.html
@@ -3,25 +3,25 @@
diff --git a/rocky/rocky/templates/oois/ooi_report.html b/rocky/rocky/templates/oois/ooi_report.html
index 01642a0c01e..36bac3c8257 100644
--- a/rocky/rocky/templates/oois/ooi_report.html
+++ b/rocky/rocky/templates/oois/ooi_report.html
@@ -18,14 +18,14 @@
{% blocktranslate trimmed with name=ooi.human_readable %}
- Findings report for {{ name }}
- {% endblocktranslate %}
+ Findings report for {{ name }}
+ {% endblocktranslate %}
{% blocktranslate trimmed %}
- These are the findings of a OpenKAT-analysis on {{ observed_at }}. Click a finding for more detailed
- information about the issue, its origin, severity and possible solutions.
- {% endblocktranslate %}
+ These are the findings of a OpenKAT-analysis on {{ observed_at }}. Click a finding for more detailed
+ information about the issue, its origin, severity and possible solutions.
+ {% endblocktranslate %}
@@ -36,6 +36,5 @@
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
-
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/oois/ooi_report_404.html b/rocky/rocky/templates/oois/ooi_report_404.html
index c734c18a05d..278904cf06a 100644
--- a/rocky/rocky/templates/oois/ooi_report_404.html
+++ b/rocky/rocky/templates/oois/ooi_report_404.html
@@ -14,14 +14,15 @@
{% blocktranslate trimmed with name=ooi.human_readable %}
- A report for {{ name }} wasn't found.
- {% endblocktranslate %}
+ A report for {{ name }} wasn't found.
+ {% endblocktranslate %}
{% blocktranslate trimmed %}
- Perhaps it never was, perhaps it just didn't exist on {{ observed_at }}
- Try some other dates!
- {% endblocktranslate %}
+ Perhaps it never was, perhaps it just didn't exist on {{ observed_at }}
+
+ Try some other dates!
+ {% endblocktranslate %}
@@ -29,6 +30,5 @@
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
-
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/oois/ooi_summary.html b/rocky/rocky/templates/oois/ooi_summary.html
index b53d79b8047..65e7bd06050 100644
--- a/rocky/rocky/templates/oois/ooi_summary.html
+++ b/rocky/rocky/templates/oois/ooi_summary.html
@@ -32,4 +32,6 @@
{% endblock content %}
-{% block html_at_end_body %}{{ block.super }}{% endblock html_at_end_body %}
+{% block html_at_end_body %}
+ {{ block.super }}
+{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/oois/ooi_tree.html b/rocky/rocky/templates/oois/ooi_tree.html
index ba84e574504..3c075b12b5d 100644
--- a/rocky/rocky/templates/oois/ooi_tree.html
+++ b/rocky/rocky/templates/oois/ooi_tree.html
@@ -31,6 +31,5 @@
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
-
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/organizations/organization_add.html b/rocky/rocky/templates/organizations/organization_add.html
index 87561d3bba4..66ee9b60a57 100644
--- a/rocky/rocky/templates/organizations/organization_add.html
+++ b/rocky/rocky/templates/organizations/organization_add.html
@@ -12,10 +12,10 @@
{% translate "Organization setup" %}
{% blocktranslate trimmed %}
- Please enter the following organization details.
- These details can be edited within the organization
- page within OpenKAT when necessary.
- {% endblocktranslate %}
+ Please enter the following organization details.
+ These details can be edited within the organization
+ page within OpenKAT when necessary.
+ {% endblocktranslate %}
{% csrf_token %}
diff --git a/rocky/rocky/templates/organizations/organization_crisis_room.html b/rocky/rocky/templates/organizations/organization_crisis_room.html
index 43f393df2eb..d5b7c5af09d 100644
--- a/rocky/rocky/templates/organizations/organization_crisis_room.html
+++ b/rocky/rocky/templates/organizations/organization_crisis_room.html
@@ -41,50 +41,50 @@ {% translate "Top 10 most severe Findings" %}
{% for hydr in object_list %}
{% with ft=hydr.finding_type ooi=hydr.ooi finding=hydr.finding %}
-
-
- {{ ft.risk_severity|capfirst }}
-
-
- {{ finding.human_readable }}
-
-
-
- {% translate "Open details" %}
-
-
-
-
-
-
-
-
+
+
+ {{ ft.risk_severity|capfirst }}
+
+
+ {{ finding.human_readable }}
+
+
+
+ {% translate "Open details" %}
+
+
+
+
+
+
+
+
{% endwith %}
{% endfor %}
diff --git a/rocky/rocky/templates/organizations/organization_member_edit.html b/rocky/rocky/templates/organizations/organization_member_edit.html
index 6c02bcbdc31..8b3bdb9f42d 100644
--- a/rocky/rocky/templates/organizations/organization_member_edit.html
+++ b/rocky/rocky/templates/organizations/organization_member_edit.html
@@ -26,6 +26,5 @@ {% translate "Edit member" %} {{ object.user.full_name }}
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
-
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/organizations/organization_member_list.html b/rocky/rocky/templates/organizations/organization_member_list.html
index e807bae2e69..4d966042248 100644
--- a/rocky/rocky/templates/organizations/organization_member_list.html
+++ b/rocky/rocky/templates/organizations/organization_member_list.html
@@ -126,6 +126,5 @@ {% translate "Members" %}
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
-
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/organizations/organization_member_upload.html b/rocky/rocky/templates/organizations/organization_member_upload.html
index ccba930a4be..ddf5b37448c 100644
--- a/rocky/rocky/templates/organizations/organization_member_upload.html
+++ b/rocky/rocky/templates/organizations/organization_member_upload.html
@@ -11,16 +11,19 @@
{% translate "Upload a csv file with members for organisation" %} "{{ organization }}"
-
- {% translate "Download the template" %}
-
- {% translate "or create a csv file with the following criteria" %}
+
+ {% translate "Download the template" %}
+
+ {% translate "or create a csv file with the following criteria" %}
{% translate "These are the criteria for CSV upload:" %}
- {% for criterion in criteria %}{{ criterion }} {% endfor %}
+ {% for criterion in criteria %}{{ criterion }} {% endfor %}
-
+
{% csrf_token %}
{% include "partials/form/fieldset.html" with legend=fieldset_legend fields=form %}
diff --git a/rocky/rocky/templates/organizations/organization_settings.html b/rocky/rocky/templates/organizations/organization_settings.html
index 4b83f98a2a4..dc49a397324 100644
--- a/rocky/rocky/templates/organizations/organization_settings.html
+++ b/rocky/rocky/templates/organizations/organization_settings.html
@@ -4,89 +4,86 @@
{% load static %}
{% block content %}
- {% include "header.html" %}
+ {% include "header.html" %}
-
-
-
-
{% translate "Organization" %}: {{ organization.name }}
-
- {% blocktranslate with organization_name=organization.name %}
+
+
+
+
{% translate "Organization" %}: {{ organization.name }}
+
+ {% blocktranslate with organization_name=organization.name %}
An overview of "{{ organization_name }}". This shows general information and its settings.
{% endblocktranslate %}
-
- {% if not indemnification_present %}
-
- {% url "organization_settings" organization.code as organization_settings %}
- {% blocktranslate %}
+
+ {% if not indemnification_present %}
+
+ {% url "organization_settings" organization.code as organization_settings %}
+ {% blocktranslate %}
Warning:
Indemnification is not set for this organization.
{% endblocktranslate %}
-
- {% endif %}
-
{% translate "Organization details" %}
-
-
{% translate "Settings" %}
- {% if perms.tools.add_indemnification %}
-
{% translate "Add indemnification" %}
- {% endif %}
+
{% translate "Actions" %}
+ {% if perms.tools.can_recalculate_bits %}
+
+ {% csrf_token %}
+ {% translate "Rerun all bits" %}
+
+ {% endif %}
+
+
+ {% if organization.tags.all %}
+
+
+
{% translate "Tags" %}
+ {% include "organizations/organization_tags.html" %}
- {% translate "Actions" %}
- {% if perms.tools.can_recalculate_bits %}
-
- {% csrf_token %}
-
- {% translate "Rerun all bits" %}
-
-
+
+
{% endif %}
-
-
- {% if organization.tags.all %}
-
-
-
{% translate "Tags" %}
- {% include "organizations/organization_tags.html" %}
-
-
-
- {% endif %}
-
+
{% endblock content %}
{% block html_at_end_body %}
- {{ block.super }}
-
+ {{ block.super }}
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/organizations/select_clearance_level_radio_input.html b/rocky/rocky/templates/organizations/select_clearance_level_radio_input.html
index 9c12e42ec2b..fecf05fa08b 100644
--- a/rocky/rocky/templates/organizations/select_clearance_level_radio_input.html
+++ b/rocky/rocky/templates/organizations/select_clearance_level_radio_input.html
@@ -1,17 +1,15 @@
{% load i18n %}
-
- {{ field.label_tag }}
-
+ {{ field.label_tag }}
{% for choice in field %}
+ {% if choice.data.attrs.disabled %}disabled{% endif %}
+ {% if choice.data.attrs.checked %}checked{% endif %} />
{% include "partials/scan_level_indicator.html" with value=forloop.counter0 %}
diff --git a/rocky/rocky/templates/partials/elements/ooi_add_type_select_form.html b/rocky/rocky/templates/partials/elements/ooi_add_type_select_form.html
index 7aa6c047837..59739ded47c 100644
--- a/rocky/rocky/templates/partials/elements/ooi_add_type_select_form.html
+++ b/rocky/rocky/templates/partials/elements/ooi_add_type_select_form.html
@@ -2,24 +2,16 @@
{% spaceless %}
- {% if ooi %} {% endif %}
+ {% if ooi %} {% endif %}
-
- {% translate "Object details" %}
-
+ {% translate "Object details" %}
{% translate "Object type" %}
-
- -- {% translate "Choose an object type to add" %} --
-
+ -- {% translate "Choose an object type to add" %} --
{% for option in ooi_types %}
- {% if option.text != "Finding" %}
-
- {{ option.text }}
-
- {% endif %}
+ {% if option.text != "Finding" %}{{ option.text }} {% endif %}
{% endfor %}
{% translate "Select an object type to add." as help_text %}
@@ -28,6 +20,6 @@
-
+
{% endspaceless %}
diff --git a/rocky/rocky/templates/partials/elements/ooi_list_settings_form.html b/rocky/rocky/templates/partials/elements/ooi_list_settings_form.html
index a1414527482..ed01b984b2c 100644
--- a/rocky/rocky/templates/partials/elements/ooi_list_settings_form.html
+++ b/rocky/rocky/templates/partials/elements/ooi_list_settings_form.html
@@ -3,15 +3,13 @@
- {% if ooi_id %} {% endif %}
+ {% if ooi_id %} {% endif %}
{% include "partials/form/field_hidden_from_list.html" with list=mandatory_fields form=observed_at_form %}
{% include "partials/form/fieldset.html" with fields=observed_at_form %}
{% if object_type_filters %}
-
- {% translate "Filter by OOI types" %}
-
+ {% translate "Filter by OOI types" %}
{% for checkbox in object_type_filters %}
@@ -19,7 +17,7 @@
id="type-{{ checkbox.value }}"
name="ooi_type"
value="{{ checkbox.value }}"
- {% if checkbox.checked %} checked{% endif %}/>
+ {% if checkbox.checked %}checked{% endif %} />
{{ checkbox.label }}
{% endfor %}
@@ -30,21 +28,17 @@
{% if object_type_filters|length > 4 %}
- {% translate "Toggle all" %}
-
+ data-toggle-target="ooi_type">{% translate "Toggle all" %}
{% endif %}
+ value="{% if submit_text %}{{ submit_text }}{% else %}{% translate "Set filters" %}{% endif %}" />
{% for field in clearance_level_filter_form %}
-
- {{ field.label }}
-
+ {{ field.label }}
{{ field }}
{% endfor %}
+ value="{% if submit_text %}{{ submit_text }}{% else %}{% translate "Set filters" %}{% endif %}" />
diff --git a/rocky/rocky/templates/partials/elements/ooi_report_settings.html b/rocky/rocky/templates/partials/elements/ooi_report_settings.html
index f4793e6ac08..ba4024eb944 100644
--- a/rocky/rocky/templates/partials/elements/ooi_report_settings.html
+++ b/rocky/rocky/templates/partials/elements/ooi_report_settings.html
@@ -2,7 +2,9 @@
{% load i18n %}
-{% block title %}{{ observed_at|date:'M d, Y' }}{% endblock title %}
+{% block title %}
+ {{ observed_at|date:'M d, Y' }}
+{% endblock title %}
{% block show_text %}
{% translate "Show settings" %}
{% endblock show_text %}
diff --git a/rocky/rocky/templates/partials/elements/ooi_tree_condensed_table_row.html b/rocky/rocky/templates/partials/elements/ooi_tree_condensed_table_row.html
index 24775381cf5..2b5cd958aaa 100644
--- a/rocky/rocky/templates/partials/elements/ooi_tree_condensed_table_row.html
+++ b/rocky/rocky/templates/partials/elements/ooi_tree_condensed_table_row.html
@@ -41,11 +41,12 @@
{% if object.tree_meta.child_ids %}> {{ object.tree_meta.child_ids|join:' > ' }}{% endif %}
- " }}{% endif %}
- ">{{ object.ooi_type }}
- {% if object.tree_meta.child_ooi_types %}> {{ object.tree_meta.child_ooi_types|join:' > ' }}{% endif %}
-
-
-
- {% endif %}
+ " }}{% endif %}
+ ">{{ object.ooi_type }}
+ {% if object.tree_meta.child_ooi_types %}> {{ object.tree_meta.child_ooi_types|join:' > ' }}{% endif %}
+
+
+
+{% endif %}
{% endif %}
diff --git a/rocky/rocky/templates/partials/explanations.html b/rocky/rocky/templates/partials/explanations.html
index 2f5cfde0dae..bde41cf849d 100644
--- a/rocky/rocky/templates/partials/explanations.html
+++ b/rocky/rocky/templates/partials/explanations.html
@@ -2,9 +2,9 @@
{% load ooi_extra %}
{% spaceless %}
-
{% endspaceless %}
diff --git a/rocky/rocky/templates/partials/form/boefje_tiles_form.html b/rocky/rocky/templates/partials/form/boefje_tiles_form.html
index 642b9556af5..f305b1b5014 100644
--- a/rocky/rocky/templates/partials/form/boefje_tiles_form.html
+++ b/rocky/rocky/templates/partials/form/boefje_tiles_form.html
@@ -1,6 +1,6 @@
{% load i18n %}
-
+
{% csrf_token %}
{% if checkbox_group_table_form %}
{% include "partials/form/form_errors.html" with form=field %}
diff --git a/rocky/rocky/templates/partials/form/field_input.html b/rocky/rocky/templates/partials/form/field_input.html
index 00477a08335..fcaad77193a 100644
--- a/rocky/rocky/templates/partials/form/field_input.html
+++ b/rocky/rocky/templates/partials/form/field_input.html
@@ -1,50 +1,47 @@
{% load i18n %}
-
- {{ field.label_tag }}
-
- {% if form_view != "vertical" %}
-
- {% if field.field.required %}
-
{% translate "This field is required" %}
- {% endif %}
-
+
+ {{ field.label_tag }}
+ {% if form_view != "vertical" %}
- {% if not field.field.widget.attrs.fixed_paws %}
- {{ field }}
- {% elif field.field.widget.attrs.fixed_paws < 0 %}
- {% translate "Not set" %}
- {% else %}
- {% include "partials/scan_level_indicator.html" with value=field.field.widget.attrs.fixed_paws custom_class=field.field.widget.attrs.class %}
+ {% if field.field.required %}
+
{% translate "This field is required" %}
{% endif %}
+
+ {% if not field.field.widget.attrs.fixed_paws %}
+ {{ field }}
+ {% elif field.field.widget.attrs.fixed_paws < 0 %}
+ {% translate "Not set" %}
+ {% else %}
+ {% include "partials/scan_level_indicator.html" with value=field.field.widget.attrs.fixed_paws custom_class=field.field.widget.attrs.class %}
- {% include "partials/form/field_input_help_text.html" with help_text=field.help_text %}
- {% include "partials/form/field_input_errors.html" %}
-
+ {% endif %}
+ {% include "partials/form/field_input_help_text.html" with help_text=field.help_text %}
+ {% include "partials/form/field_input_errors.html" %}
- {% if form_name == "login" and field.name == "username" %}
-
- {% endif %}
- {% if form_name == "login" and field.name == "password" %}
-
- {% endif %}
-
- {% else %}
-
- {% if field.field.required %}
-
{% translate "This field is required" %}
- {% endif %}
-
+ {% if form_name == "login" and field.name == "username" %}
+
+ {% endif %}
+ {% if form_name == "login" and field.name == "password" %}
+
+ {% endif %}
+
+ {% else %}
- {{ field }}
+ {% if field.field.required %}
+
{% translate "This field is required" %}
+ {% endif %}
+
+ {{ field }}
+ {% include "partials/form/field_input_help_text.html" with help_text=field.help_text %}
+ {% include "partials/form/field_input_errors.html" %}
- {% include "partials/form/field_input_help_text.html" with help_text=field.help_text %}
- {% include "partials/form/field_input_errors.html" %}
+
-
- {% endif %}
+ {% endif %}
diff --git a/rocky/rocky/templates/partials/form/field_input_checkbox.html b/rocky/rocky/templates/partials/form/field_input_checkbox.html
index 31370d0aafa..4c779463a03 100644
--- a/rocky/rocky/templates/partials/form/field_input_checkbox.html
+++ b/rocky/rocky/templates/partials/form/field_input_checkbox.html
@@ -1,22 +1,22 @@
{% load i18n %}
{% if field.field.widget.allow_multiple_selected %}
- {% include "partials/form/field_input_multiselect.html" %}
+ {% include "partials/form/field_input_multiselect.html" %}
{% else %}
-
-
{{ field.field.widget.attrs.field_form_label }}
-
- {% if field.field.required %}
-
{% translate "This field is required" %}
- {% endif %}
-
- {{ field }}
- {{ field.label_tag }}
-
- {% include "partials/form/field_input_help_text.html" with help_text=field.help_text %}
- {% include "partials/form/field_input_errors.html" %}
+
+
{{ field.field.widget.attrs.field_form_label }}
+
+ {% if field.field.required %}
+
{% translate "This field is required" %}
+ {% endif %}
+
+ {{ field }}
+ {{ field.label_tag }}
+
+ {% include "partials/form/field_input_help_text.html" with help_text=field.help_text %}
+ {% include "partials/form/field_input_errors.html" %}
+
-
{% endif %}
diff --git a/rocky/rocky/templates/partials/form/field_input_multiselect.html b/rocky/rocky/templates/partials/form/field_input_multiselect.html
index 3f9cdd62626..36ae70bd428 100644
--- a/rocky/rocky/templates/partials/form/field_input_multiselect.html
+++ b/rocky/rocky/templates/partials/form/field_input_multiselect.html
@@ -7,7 +7,7 @@
value="{{ choice.data.value }}"
id="id_{{ field.name }}_{{ forloop.counter0 }}"
{% if choice.data.attrs.disabled %}disabled{% endif %}
- {% if choice.data.attrs.checked %}checked{% endif %}/>
+ {% if choice.data.attrs.checked %}checked{% endif %} />
{{ choice.choice_label|capfirst }}
{% endfor %}
diff --git a/rocky/rocky/templates/partials/form/field_input_radio.html b/rocky/rocky/templates/partials/form/field_input_radio.html
index 4fe5de9da67..6e796eddfeb 100644
--- a/rocky/rocky/templates/partials/form/field_input_radio.html
+++ b/rocky/rocky/templates/partials/form/field_input_radio.html
@@ -12,7 +12,7 @@
value="{{ choice.data.value }}"
id="id_{{ field.name }}_{{ forloop.counter0 }}"
{% if choice.data.attrs.disabled %}disabled{% endif %}
- {% if choice.data.attrs.checked %}checked{% endif %}/>
+ {% if choice.data.attrs.checked %}checked{% endif %} />
{% if choice.data.attrs.radio_paws %}
{% include "partials/scan_level_indicator.html" with value=choice.data.value custom_class=choice.data.attrs.class %}
diff --git a/rocky/rocky/templates/partials/form/field_input_wrapper.html b/rocky/rocky/templates/partials/form/field_input_wrapper.html
index 05b3cfd84a1..1bdd1e6d257 100644
--- a/rocky/rocky/templates/partials/form/field_input_wrapper.html
+++ b/rocky/rocky/templates/partials/form/field_input_wrapper.html
@@ -1,6 +1,8 @@
{# include template for input type, with fallback field_input.html #}
{% if field.field.widget.input_type in "checkbox,radio,hidden" %}
{% include "partials/form/field_input_"|add:field.field.widget.input_type|add:".html" %}
+
{% else %}
{% include "partials/form/field_input.html" %}
+
{% endif %}
diff --git a/rocky/rocky/templates/partials/form/fieldset.html b/rocky/rocky/templates/partials/form/fieldset.html
index a68acd33c2f..d7fc4795ba0 100644
--- a/rocky/rocky/templates/partials/form/fieldset.html
+++ b/rocky/rocky/templates/partials/form/fieldset.html
@@ -1,14 +1,11 @@
{% load i18n %}
- {% if legend %}
-
- {{ legend }}
-
- {% endif %}
+ {% if legend %}{{ legend }} {% endif %}
{% for field in fields %}
{% if not fieldset or field.name in fieldset.split %}
{% include "partials/form/field_input_wrapper.html" %}
+
{% endif %}
{% endfor %}
diff --git a/rocky/rocky/templates/partials/form/form_errors.html b/rocky/rocky/templates/partials/form/form_errors.html
index 328962972a8..2a89972d634 100644
--- a/rocky/rocky/templates/partials/form/form_errors.html
+++ b/rocky/rocky/templates/partials/form/form_errors.html
@@ -3,8 +3,6 @@
{% if form.errors and form.errors|get_item:'__all__' %}
{% translate "Error" %}:
- {% for error in form.errors|get_item:'__all__' %}
- {{ error }}
- {% endfor %}
+ {% for error in form.errors|get_item:'__all__' %}{{ error }}{% endfor %}
{% endif %}
diff --git a/rocky/rocky/templates/partials/form/indemnification_add_form.html b/rocky/rocky/templates/partials/form/indemnification_add_form.html
index e5b92078c45..397d481960f 100644
--- a/rocky/rocky/templates/partials/form/indemnification_add_form.html
+++ b/rocky/rocky/templates/partials/form/indemnification_add_form.html
@@ -4,21 +4,21 @@
{% translate "Here, an indemnification can be given on behalf of your organization" %}:
{% blocktranslate trimmed %}
- Some scans are lightweight while others might be a bit
- more aggressive with their scanning.
- OpenKAT requires you to set a clearance level
- for each object to prevent you from unintentionally
- running aggressive scans. For example you might have the
- right to run any type of scan on your own server but you
- probably don’t have the right to do so for objects owned
- by other people of companies.
- {% endblocktranslate %}
+ Some scans are lightweight while others might be a bit
+ more aggressive with their scanning.
+ OpenKAT requires you to set a clearance level
+ for each object to prevent you from unintentionally
+ running aggressive scans. For example you might have the
+ right to run any type of scan on your own server but you
+ probably don’t have the right to do so for objects owned
+ by other people of companies.
+ {% endblocktranslate %}
{% blocktranslate trimmed %}
- Before you're able to add assets to OpenKAT and to assign clearance levels,
- you have to give indemnification on the organization and declare that you as a person can be held accountable.
- {% endblocktranslate %}
+ Before you're able to add assets to OpenKAT and to assign clearance levels,
+ you have to give indemnification on the organization and declare that you as a person can be held accountable.
+ {% endblocktranslate %}
{% csrf_token %}
diff --git a/rocky/rocky/templates/partials/hyperlink_ooi_type.html b/rocky/rocky/templates/partials/hyperlink_ooi_type.html
index 8e800f7fd2d..6f10547f9d6 100644
--- a/rocky/rocky/templates/partials/hyperlink_ooi_type.html
+++ b/rocky/rocky/templates/partials/hyperlink_ooi_type.html
@@ -2,4 +2,4 @@
{% load static %}
{{ value.ooi_type }}
+ " title="{% blocktranslate trimmed with type=value.ooi_type %} Only show objects of type {{ type }} {% endblocktranslate %}">{{ value.ooi_type }}
diff --git a/rocky/rocky/templates/partials/list_filters.html b/rocky/rocky/templates/partials/list_filters.html
index 38987e1f0bf..eabfe118f88 100644
--- a/rocky/rocky/templates/partials/list_filters.html
+++ b/rocky/rocky/templates/partials/list_filters.html
@@ -4,12 +4,14 @@
- {% block title %}{% endblock title %}
+ {% block title %}
+ {% endblock title %}
{% translate "Show filter options" %}
- {% block filter_form %}{% endblock filter_form %}
+ {% block filter_form %}
+ {% endblock filter_form %}
diff --git a/rocky/rocky/templates/partials/ooi_detail_toolbar.html b/rocky/rocky/templates/partials/ooi_detail_toolbar.html
index 1214000290b..540f65f1814 100644
--- a/rocky/rocky/templates/partials/ooi_detail_toolbar.html
+++ b/rocky/rocky/templates/partials/ooi_detail_toolbar.html
@@ -2,20 +2,20 @@
{% translate props.ooi_type as display_type %}
diff --git a/rocky/rocky/templates/partials/ooi_report_findings_block_table.html b/rocky/rocky/templates/partials/ooi_report_findings_block_table.html
index c43d5e2f5cd..c9e2e57639d 100644
--- a/rocky/rocky/templates/partials/ooi_report_findings_block_table.html
+++ b/rocky/rocky/templates/partials/ooi_report_findings_block_table.html
@@ -5,8 +5,8 @@
{% blocktranslate trimmed with name=ooi.human_readable type=ooi.get_ooi_type %}
- Findings for {{ type }} {{ name }} on {{ observed_at }}:
- {% endblocktranslate %}
+ Findings for {{ type }} {{ name }} on {{ observed_at }}:
+ {% endblocktranslate %}
diff --git a/rocky/rocky/templates/partials/ooi_report_findings_block_table_expanded_row.html b/rocky/rocky/templates/partials/ooi_report_findings_block_table_expanded_row.html
index c94a981cbb0..35d0446cb78 100644
--- a/rocky/rocky/templates/partials/ooi_report_findings_block_table_expanded_row.html
+++ b/rocky/rocky/templates/partials/ooi_report_findings_block_table_expanded_row.html
@@ -11,24 +11,20 @@ {% translate "Finding details" %}
{% translate "Warning" %}:
{% blocktranslate trimmed %}
- The severity of this findingtype has not (yet) been determined by the data source. This situation requires
- manual investigation of the severity.
- {% endblocktranslate %}
+ The severity of this findingtype has not (yet) been determined by the data source. This situation requires
+ manual investigation of the severity.
+ {% endblocktranslate %}
{% endif %}
-
- {% translate "Type" %}
-
+ {% translate "Type" %}
{{ finding_type.ooi_type }}
-
- {% translate "Finding" %}
-
+
{% translate "Finding" %}
{{ finding_type.id }}
@@ -36,9 +32,7 @@
{% translate "Finding details" %}
{% include "partials/elements/definition_list_item.html" with label="Description" description=finding_type.description %}
-
- {% translate "Risk level" %}
-
+
{% translate "Risk level" %}
{{ finding_type.risk_score }} / 10
@@ -48,9 +42,7 @@
{% translate "Finding details" %}
{% if finding_type.source %}
-
- {% translate "Source" %}
-
+
{% translate "Source" %}
{{ finding_type.source }}
@@ -63,9 +55,7 @@
{% translate "Finding details" %}
{% translate "Occurrences" %}
-
- {% translate "Total occurrences" %}
-
+
{% translate "Total occurrences" %}
{{ findings_list.meta.total_by_finding_type|get_item:finding_type.id }}
diff --git a/rocky/rocky/templates/partials/ooi_summary_block.html b/rocky/rocky/templates/partials/ooi_summary_block.html
index 9fb3d6eef02..8fb50f4c42a 100644
--- a/rocky/rocky/templates/partials/ooi_summary_block.html
+++ b/rocky/rocky/templates/partials/ooi_summary_block.html
@@ -19,9 +19,7 @@
Details for {{ tree_node.ooi_type }} {{ tree_node.human_readable }}
{% for key, value in tree_node.items %}
{% if key not in "id,human_readable,tree_meta,children" and value is not None %}
-
- {{ key }}
-
+
{{ key }}
{{ value }}
@@ -79,9 +77,7 @@
Details for {{ tree_node.ooi_type }} {{ tree_node.human_readable }}
{% for key, value in tree_node.items %}
{% if key not in "id,human_readable,tree_meta,children" and value is not None %}
-
- {{ key }}
-
+
{{ key }}
{{ value }}
diff --git a/rocky/rocky/templates/partials/ooi_summary_finding.html b/rocky/rocky/templates/partials/ooi_summary_finding.html
index f75ad9da78a..e70a9f63808 100644
--- a/rocky/rocky/templates/partials/ooi_summary_finding.html
+++ b/rocky/rocky/templates/partials/ooi_summary_finding.html
@@ -4,9 +4,7 @@
Finding {{ finding.human_readable }}
{% for key, value in finding.items %}
{% if key not in "id,human_readable,tree_meta,children" and value is not None %}
-
- {{ key }}
-
+
{{ key }}
{{ value }}
@@ -21,9 +19,7 @@
Info {{ finding_type.human_readable }}
{% for key, value in finding_type.items %}
{% if key not in "id,human_readable,tree_meta,children" and value is not None %}
-
- {{ key }}
-
+
{{ key }}
{{ value }}
diff --git a/rocky/rocky/templates/partials/ooi_type_filters.html b/rocky/rocky/templates/partials/ooi_type_filters.html
index 51c33e63499..1790d535c8a 100644
--- a/rocky/rocky/templates/partials/ooi_type_filters.html
+++ b/rocky/rocky/templates/partials/ooi_type_filters.html
@@ -10,16 +10,14 @@
OUT OF ORDER
{% endwith %}
-
- {% translate "Shown types" %}
-
+ {% translate "Shown types" %}
{% for checkbox in object_type_filters %}
+ {% if checkbox.checked %}checked{% endif %} />
{{ checkbox.label }}
{% endfor %}
@@ -27,10 +25,8 @@ OUT OF ORDER
{% if object_type_filters|length > 4 %}
- {% translate "Toggle all" %}
-
+ data-toggle-target="ooi_type">{% translate "Toggle all" %}
{% endif %}
-
+
{% endif %}
diff --git a/rocky/rocky/templates/partials/ooi_type_filters_linklist.html b/rocky/rocky/templates/partials/ooi_type_filters_linklist.html
index 6792f870532..15919232519 100644
--- a/rocky/rocky/templates/partials/ooi_type_filters_linklist.html
+++ b/rocky/rocky/templates/partials/ooi_type_filters_linklist.html
@@ -10,7 +10,7 @@ {% translate "Quickly filter by type" %}
{% for filter in object_type_filters %}
{{ filter.label }}
+ " title="{% translate "Filter by" %} {{ filter.label }}">{{ filter.label }}
{% endfor %}
{% endwith %}
diff --git a/rocky/rocky/templates/partials/organization_member_list_filters.html b/rocky/rocky/templates/partials/organization_member_list_filters.html
index 5f6b92831d1..2fca6925cf6 100644
--- a/rocky/rocky/templates/partials/organization_member_list_filters.html
+++ b/rocky/rocky/templates/partials/organization_member_list_filters.html
@@ -8,9 +8,7 @@
{% block filter_form %}
-
- {% translate "Shown status types" %}
-
+ {% translate "Shown status types" %}
{% for option in status_filters %}
@@ -18,29 +16,27 @@
id="option-filter-{{ option.value }}"
name="client_status"
value="{{ option.value }}"
- {% if option.checked %} checked{% endif %}>
+ {% if option.checked %}checked{% endif %}>
{{ option.label }}
{% endfor %}
-
- {% translate "Blocked status" %}
-
-
- {% for option in blocked_filters %}
-
-
- {{ option.label }}
-
- {% endfor %}
-
-
+ {% translate "Blocked status" %}
+
+ {% for option in blocked_filters %}
+
+
+ {{ option.label }}
+
+ {% endfor %}
+
+
{% endblock filter_form %}
diff --git a/rocky/rocky/templates/partials/scan_history.html b/rocky/rocky/templates/partials/scan_history.html
index 6b927b7e73c..d0034a78bd8 100644
--- a/rocky/rocky/templates/partials/scan_history.html
+++ b/rocky/rocky/templates/partials/scan_history.html
@@ -6,9 +6,7 @@
{% translate "Scans" %}
{% translate "Filter" %}
- {% translate "Show filters" %}
-
+ data-hide-filters-label="{% translate "Hide filters" %}">{% translate "Show filters" %}
@@ -28,9 +26,7 @@ {% translate "Scans" %}
{% translate "Status" %}
-
- {% translate "Select status" %}
-
+ {% translate "Select status" %}
{% translate "Success" %}
diff --git a/rocky/rocky/templates/partials/secondary-menu.html b/rocky/rocky/templates/partials/secondary-menu.html
index a33544f4794..690ee31e0ca 100644
--- a/rocky/rocky/templates/partials/secondary-menu.html
+++ b/rocky/rocky/templates/partials/secondary-menu.html
@@ -2,43 +2,43 @@
{% load i18n %}
{% if request.user.is_authenticated %}
-
-
{% else %}
-
+
{% endif %}
diff --git a/rocky/rocky/templates/rest_framework/api.html b/rocky/rocky/templates/rest_framework/api.html
index f38ab8fb7eb..1fc3b6e8ce2 100644
--- a/rocky/rocky/templates/rest_framework/api.html
+++ b/rocky/rocky/templates/rest_framework/api.html
@@ -12,18 +12,11 @@
"csrfToken": "{% if request %}{{ csrf_token }}{% endif %}"
}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
{% endblock script %}
diff --git a/rocky/rocky/templates/scan_profiles/scan_profile_detail.html b/rocky/rocky/templates/scan_profiles/scan_profile_detail.html
index f5836bf0ab9..62301111bc7 100644
--- a/rocky/rocky/templates/scan_profiles/scan_profile_detail.html
+++ b/rocky/rocky/templates/scan_profiles/scan_profile_detail.html
@@ -29,7 +29,7 @@
{% translate "Declared" %}
{% if user.acknowledged_clearance_level > -1 and organization_indemnification and user.trusted_clearance_level > -1 %}
{% endif %}
{% elif ooi.scan_profile.scan_profile_type == "empty" %}
diff --git a/rocky/rocky/templates/scan_profiles/scan_profile_reset.html b/rocky/rocky/templates/scan_profiles/scan_profile_reset.html
index b1240233d79..c2213ecd092 100644
--- a/rocky/rocky/templates/scan_profiles/scan_profile_reset.html
+++ b/rocky/rocky/templates/scan_profiles/scan_profile_reset.html
@@ -15,23 +15,26 @@
{% translate "Set clearance level for:" %} {{ ooi.human_readable }}
{% translate "Setting the scan level from \"declared\" to \"inherit\" means it will inherit a clearance level from other objects, or that no clearance level will be inherited. " %}
-
+ {# djlint:off H033 #}
+
+ {# djlint:on #}
{% csrf_token %}
-
- {% translate "Set clearance level" %}
-
+ {% translate "Set clearance level" %}
{% translate "You are about to set the clearance level from \"declared\" to \"inherit\"." %}
{% translate "Are you sure?" %}
{% endblock content %}
-{% block html_at_end_body %}{{ block.super }}{% endblock html_at_end_body %}
+{% block html_at_end_body %}
+ {{ block.super }}
+{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/tasks/boefje_task_detail.html b/rocky/rocky/templates/tasks/boefje_task_detail.html
index d3b3c99dbd8..6a1f1beb4fe 100644
--- a/rocky/rocky/templates/tasks/boefje_task_detail.html
+++ b/rocky/rocky/templates/tasks/boefje_task_detail.html
@@ -17,29 +17,23 @@ {{ task.created_at }}
{% endblocktranslate %}
-
-
{% endblock content %}
-
{% block script %}
{{ block.super }}
{% endblock script %}
diff --git a/rocky/rocky/templates/tasks/normalizers.html b/rocky/rocky/templates/tasks/normalizers.html
index 240faef07ca..9a3a7ef53d6 100644
--- a/rocky/rocky/templates/tasks/normalizers.html
+++ b/rocky/rocky/templates/tasks/normalizers.html
@@ -104,6 +104,5 @@
{% translate "Yielded objects" %}
{% endblock content %}
{% block html_at_end_body %}
{{ block.super }}
-
+
{% endblock html_at_end_body %}
diff --git a/rocky/rocky/templates/tasks/partials/tab_navigation.html b/rocky/rocky/templates/tasks/partials/tab_navigation.html
index 3d75d0303a5..dec34aab028 100644
--- a/rocky/rocky/templates/tasks/partials/tab_navigation.html
+++ b/rocky/rocky/templates/tasks/partials/tab_navigation.html
@@ -2,10 +2,10 @@
diff --git a/rocky/rocky/templates/tasks/partials/task_filter.html b/rocky/rocky/templates/tasks/partials/task_filter.html
index 460ec790de5..219b2bcc622 100644
--- a/rocky/rocky/templates/tasks/partials/task_filter.html
+++ b/rocky/rocky/templates/tasks/partials/task_filter.html
@@ -1,43 +1,67 @@
{% load i18n %}
+
diff --git a/rocky/rocky/templates/two_factor/_base_focus.html b/rocky/rocky/templates/two_factor/_base_focus.html
index 5cd3bd60a94..537b2e8eeb7 100644
--- a/rocky/rocky/templates/two_factor/_base_focus.html
+++ b/rocky/rocky/templates/two_factor/_base_focus.html
@@ -6,7 +6,8 @@
- {% block content %}{% endblock content %}
+ {% block content %}
+ {% endblock content %}
diff --git a/rocky/rocky/templates/two_factor/core/backup_tokens.html b/rocky/rocky/templates/two_factor/core/backup_tokens.html
index b8d3e6835f3..12fa4f864ad 100644
--- a/rocky/rocky/templates/two_factor/core/backup_tokens.html
+++ b/rocky/rocky/templates/two_factor/core/backup_tokens.html
@@ -11,11 +11,13 @@
{% csrf_token %}
- {% blocktrans trimmed %}Backup tokens can be used when your primary and backup
- phone numbers aren't available. The backup tokens below can be used
- for login verification. If you've used up all your backup tokens, you
- can generate a new set of backup tokens. Only the backup tokens shown
- below will be valid.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ Backup tokens can be used when your primary and backup
+ phone numbers aren't available. The backup tokens below can be used
+ for login verification. If you've used up all your backup tokens, you
+ can generate a new set of backup tokens. Only the backup tokens shown
+ below will be valid.
+ {% endblocktrans %}
{% if device.token_set.count %}
diff --git a/rocky/rocky/templates/two_factor/core/login.html b/rocky/rocky/templates/two_factor/core/login.html
index 74417f13e74..a2ef9f94f3d 100644
--- a/rocky/rocky/templates/two_factor/core/login.html
+++ b/rocky/rocky/templates/two_factor/core/login.html
@@ -10,7 +10,7 @@ {% trans "You are logged in." %}
{% translate "Two factor authentication is enabled for your account." %}
{% else %}
{% translate "Two factor authentication is not enabled for your account. Enable it to continue." %}
- {% trans "Setup two factor authentication" %}
+ {% trans "Setup two factor authentication" %}
{% endif %}
{% else %}
@@ -20,19 +20,17 @@ {% translate "Login" %}
{% csrf_token %}
{% if wizard.steps.current == "auth" %}
-
- {% translate "Credentials" %}
-
+ {% translate "Credentials" %}
{% elif wizard.steps.current == "backup" %}
{% translate "Explanation" %}:
{% blocktrans trimmed %}
- Use this form for entering backup tokens for logging in.
- These tokens have been generated for you to print and keep safe. Please
- enter one of these backup tokens to login to your account.
- {% endblocktrans %}
+ Use this form for entering backup tokens for logging in.
+ These tokens have been generated for you to print and keep safe. Please
+ enter one of these backup tokens to login to your account.
+ {% endblocktrans %}
{% endif %}
{% include "partials/form/form_errors.html" %}
@@ -46,9 +44,7 @@ {% translate "Login" %}
- {% translate "Use Backup Token" %}
-
+ class="secondary">{% translate "Use Backup Token" %}
{% endif %}
{% include "two_factor/_wizard_actions.html" with step=wizard.steps.current %}
diff --git a/rocky/rocky/templates/two_factor/core/otp_required.html b/rocky/rocky/templates/two_factor/core/otp_required.html
index 33eb3ccc010..5a2e27481a3 100644
--- a/rocky/rocky/templates/two_factor/core/otp_required.html
+++ b/rocky/rocky/templates/two_factor/core/otp_required.html
@@ -9,14 +9,18 @@
{% endblock title %}
- {% blocktrans trimmed %}The page you requested, enforces users to verify using
- two-factor authentication for security reasons. You need to enable these
- security features in order to access this page.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ The page you requested, enforces users to verify using
+ two-factor authentication for security reasons. You need to enable these
+ security features in order to access this page.
+ {% endblocktrans %}
- {% blocktrans trimmed %}Two-factor authentication is not enabled for your
- account. Enable two-factor authentication for enhanced account
- security.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ Two-factor authentication is not enabled for your
+ account. Enable two-factor authentication for enhanced account
+ security.
+ {% endblocktrans %}
{% trans "Go back" %}
diff --git a/rocky/rocky/templates/two_factor/core/phone_register.html b/rocky/rocky/templates/two_factor/core/phone_register.html
index 404ba6e6e7a..c5ad8bf7505 100644
--- a/rocky/rocky/templates/two_factor/core/phone_register.html
+++ b/rocky/rocky/templates/two_factor/core/phone_register.html
@@ -12,14 +12,18 @@
{% csrf_token %}
{% if wizard.steps.current == "setup" %}
- {% blocktrans trimmed %}You'll be adding a backup phone number to your
- account. This number will be used if your primary method of
- registration is not available.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ You'll be adding a backup phone number to your
+ account. This number will be used if your primary method of
+ registration is not available.
+ {% endblocktrans %}
{% elif wizard.steps.current == "validation" %}
- {% blocktrans trimmed %}We've sent a token to your phone number. Please
- enter the token you've received.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ We've sent a token to your phone number. Please
+ enter the token you've received.
+ {% endblocktrans %}
{% endif %}
{% include "two_factor/_wizard_forms.html" with step=wizard.steps.current %}
diff --git a/rocky/rocky/templates/two_factor/core/setup.html b/rocky/rocky/templates/two_factor/core/setup.html
index 2c4ebcdb4b5..0bc0cf94a62 100644
--- a/rocky/rocky/templates/two_factor/core/setup.html
+++ b/rocky/rocky/templates/two_factor/core/setup.html
@@ -21,11 +21,11 @@ {% trans "Enable Two-Factor Authentication" %}
{% translate "QR code" %}
-
+
{% translate "Setup key" %}
-
+
@@ -44,7 +44,8 @@
{% trans "Enable Two-Factor Authentication" %}
{% include "two_factor/_wizard_forms.html" with step=wizard.steps.current %}
{# hidden submit button to enable [enter] key #}
-
+
{% include "two_factor/_wizard_actions.html" with step=wizard.steps.current %}
+
{% endblock content %}
diff --git a/rocky/rocky/templates/two_factor/core/setup_complete.html b/rocky/rocky/templates/two_factor/core/setup_complete.html
index 95d7b3c40d9..006c3678299 100644
--- a/rocky/rocky/templates/two_factor/core/setup_complete.html
+++ b/rocky/rocky/templates/two_factor/core/setup_complete.html
@@ -17,10 +17,10 @@
{% else %}
{% blocktrans trimmed %}
- However, it might happen that you don't have access to
- your primary token device. To enable account recovery, add a phone
- number.
- {% endblocktrans %}
+ However, it might happen that you don't have access to
+ your primary token device. To enable account recovery, add a phone
+ number.
+ {% endblocktrans %}
{% trans "Back to Account Security" %}
diff --git a/rocky/rocky/templates/two_factor/profile/disable.html b/rocky/rocky/templates/two_factor/profile/disable.html
index e2899b63548..fef759d7974 100644
--- a/rocky/rocky/templates/two_factor/profile/disable.html
+++ b/rocky/rocky/templates/two_factor/profile/disable.html
@@ -11,8 +11,10 @@
{% csrf_token %}
- {% blocktrans trimmed %}You are about to disable two-factor authentication. This
- weakens your account security, are you sure?{% endblocktrans %}
+ {% blocktrans trimmed %}
+ You are about to disable two-factor authentication. This
+ weakens your account security, are you sure?
+ {% endblocktrans %}
{% include "partials/form/fieldset.html" with fields=form %}
diff --git a/rocky/rocky/templates/two_factor/profile/profile.html b/rocky/rocky/templates/two_factor/profile/profile.html
index 503c32c1cb3..22e8f9c39e4 100644
--- a/rocky/rocky/templates/two_factor/profile/profile.html
+++ b/rocky/rocky/templates/two_factor/profile/profile.html
@@ -21,8 +21,10 @@
{% if available_phone_methods %}
{% trans "Backup Phone Numbers" %}
- {% blocktrans trimmed %}If your primary method is not available, we are able to
- send backup tokens to the phone numbers listed below.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ If your primary method is not available, we are able to
+ send backup tokens to the phone numbers listed below.
+ {% endblocktrans %}
{% for phone in backup_phones %}
@@ -43,30 +45,36 @@ {% trans "Backup Phone Numbers" %}
{% endif %}
{% trans "Backup Tokens" %}
- {% blocktrans trimmed %}If you don't have any device with you, you can access
- your account using backup tokens.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ If you don't have any device with you, you can access
+ your account using backup tokens.
+ {% endblocktrans %}
{% blocktrans trimmed count counter=backup_tokens %}
- You have only one backup token remaining.
- {% plural %}
- You have {{ counter }} backup tokens remaining.
- {% endblocktrans %}
+ You have only one backup token remaining.
+ {% plural %}
+ You have {{ counter }} backup tokens remaining.
+ {% endblocktrans %}
{% trans "Show Codes" %}
{% trans "Disable Two-Factor Authentication" %}
- {% blocktrans trimmed %}However we strongly discourage you to do so, you can
- also disable two-factor authentication for your account.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ However we strongly discourage you to do so, you can
+ also disable two-factor authentication for your account.
+ {% endblocktrans %}
{% trans "Disable Two-Factor Authentication" %}
{% else %}
- {% blocktrans trimmed %}Two-factor authentication is not enabled for your
- account. Enable two-factor authentication for enhanced account
- security.{% endblocktrans %}
+ {% blocktrans trimmed %}
+ Two-factor authentication is not enabled for your
+ account. Enable two-factor authentication for enhanced account
+ security.
+ {% endblocktrans %}
{% trans "Enable Two-Factor Authentication" %}