Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
nm.debian.org
Commits
710d823c
Unverified
Commit
710d823c
authored
Apr 21, 2022
by
Enrico Zini
Browse files
Added printing instructions
parent
f2a2aea7
Pipeline
#370524
passed with stage
in 5 minutes and 36 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
person/templates/person/certificate.html
View file @
710d823c
...
...
@@ -115,11 +115,41 @@ p {
flex-grow
:
2
;
text-align
:
center
;
}
#print-instructions
{
position
:
fixed
;
right
:
5%
;
top
:
10%
;
border
:
2pt
dashed
black
;
width
:
25%
;
padding
:
1em
;
background
:
rgba
(
255
,
255
,
255
,
0.5
);
text-align
:
justify
;
font-family
:
sans-serif
;
}
#print-instructions
p
{
margin-top
:
0.5em
;
}
#print-instructions
h3
{
text-align
:
center
;
background
:
yellow
;
font-family
:
serif
;
}
</style>
{% endblock %}
{% block content %}
<div
id=
"print-instructions"
class=
"d-print-none"
>
<h3>
Printing instructions
</h3>
<p>
You can print this page or save it to PDF, and it should do the right thing.
</p>
<p>
Portrait and landscape should equally work.
</p>
<p>
In the print settings, depending on browsers, you may need to enable printing
backgrounds, and disable printing headers.
</p>
</div>
<div
id=
"cert-head"
>
<div
id=
"cert-logo"
>
<img
src=
"{% static "
debian
/
img
/
officiallogo.svg
"
%}"
></img>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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