Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Jun 30, 2023
1 parent fb27e56 commit 0f02aa0
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 15 deletions.
19 changes: 16 additions & 3 deletions src/pe_reports/home/templates/home/home.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{% extends "base.html" %} {% block content %} {#
<div class="container">
#} {#
<img#} {# src="{{ url_for('static', filename='CISAImage.png') }}" #} {# alt="Cinque Terre" #} {# width="200" #} {#
height="200" #} {# />#} {#{% if current_user.is_authenticated %}#} {#
<img#}
{#
src="{{ url_for('static', filename='CISAImage.png') }}"
#}
{#
alt="Cinque Terre"
#}
{#
width="200"
#}
{#
height="200"
#}
{#
/>#} {#{% if current_user.is_authenticated %}#} {#
<p>Welcome {{ current_user.username }}</p>
#} {# {% else %}#} {#
<p>Please Login</p>
Expand All @@ -29,4 +42,4 @@
});
</script>

{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,48 @@
<div class="container">
<div class="row justify-content-lg-center">
<div class="d-flex justify-content-center">
<button type="button" class="btn btn-primary" style="margin-left: 0%" onclick="showReportDiv()">
<button
type="button"
class="btn btn-primary"
style="margin-left: 0%"
onclick="showReportDiv()"
>
Generate Reports
</button>
</div>
</div>
<br />
<div class="row justify-content-lg-center">
<div class="d-flex justify-content-center">
<button type="button" class="btn btn-primary" style="margin-left: 0%" onclick="showBulletinDiv()">
<button
type="button"
class="btn btn-primary"
style="margin-left: 0%"
onclick="showBulletinDiv()"
>
Generate Cybersixgill Bulletin
</button>
</div>
</div>
<br />
<div class="row justify-content-lg-center">
<div class="d-flex justify-content-center">
<button type="button" class="btn btn-primary" style="margin-left: 0%" onclick="showCredsDiv()">
<button
type="button"
class="btn btn-primary"
style="margin-left: 0%"
onclick="showCredsDiv()"
>
Generate Credential Bulletin
</button>
</div>
</div>
<br />
<div id="ReportDiv" class="row justify-content-lg-center" style="display: none">
<div
id="ReportDiv"
class="row justify-content-lg-center"
style="display: none"
>
<div class="d-flex justify-content-center">
<div class="card" id="content">
<div class="card-header text-white bg-primary mb-3">
Expand All @@ -46,7 +65,11 @@
</div>
</div>
</div>
<div id="BulletinDiv" class="row justify-content-lg-center" style="display: none">
<div
id="BulletinDiv"
class="row justify-content-lg-center"
style="display: none"
>
<div class="d-flex justify-content-center">
<div class="card" id="content">
<div class="card-header text-white bg-primary mb-3">
Expand All @@ -71,7 +94,11 @@
</div>
</div>
</div>
<div id="CredsDiv" class="row justify-content-lg-center" style="display: none">
<div
id="CredsDiv"
class="row justify-content-lg-center"
style="display: none"
>
<div class="d-flex justify-content-center">
<div class="card" id="content">
<div class="card-header text-white bg-primary mb-3">
Expand Down Expand Up @@ -152,4 +179,4 @@
</script>

{% endblock %}
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
{% extends "base.html" %} {% block content %}

<div class="container">
<img src="{{ url_for('static', filename='CISAImage.png') }}" alt="CISA seal image" width="200" height="200" />
<img
src="{{ url_for('static', filename='CISAImage.png') }}"
alt="CISA seal image"
width="200"
height="200"
/>
<div id="loading" class="justify-content-lg-center"></div>
<div class="row justify-content-lg-center">
<div class="row col-lg-6 offset-lg-3">
<input type="hidden" value="{% block title %} Stakeholder {% endblock%}" />
<input
type="hidden"
value="{% block title %} Stakeholder {% endblock%}"
/>

<button type="button" class="btn btn-primary" onclick="showDiv()">
Add External Stakeholder
Expand Down Expand Up @@ -59,4 +67,4 @@
</script>

{% endblock %}
</div>
</div>
9 changes: 7 additions & 2 deletions src/pe_reports/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
<div class="container">
<div class="row">
<div class="col-lg-3">
<img src="{{ url_for('static', filename='CISAImage.png') }}" alt="CISA seal image" width="200" height="200" />
<img
src="{{ url_for('static', filename='CISAImage.png') }}"
alt="CISA seal image"
width="200"
height="200"
/>
</div>
<input type="hidden" value="{% block title %} Home {% endblock%}" />

Expand Down Expand Up @@ -39,4 +44,4 @@
</script>

{% endblock %}
</div>
</div>

0 comments on commit 0f02aa0

Please sign in to comment.