Ajout impression

This commit is contained in:
Ambulance Clerc
2023-09-12 18:08:01 +02:00
parent 5834c6aed1
commit cbe365ccd1

View File

@@ -11,23 +11,23 @@
font-size: 8pt;
}
table {
.header-info,.global , .desc {
table-layout: fixed;
width: 100%;
border: 1px solid black;
}
table th {
.header-info th {
text-align: left;
padding: 3px;
padding-bottom: 0;
}
table td {
.header-info td {
width: 40%;
padding: 1mm;
}
table th{
.header-info th{
width: 20%;
padding: 1mm;
}
@@ -48,14 +48,29 @@
h3{
font-size: 14pt;
}
.clerc-logo{
width: 100px;
right: 0;
top: 500px;
position: fixed;
}
</style>
</head>
<body>
{%for object in objects%}
<h3>Liste des évaluations #{{object.ID}} {{object.sStudent}}</h3>
<table style="padding-bottom: 0.2cm">
<tr>
<td width="90%">
<h3>Liste des évaluations #{{object.ID}} {{object.sStudent}}</h3>
</td>
<td><img src="https://cloud.ambulance-clerc.ch/index.php/s/CpHfC8HoXNfdoCZ/preview" alt="ClercNet Logo" class="clerc-logo" style="float: right"></td>
</tr>
</table>
<img src="/static/img/logo_clerc_200.png" alt="ClercNet Logo" class="img-circle brand-image elevation-3" style="opacity: .8">
<table class="header-info">
<tbody>
<tr class="">
@@ -155,6 +170,7 @@
</tr>
</tbody>
</table>
<pdf:nextpage />
{%endfor%}