adapt templates to new structure

This commit is contained in:
Benjamin Bertrand 2017-03-10 08:23:05 +03:00
parent 8fa922d469
commit 61446a074b
2 changed files with 46 additions and 11 deletions

View File

@ -16,6 +16,9 @@
\pagebreak
\Block{block evalPOV}\Block{endblock}
\pagebreak
\Block{block students}\Block{endblock}

View File

@ -2,32 +2,64 @@
% FILENAME: "tpl_reports_term.tex
%- block classPOV
\maketitle
{\Large Regard sur la classe}
\Var{classe.eval_tabular}
\vfill
\Var{classe.parallel_on_evals | includegraphics(document_path=directory, scale=0.5)}
\begin{multicols}{2}
Compétences
\Var{classe.pies_eff_pts_on_competence | includegraphics(document_path=directory, scale=0.3)}
Élements du programme
\Var{classe.pies_eff_pts_on_domaine | includegraphics(document_path=directory, scale=0.3)}
\end{multicols}
%- endblock
%-block evalPOV
\maketitle
{\Large Regard sur les évaluations}
\Var{classe.evals_tabular}
%-endblock
%-block students
%- for e in students
\maketitle
{\Large \Var{e["Nom"]}}
{\Large \Var{e.name}}
\vfill
\Var{e["eval"].groupby("Nom").sum()[["Mark","Bareme"]].T.to_latex()}
\Var{e.marks_tabular}
\vfill
\Var{e["quest"] | radar_on("Competence") | includegraphics(document_path=directory, scale=0.6)}
\Var{e["quest"] | radar_on("Domaine") | includegraphics(document_path=directory, scale=0.6)}
\vfill
\hspace{-2cm}
\Var{e["quest"] | pies_skills_level("Competence") | includegraphics(document_path=directory, scale=0.3)}
\Var{e.radar_on_competence | includegraphics(document_path=directory, scale=0.5)}
\Var{e.radar_on_domaine | includegraphics(document_path=directory, scale=0.5)}
\vfill
\Var{e.pies_on_competence | includegraphics(document_path=directory, scale=0.2)}
\Var{e.pies_on_domaine | includegraphics(document_path=directory, scale=0.2)}
%#\Var{conn_df}
%- if not conn_df.empty
\Var{conn_df | parallele_on("Exercice", e["Nom"]) | includegraphics(document_path=directory, scale=0.5)}
%- endif
%# %- if not conn_df.empty
%# \Var{e.parallel_on_evals(classe.eval_df) | includegraphics(document_path=directory, scale=0.5)}
%# %- endif
\vfill
\vfill