This commit is contained in:
Cloud User
2024-07-14 16:55:34 +02:00

View File

@@ -4,9 +4,22 @@
@page{
size: A4 landscape;
margin: 2cm;
}
@frame content_frame { /* Content Frame */
}
@frame footer_frame { /* Another static Frame */
-pdf-frame-content: footer_content;
left: 50pt; width: 512pt; bottom: 10pt; height: 20pt;
}
}
@page regular_template { margin: 2cm; }
.page-break {
page-break-before: always;
}
.page-avoid{
page-break-inside: avoid;
}
.header-info{
font-size: 8pt;
}
@@ -60,7 +73,12 @@
</style>
</head>
<body>
<body>
<div id="footer_content">
Évaluation étudiant clerc - page <pdf:pagenumber>
sur <pdf:pagecount>
</div>
{%for object in objects%}
<table style="padding-bottom: 0.2cm">
<tr>
@@ -71,7 +89,7 @@
</tr>
</table>
<table class="header-info">
<table class="header-info page-avoid">
<tbody>
<tr class="">
<th class=" " align="center" >Date de suivi</th>
@@ -113,8 +131,9 @@
</tbody>
</table>
<hr>
<table class="desc">
<tbody>
<div class="page-avoid">
<table class="desc page-avoid">
<tbody>
<tr>
<th class="">
Éléments positifs (auto-évaluation)
@@ -123,7 +142,7 @@
Éléments positifs (Encadrant)
</th>
</tr>
<tr>
<tr class="">
<td class="" >
{{object.o_Auto_eval.sDesc_pos | safe}}
</td>
@@ -131,10 +150,13 @@
{{object.o_Encadrant_eval.sDesc_pos | safe}}
</td>
</tr>
<tr>
<td class=""></td>
</tr>
<tr>
</tbody>
</table>
</div>
<div class="page-avoid">
<table class="desc page-break page-avoid">
<tbody>
<tr class="">
<th class="">
Éléments à améliorer (auto-évaluation)
</th>
@@ -149,10 +171,12 @@
<td class="" >
{{object.o_Encadrant_eval.sDesc_neg | safe}}
</td>
</tr>
</tr>
</tbody>
</table>
<table class="global">
</div>
<div class="page-avoid">
<table class="global page-break">
<tbody>
<tr class="">
<th class="">Avis Global</th>
@@ -170,6 +194,7 @@
</tr>
</tbody>
</table>
</div>
<pdf:nextpage />
{%endfor%}