changement template PDF
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -61,6 +74,11 @@
|
||||
</head>
|
||||
|
||||
<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,7 +131,8 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<hr>
|
||||
<table class="desc">
|
||||
<div class="page-avoid">
|
||||
<table class="desc page-avoid">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="">
|
||||
@@ -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>
|
||||
@@ -152,7 +174,9 @@
|
||||
</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%}
|
||||
|
Reference in New Issue
Block a user