-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
65 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% extends "layouts/base.html" %} | ||
|
||
{% load i18n %} | ||
{% load static %} | ||
|
||
{% block content %} | ||
{% include "header.html" %} | ||
|
||
<main id="main-content" tabindex="-1" class="crisisroom"> | ||
<section> | ||
<div> | ||
<h1>{% translate "Crisis Room" %}</h1> | ||
<p class="emphasized">{% translate "Crisis Room overview for all organizations" %}</p> | ||
</div> | ||
{% include "crisis_room_findings.html" %} | ||
|
||
</section> | ||
</main> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,51 @@ | ||
{% extends "layouts/base.html" %} | ||
|
||
{% load i18n %} | ||
{% load static %} | ||
|
||
{% block content %} | ||
{% include "header.html" %} | ||
|
||
<main id="main-content" tabindex="-1" class="crisisroom"> | ||
{% if organizations_dashboards %} | ||
{% if organizations_findings_summary.total_finding_types != 0 %} | ||
<section> | ||
<div> | ||
<h1>{% translate "Crisis Room" %}</h1> | ||
<p class="emphasized">{% translate "Crisis Room overview for all organizations" %}</p> | ||
</div> | ||
{% if organizations_dashboards %} | ||
{% if organizations_findings_summary.total_finding_types != 0 %} | ||
<section> | ||
<div> | ||
<div> | ||
<h2>{% translate "Findings overview" %}</h2> | ||
<p> | ||
{% blocktranslate %} | ||
This overview shows the total number of findings per | ||
severity that have been identified for all organizations. | ||
{% endblocktranslate %} | ||
</p> | ||
</div> | ||
{% include "partials/report_severity_totals_table.html" with data=organizations_findings_summary %} | ||
|
||
</div> | ||
</section> | ||
<section> | ||
<div> | ||
<div> | ||
<h2>{% translate "Findings per organization" %}</h2> | ||
<p> | ||
{% blocktranslate %} | ||
This table shows the findings that have been identiefied for each organization, | ||
sorted by the finding types and grouped by organizations. | ||
{% endblocktranslate %} | ||
</p> | ||
</div> | ||
{% include "findings_report/report.html" with is_dashboard_findings="yes" %} | ||
<div> | ||
<h2>{% translate "Findings overview" %}</h2> | ||
<p> | ||
{% blocktranslate %} | ||
This overview shows the total number of findings per | ||
severity that have been identified for all organizations. | ||
{% endblocktranslate %} | ||
</p> | ||
</div> | ||
{% include "partials/report_severity_totals_table.html" with data=organizations_findings_summary %} | ||
|
||
</div> | ||
</section> | ||
{% else %} | ||
<h3>{% translate "Findings overview" %}</h3> | ||
</div> | ||
</section> | ||
<section> | ||
<div> | ||
<div> | ||
<h2>{% translate "Findings per organization" %}</h2> | ||
<p> | ||
{% blocktranslate %} | ||
No findings have been identified yet. As soon as they have been | ||
identified, they will be shown on this page. | ||
This table shows the findings that have been identiefied for each organization, | ||
sorted by the finding types and grouped by organizations. | ||
{% endblocktranslate %} | ||
</p> | ||
{% endif %} | ||
{% else %} | ||
<p> | ||
{% blocktranslate %} | ||
There are no organizations yet. After creating an organization, | ||
the identified findings with severity 'critical' and 'high' will be shown here. | ||
{% endblocktranslate %} | ||
</p> | ||
{% endif %} | ||
</div> | ||
{% include "findings_report/report.html" with is_dashboard_findings="yes" %} | ||
|
||
</div> | ||
</section> | ||
</main> | ||
{% endblock content %} | ||
{% else %} | ||
<h3>{% translate "Findings overview" %}</h3> | ||
<p> | ||
{% blocktranslate %} | ||
No findings have been identified yet. As soon as they have been | ||
identified, they will be shown on this page. | ||
{% endblocktranslate %} | ||
</p> | ||
{% endif %} | ||
{% else %} | ||
<p> | ||
{% blocktranslate %} | ||
There are no organizations yet. After creating an organization, | ||
the identified findings with severity 'critical' and 'high' will be shown here. | ||
{% endblocktranslate %} | ||
</p> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters