Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CARA
CARA
Commits
70e9f873
Commit
70e9f873
authored
Nov 19, 2021
by
Andre Henriques
Browse files
Merge branch 'feature/pdf_generator' into 'master'
Report PDF version bugs Closes
#210
See merge request
!285
parents
72035393
daead17f
Pipeline
#3262495
passed with stages
in 5 minutes and 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cara/apps/calculator/static/css/report.css
View file @
70e9f873
...
...
@@ -136,6 +136,9 @@ p.notes {
.card
{
page-break-inside
:
avoid
;
}
#link-results
{
display
:
none
;
}
#disclaimer
{
border
:
2px
solid
black
;
padding
:
15px
;
...
...
cara/apps/calculator/templates/base/calculator.report.html.j2
View file @
70e9f873
...
...
@@ -157,7 +157,7 @@
{% endblock report_results %}
{% block report_footer %}
<div
class=
"card bg-light mb-3"
>
<div
class=
"card bg-light mb-3"
id=
"link-results"
>
<div
class=
"card-header"
><strong>
Link to reproduce results
</strong>
<button
class=
"icon_button p-0 float-right"
data-toggle=
"collapse"
href=
"#collapseQRcode"
role=
"button"
aria-expanded=
"true"
aria-controls=
"collapseQRcode"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
class=
"bi bi-chevron-expand"
viewBox=
"0 0 16 16"
>
...
...
@@ -402,7 +402,7 @@
{% block disclaimer_container %}
<br><br><br>
<div
style=
"border: #dee2e6 1px solid; margin: 1%; padding: 20px"
class=
"rounded"
>
<div
id=
"disclaimer"
style=
"border: #dee2e6 1px solid; margin: 1%; padding: 20px"
class=
"rounded"
>
{% block disclaimer %}
<p
class=
"image"
>
<img
align=
"middle"
src=
"{{ calculator_prefix }}/static/images/disclaimer.jpg"
width=
"40"
height=
"40"
><b>
Disclaimer:
</b><br><br></p>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment