Skip to content

Commit

Permalink
issue 20 and 22 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
1modm committed Dec 6, 2021
1 parent 5f08bcd commit 2076fd3
Show file tree
Hide file tree
Showing 9 changed files with 1,079 additions and 549 deletions.
2 changes: 1 addition & 1 deletion app/config/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ RUN wget ${EISVOGEL_REPO}/v${EISVOGEL_VERSION}/eisvogel.tex -O ${TEMPLATES_DIR}/
WORKDIR /opt/petereport

COPY Pipfile ./
RUN pipenv install --system --deploy --ignore-pipfile
RUN pipenv install --system --deploy --ignore-pipfile
753 changes: 753 additions & 0 deletions app/petereport/static/cvsscalc31.js

Large diffs are not rendered by default.

157 changes: 157 additions & 0 deletions app/petereport/static/cvsscalc31_helptext.js

Large diffs are not rendered by default.

349 changes: 79 additions & 270 deletions app/preport/templates/findings/finding_add.html

Large diffs are not rendered by default.

359 changes: 85 additions & 274 deletions app/preport/templates/findings/template_add.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/preport/templates/home/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<footer class="main-footer">
<div class="float-right d-none d-sm-block">
<b>Version</b> 0.3
<b>Version</b> 0.4
</div>
<strong>Copyright &copy; 2021 <a href="https://github.com/1modm/petereport">PeTeReport</a>.</strong> All rights reserved.
</footer>
Expand Down
2 changes: 1 addition & 1 deletion app/preport/templates/tpl/pdf/pdf_header.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ titlepage: true
titlepage-color: "{{titlepagecolor}}"
titlepage-text-color: "{{titlepagetextcolor}}"
titlepage-rule-color: "{{titlerulecolor}}"
titlepage-rule-height: {{titlepageruleheight}}
titlepage-rule-height: "{{titlepageruleheight}}"
book: false
toc-own-page: true
code-block-font-size: \scriptsize
Expand Down
2 changes: 1 addition & 1 deletion app/preport/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ def reportdownloadjupyter(request,pk):
# FINDINGS
for finding in DB_finding_query:
counter_finding += 1
template_appendix_in_finding = template_attacktree_in_finding = ''
template_appendix_in_finding = template_attacktree_in_finding = template_attacktree = ''

if finding.severity == 'Critical':
counter_finding_critical += 1
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ services:
- .:/opt/petereport
expose:
- 8000
restart: unless-stopped
restart: unless-stopped

0 comments on commit 2076fd3

Please sign in to comment.