forked from ScoDoc/ScoDoc
intégration bulletin dans template std
This commit is contained in:
parent
3b30a67b17
commit
fa4dcb3169
@ -1,92 +1,88 @@
|
|||||||
<!DOCTYPE html>
|
{% extends "sco_page.html" %}
|
||||||
<html lang="fr">
|
|
||||||
|
|
||||||
<head>
|
{% block styles %}
|
||||||
<meta charset="UTF-8">
|
{{super()}}
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<link rel="stylesheet" href="/ScoDoc/static/css/bulletin-but.css">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
{% endblock %}
|
||||||
<meta name="description" content="Relevé de notes d'un semestre">
|
|
||||||
<title>Relevé de notes</title>
|
|
||||||
<link rel="stylesheet" href="/ScoDoc/static/css/bulletin-but.css">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body spellcheck=true contenteditable=//true>
|
{% block app_content %}
|
||||||
<div class="wait"></div>
|
|
||||||
<main class="releve">
|
|
||||||
<!--------------------------->
|
|
||||||
<!-- Info. étudiant -->
|
|
||||||
<!--------------------------->
|
|
||||||
<section class=etudiant>
|
|
||||||
<img class=studentPic src="" alt="Photo de l'étudiant" width=100 height=120>
|
|
||||||
<div class=infoEtudiant></div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!--------------------------->
|
<div class="wait"></div>
|
||||||
<!-- Semestre -->
|
<main class="releve">
|
||||||
<!--------------------------->
|
<!--------------------------->
|
||||||
<section>
|
<!-- Info. étudiant -->
|
||||||
<h2>Semestre </h2>
|
<!--------------------------->
|
||||||
<div class=dateInscription>Inscrit le </div>
|
<section class=etudiant>
|
||||||
<em>Les moyennes servent à situer l'étudiant dans la promotion et ne correspondent pas à des validations de
|
<img class=studentPic src="" alt="Photo de l'étudiant" width=100 height=120>
|
||||||
compétences ou d'UE.</em>
|
<div class=infoEtudiant></div>
|
||||||
<div class=infoSemestre></div>
|
</section>
|
||||||
</section>
|
|
||||||
|
|
||||||
<!--------------------------->
|
<!--------------------------->
|
||||||
<!-- Synthèse -->
|
<!-- Semestre -->
|
||||||
<!--------------------------->
|
<!--------------------------->
|
||||||
<section>
|
<section>
|
||||||
|
<h2>Semestre </h2>
|
||||||
|
<div class=dateInscription>Inscrit le </div>
|
||||||
|
<em>Les moyennes servent à situer l'étudiant dans la promotion et ne correspondent pas à des validations de
|
||||||
|
compétences ou d'UE.</em>
|
||||||
|
<div class=infoSemestre></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!--------------------------->
|
||||||
|
<!-- Synthèse -->
|
||||||
|
<!--------------------------->
|
||||||
|
<section>
|
||||||
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<h2>Synthèse</h2>
|
||||||
<h2>Synthèse</h2>
|
<em>La moyenne des ressources dans une UE dépend des poids donnés aux évaluations.</em>
|
||||||
<em>La moyenne des ressources dans une UE dépend des poids donnés aux évaluations.</em>
|
|
||||||
</div>
|
|
||||||
<div class=CTA_Liste>
|
|
||||||
Liste <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none"
|
|
||||||
stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
||||||
<path d="M18 15l-6-6-6 6" />
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class=synthese></div>
|
<div class=CTA_Liste>
|
||||||
</section>
|
Liste <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none"
|
||||||
|
stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
<!--------------------------->
|
<path d="M18 15l-6-6-6 6" />
|
||||||
<!-- Evaluations -->
|
</svg>
|
||||||
<!--------------------------->
|
|
||||||
<section>
|
|
||||||
<div>
|
|
||||||
<h2>Ressources</h2>
|
|
||||||
<div class=CTA_Liste>
|
|
||||||
Liste <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none"
|
|
||||||
stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
||||||
<path d="M18 15l-6-6-6 6" />
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class=evaluations></div>
|
</div>
|
||||||
</section>
|
<div class=synthese></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section>
|
<!--------------------------->
|
||||||
<div>
|
<!-- Evaluations -->
|
||||||
<h2>SAÉ</h2>
|
<!--------------------------->
|
||||||
<div class=CTA_Liste>
|
<section>
|
||||||
Liste <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none"
|
<div>
|
||||||
stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
<h2>Ressources</h2>
|
||||||
<path d="M18 15l-6-6-6 6" />
|
<div class=CTA_Liste>
|
||||||
</svg>
|
Liste <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none"
|
||||||
</div>
|
stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M18 15l-6-6-6 6" />
|
||||||
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
<div class=sae></div>
|
</div>
|
||||||
</section>
|
<div class=evaluations></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
</main>
|
<section>
|
||||||
|
<div>
|
||||||
|
<h2>SAÉ</h2>
|
||||||
|
<div class=CTA_Liste>
|
||||||
|
Liste <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none"
|
||||||
|
stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M18 15l-6-6-6 6" />
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class=sae></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<script>
|
</main>
|
||||||
let dataSrc = "{{bul_url|safe}}";
|
{% endblock %}
|
||||||
</script>
|
|
||||||
<script src="/ScoDoc/static/js/bulletin-but.js"></script>
|
|
||||||
|
|
||||||
</body>
|
{% block scripts %}
|
||||||
|
{{ super() }}
|
||||||
</html>
|
<script>
|
||||||
|
let dataSrc = "{{bul_url|safe}}";
|
||||||
|
</script>
|
||||||
|
<script src="/ScoDoc/static/js/bulletin-but.js"></script>
|
||||||
|
{% endblock %}
|
@ -137,6 +137,7 @@ from app.scodoc.gen_tables import GenTable
|
|||||||
from app.scodoc.sco_pdf import PDFLOCK
|
from app.scodoc.sco_pdf import PDFLOCK
|
||||||
from app.scodoc.sco_permissions import Permission
|
from app.scodoc.sco_permissions import Permission
|
||||||
from app.scodoc.TrivialFormulator import TrivialFormulator
|
from app.scodoc.TrivialFormulator import TrivialFormulator
|
||||||
|
from app.views import ScoData
|
||||||
|
|
||||||
|
|
||||||
def sco_publish(route, function, permission, methods=["GET"]):
|
def sco_publish(route, function, permission, methods=["GET"]):
|
||||||
@ -304,6 +305,7 @@ def formsemestre_bulletinetud(
|
|||||||
etudid=etudid,
|
etudid=etudid,
|
||||||
format="json",
|
format="json",
|
||||||
),
|
),
|
||||||
|
sco=ScoData(),
|
||||||
)
|
)
|
||||||
|
|
||||||
return sco_bulletins.formsemestre_bulletinetud(
|
return sco_bulletins.formsemestre_bulletinetud(
|
||||||
|
Loading…
Reference in New Issue
Block a user