2025-09-07 20:52:19 +02:00
|
|
|
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="de">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Risiko Management</title>
|
2025-09-08 08:10:30 +02:00
|
|
|
<link rel="stylesheet" href="{% static 'css/bulma.min.css' %}">
|
|
|
|
<link rel="stylesheet" href="{% static 'css/design.css' %}">
|
|
|
|
<link rel="stylesheet" href="{% static 'css/fontawesome.min.css' %}">
|
|
|
|
<link rel="stylesheet" href="{% static 'css/print.css' %}" media="print">
|
2025-09-07 20:52:19 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2025-09-08 08:10:30 +02:00
|
|
|
<header class="topbar">
|
|
|
|
<nav class="navbar topbar-nav" role="navigation" aria-label="main navigation">
|
|
|
|
<div class="navbar-brand">
|
|
|
|
<a class="navbar-item logo" href="/risks/index">
|
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
|
|
|
<strong class="logo-text">RM</strong>
|
2025-09-08 08:10:30 +02:00
|
|
|
</a>
|
2025-09-07 20:52:19 +02:00
|
|
|
|
2025-09-08 08:10:30 +02:00
|
|
|
<!-- Burger Menu für Mobile -->
|
|
|
|
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="mainNavbar">
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="mainNavbar" class="navbar-menu">
|
|
|
|
<div class="navbar-start">
|
|
|
|
<div class="navbar-item has-dropdown is-hoverable">
|
|
|
|
<a class="navbar-link">Allgemein</a>
|
|
|
|
<div class="navbar-dropdown">
|
|
|
|
<a class="navbar-item" href="/risks/index">Dashboard</a>
|
|
|
|
<a class="navbar-item" href="/risks/stats">Statistiken</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="navbar-item has-dropdown is-hoverable">
|
|
|
|
<a class="navbar-link">Risikomanagement</a>
|
|
|
|
<div class="navbar-dropdown">
|
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
|
|
|
<a class="navbar-item" href="/risks/list_risks">Risikoanalyse</a>
|
|
|
|
<a class="navbar-item" href="/risks/list_controls">Maßnahmen</a>
|
|
|
|
<a class="navbar-item" href="/risks/list_incidents">Vorfälle</a>
|
2025-09-08 08:10:30 +02:00
|
|
|
</div>
|
2025-09-07 20:52:19 +02:00
|
|
|
</div>
|
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-07 20:52:19 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
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
|
|
|
<!-- Profil -->
|
2025-09-08 08:10:30 +02:00
|
|
|
<div class="navbar-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
|
|
|
<!-- Suche -->
|
|
|
|
<div class="navbar-item">
|
|
|
|
<!--
|
|
|
|
<div class="field">
|
|
|
|
<p class="control">
|
|
|
|
<input class="input is-small" type="text" placeholder="Suchen">
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
-->
|
2025-09-08 08:10:30 +02:00
|
|
|
</div>
|
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
|
|
|
|
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
<!-- Profil-Dropdown -->
|
|
|
|
<div class="navbar-item has-dropdown is-hoverable">
|
|
|
|
<a class="navbar-link">
|
|
|
|
<!-- Initialen-Badge -->
|
|
|
|
<span class="tag is-link is-light is-medium is-rounded"
|
|
|
|
style="width:2.25rem;height:2.25rem;display:inline-flex;align-items:center;justify-content:center;">
|
|
|
|
{{ request.user.username|slice:":2"|upper }}
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="navbar-dropdown is-right">
|
|
|
|
{% if request.user.is_staff %}
|
|
|
|
<a class="navbar-item" href="/admin/">Admin</a>
|
|
|
|
<hr class="navbar-divider">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Logout als POST über Hidden-Form -->
|
|
|
|
<a class="navbar-item" href="#"
|
|
|
|
onclick="document.getElementById('logout-form').submit(); return false;">
|
|
|
|
Logout
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div><!-- Profil-Dropdown Ende -->
|
|
|
|
|
|
|
|
<!-- Hidden Logout Form (muss im DOM vorhanden sein) -->
|
|
|
|
<form id="logout-form" method="post" action="{% url 'logout' %}" style="display:none;">
|
|
|
|
{% csrf_token %}
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
<!-- Login-Button -->
|
|
|
|
<div class="navbar-item">
|
|
|
|
<div class="buttons">
|
|
|
|
<a class="button is-primary is-light" href="{% url 'login' %}">
|
|
|
|
<strong>Login</strong>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2025-09-08 08:10:30 +02:00
|
|
|
</nav>
|
|
|
|
</header>
|
2025-09-07 20:52:19 +02:00
|
|
|
|
|
|
|
<main class="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
|
|
|
{% block breadcrumbs %}
|
|
|
|
<nav class="breadcrumb top-breadcrumb" aria-label="breadcrumbs">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="/risks/index">
|
|
|
|
<span class="icon is-small">
|
|
|
|
<i class="fas fa-home" aria-hidden="true" style="color: #6b2bbd"></i>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% block crumbs %}
|
|
|
|
{% if title %} › {{ title }}{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
{% endblock %}
|
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 %}{% endblock %}
|
2025-09-07 20:52:19 +02:00
|
|
|
</main>
|
|
|
|
</body>
|
2025-09-08 08:10:30 +02:00
|
|
|
</html>
|