Add FontAwesome webfonts and update templates for Risiko Management
- Added FontAwesome webfont files: fa-brands-400.woff2, fa-regular-400.woff2, fa-solid-900.woff2, and fa-v4compatibility.woff2.
- Updated base.html to include FontAwesome stylesheet.
- Renamed the application title from "Risiko Management" to "ISO27001 Management".
- Enhanced navigation menu with dynamic active states for Dashboard, Statistics, Risks, Controls, and Incidents.
- Created new templates for dashboard, controls, incidents, risks, and statistics with breadcrumb navigation.
2025-09-07 23:07:56 +02:00
|
|
|
|
{% extends "base.html" %}
|
2025-09-12 13:04:04 +02:00
|
|
|
|
{% load i18n risk_extras %}
|
|
|
|
|
|
Add FontAwesome webfonts and update templates for Risiko Management
- Added FontAwesome webfont files: fa-brands-400.woff2, fa-regular-400.woff2, fa-solid-900.woff2, and fa-v4compatibility.woff2.
- Updated base.html to include FontAwesome stylesheet.
- Renamed the application title from "Risiko Management" to "ISO27001 Management".
- Enhanced navigation menu with dynamic active states for Dashboard, Statistics, Risks, Controls, and Incidents.
- Created new templates for dashboard, controls, incidents, risks, and statistics with breadcrumb navigation.
2025-09-07 23:07:56 +02:00
|
|
|
|
{% block crumbs %}
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<li><a href="{% url 'risks:list_incidents' %}">{% trans "Incidents" %}</a></li>
|
|
|
|
|
<li><a href="{% url 'admin:risks_incident_add' %}"><span class="icon breadcrumb-add-icon"><i class="fas fa-add"></i></span></a></li>
|
Add FontAwesome webfonts and update templates for Risiko Management
- Added FontAwesome webfont files: fa-brands-400.woff2, fa-regular-400.woff2, fa-solid-900.woff2, and fa-v4compatibility.woff2.
- Updated base.html to include FontAwesome stylesheet.
- Renamed the application title from "Risiko Management" to "ISO27001 Management".
- Enhanced navigation menu with dynamic active states for Dashboard, Statistics, Risks, Controls, and Incidents.
- Created new templates for dashboard, controls, incidents, risks, and statistics with breadcrumb navigation.
2025-09-07 23:07:56 +02:00
|
|
|
|
{% endblock %}
|
2025-09-12 13:04:04 +02:00
|
|
|
|
|
Add FontAwesome webfonts and update templates for Risiko Management
- Added FontAwesome webfont files: fa-brands-400.woff2, fa-regular-400.woff2, fa-solid-900.woff2, and fa-v4compatibility.woff2.
- Updated base.html to include FontAwesome stylesheet.
- Renamed the application title from "Risiko Management" to "ISO27001 Management".
- Enhanced navigation menu with dynamic active states for Dashboard, Statistics, Risks, Controls, and Incidents.
- Created new templates for dashboard, controls, incidents, risks, and statistics with breadcrumb navigation.
2025-09-07 23:07:56 +02:00
|
|
|
|
{% block content %}
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<!-- Filter Section -->
|
|
|
|
|
<section class="section has-background-light py-2">
|
|
|
|
|
<form method="get" class="mb-4">
|
|
|
|
|
<div class="columns is-multiline is-vcentered">
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<!-- Filter: Incident -->
|
|
|
|
|
<div class="column is-2">
|
|
|
|
|
<label class="label is-small">{% trans "Incidents" %}</label>
|
|
|
|
|
<div class="select is-small is-fullwidth">
|
|
|
|
|
<select name="incident" onchange="this.form.submit()">
|
|
|
|
|
<option value="">{% trans "All" %}</option>
|
|
|
|
|
{% for i in incident_choices %}
|
|
|
|
|
<option value="{{ i.id }}" {% if request.GET.incident == i.id|stringformat:"s" %}selected{% endif %}>
|
|
|
|
|
{{ i.title }}
|
|
|
|
|
</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
</div>
|
2025-09-12 13:04:04 +02:00
|
|
|
|
</div><!-- Filter: Incident End -->
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<!-- Filter: Risk -->
|
|
|
|
|
<div class="column is-2">
|
|
|
|
|
<label class="label is-small">{% trans "Risks" %}</label>
|
|
|
|
|
<div class="select is-small is-fullwidth">
|
|
|
|
|
<select name="risk" onchange="this.form.submit()">
|
|
|
|
|
<option value="">{% trans "All" %}</option>
|
|
|
|
|
{% for r in risk_choices %}
|
|
|
|
|
<option value="{{ r.id }}" {% if request.GET.risk == r.id|stringformat:"s" %}selected{% endif %}>
|
|
|
|
|
{{ r.title }}
|
|
|
|
|
</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
</div>
|
2025-09-12 13:04:04 +02:00
|
|
|
|
</div><!-- Filter: Risk End -->
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<!-- Filter: Status -->
|
|
|
|
|
<div class="column is-2">
|
|
|
|
|
<label class="label is-small">{% trans "Status" %}</label>
|
|
|
|
|
<div class="select is-small is-fullwidth">
|
|
|
|
|
<select name="status" onchange="this.form.submit()">
|
|
|
|
|
<option value="">{% trans "All" %}</option>
|
|
|
|
|
{% for key,label in status_choices %}
|
|
|
|
|
<option value="{{ key }}" {% if request.GET.status == key %}selected{% endif %}>
|
|
|
|
|
{{ label }}
|
|
|
|
|
</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
</div>
|
2025-09-12 13:04:04 +02:00
|
|
|
|
</div><!-- Filter: Status End -->
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<!-- Filter: Reporter -->
|
|
|
|
|
<div class="column is-2">
|
|
|
|
|
<label class="label is-small">{% trans "Reported by" %}</label>
|
|
|
|
|
<div class="select is-small is-fullwidth">
|
|
|
|
|
<select name="reporter" onchange="this.form.submit()">
|
|
|
|
|
<option value="">{% trans "All" %}</option>
|
|
|
|
|
{% for u in user_choices %}
|
|
|
|
|
<option value="{{ u.id }}" {% if request.GET.reporter == u.id|stringformat:"s" %}selected{% endif %}>
|
|
|
|
|
{{ u.get_full_name|default:u.username }}
|
|
|
|
|
</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
</div>
|
2025-09-12 13:04:04 +02:00
|
|
|
|
</div><!-- Filter: Reporter End -->
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<!-- Filter: Reset -->
|
|
|
|
|
<div class="column is-2">
|
|
|
|
|
<label class="label is-small"> </label>
|
|
|
|
|
<div class="control">
|
|
|
|
|
<a href="{% url 'risks:list_incidents' %}" class="button is-small is-light is-fullwidth">
|
|
|
|
|
<span class="icon"><i class="fas fa-undo"></i></span>
|
|
|
|
|
<span>{% trans "Reset filters" %}</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!-- Filter: Reset End -->
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</section><!-- Filter Section End -->
|
Refactor risk management application with enhanced localization, user authentication, and UI improvements
- Added verbose names for Incident and ResidualRisk models for better clarity in admin interface.
- Updated impact choices for ResidualRisk and Risk models to ensure consistency and clarity.
- Implemented gettext_lazy for translatable strings in models and choices.
- Enhanced the Risk, ResidualRisk, Control, AuditLog, and Incident models with Meta options for better admin representation.
- Added login required decorators to views for improved security.
- Introduced new CSS variables and classes for better visual representation of risk levels.
- Created custom template tags for dynamic CSS class assignment based on risk likelihood and impact.
- Improved dashboard and statistics views with user authentication checks.
- Updated templates for risks, controls, incidents, and admin interface to include edit and delete options for staff users.
- Added new login and logout templates for user authentication.
- Enhanced list views for risks, controls, and incidents to include action buttons for staff users.
- Improved overall UI/UX with Bulma CSS framework for a more modern look and feel.
2025-09-09 14:25:59 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
<!-- Incidents Table -->
|
|
|
|
|
<div class="table-container">
|
|
|
|
|
<table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr class="has-background-prosoft">
|
|
|
|
|
<th class="has-text-centered">{% trans "No." %}</th>
|
|
|
|
|
<th class="has-text-centered">{% trans "Incident" %}</th>
|
|
|
|
|
<th class="has-text-centered">{% trans "Linked Risks" %}</th>
|
|
|
|
|
<th class="has-text-centered">{% trans "Status" %}</th>
|
|
|
|
|
<th class="has-text-centered has-text-prosoft">{% trans "Reported on" %}</th>
|
|
|
|
|
<th class="has-text-centered has-text-prosoft">{% trans "Reported by" %}</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for i in incidents %}
|
|
|
|
|
<tr onclick="window.location.href='{% url 'risks:show_incident' i.id %}'" style="cursor:pointer;">
|
|
|
|
|
<td>{{ i.id }}</td>
|
|
|
|
|
<td>{{ i.title }}</td>
|
|
|
|
|
<td>
|
|
|
|
|
{% if i.related_risks.exists %}
|
|
|
|
|
<ul>
|
|
|
|
|
{% for r in i.related_risks.all %}
|
|
|
|
|
<li>{{ r.title }}</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
{% else %}
|
|
|
|
|
<span class="has-text-grey">–</span>
|
Refactor risk management application with enhanced localization, user authentication, and UI improvements
- Added verbose names for Incident and ResidualRisk models for better clarity in admin interface.
- Updated impact choices for ResidualRisk and Risk models to ensure consistency and clarity.
- Implemented gettext_lazy for translatable strings in models and choices.
- Enhanced the Risk, ResidualRisk, Control, AuditLog, and Incident models with Meta options for better admin representation.
- Added login required decorators to views for improved security.
- Introduced new CSS variables and classes for better visual representation of risk levels.
- Created custom template tags for dynamic CSS class assignment based on risk likelihood and impact.
- Improved dashboard and statistics views with user authentication checks.
- Updated templates for risks, controls, incidents, and admin interface to include edit and delete options for staff users.
- Added new login and logout templates for user authentication.
- Enhanced list views for risks, controls, and incidents to include action buttons for staff users.
- Improved overall UI/UX with Bulma CSS framework for a more modern look and feel.
2025-09-09 14:25:59 +02:00
|
|
|
|
{% endif %}
|
2025-09-12 13:04:04 +02:00
|
|
|
|
</td>
|
|
|
|
|
<td>{{ i.get_status_display }}</td>
|
|
|
|
|
<td>{{ i.date_reported|date:"d.m.Y" }}</td>
|
|
|
|
|
<td>{{ i.reported_by|default:"–" }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% empty %}
|
|
|
|
|
<tr><td colspan="6" class="has-text-grey has-text-centered">{% trans "No incidents found." %}</td></tr>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div><!-- Incidents Table End -->
|
feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
|
|
|
|
|
2025-09-12 13:04:04 +02:00
|
|
|
|
{% endblock %}
|