From cbe365ccd1ce29bf9289ee330db0b60f0d9799eb Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Tue, 12 Sep 2023 18:08:01 +0200 Subject: [PATCH] Ajout impression --- .../studenteval/all_pdf_template.html | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/studenteval/templates/studenteval/all_pdf_template.html b/studenteval/templates/studenteval/all_pdf_template.html index dcc96a4..d336c4c 100644 --- a/studenteval/templates/studenteval/all_pdf_template.html +++ b/studenteval/templates/studenteval/all_pdf_template.html @@ -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; + } + + + {%for object in objects%} -

Liste des évaluations #{{object.ID}} {{object.sStudent}}

+ + + + + +
+

Liste des évaluations #{{object.ID}} {{object.sStudent}}

+
- ClercNet Logo @@ -155,6 +170,7 @@
+ {%endfor%}