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>
|
||||
<html lang="fr">
|
||||
{% extends "sco_page.html" %}
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<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>
|
||||
{% block styles %}
|
||||
{{super()}}
|
||||
<link rel="stylesheet" href="/ScoDoc/static/css/bulletin-but.css">
|
||||
{% endblock %}
|
||||
|
||||
<body spellcheck=true contenteditable=//true>
|
||||
<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>
|
||||
{% block app_content %}
|
||||
|
||||
<!--------------------------->
|
||||
<!-- Semestre -->
|
||||
<!--------------------------->
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<!--------------------------->
|
||||
<!-- Synthèse -->
|
||||
<!--------------------------->
|
||||
<section>
|
||||
<!--------------------------->
|
||||
<!-- Semestre -->
|
||||
<!--------------------------->
|
||||
<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>
|
||||
<h2>Synthèse</h2>
|
||||
<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>
|
||||
<h2>Synthèse</h2>
|
||||
<em>La moyenne des ressources dans une UE dépend des poids donnés aux évaluations.</em>
|
||||
</div>
|
||||
<div class=synthese></div>
|
||||
</section>
|
||||
|
||||
<!--------------------------->
|
||||
<!-- Evaluations -->
|
||||
<!--------------------------->
|
||||
<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 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 class=evaluations></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class=synthese></div>
|
||||
</section>
|
||||
|
||||
<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>
|
||||
<!--------------------------->
|
||||
<!-- Evaluations -->
|
||||
<!--------------------------->
|
||||
<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 class=sae></div>
|
||||
</section>
|
||||
</div>
|
||||
<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>
|
||||
let dataSrc = "{{bul_url|safe}}";
|
||||
</script>
|
||||
<script src="/ScoDoc/static/js/bulletin-but.js"></script>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<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_permissions import Permission
|
||||
from app.scodoc.TrivialFormulator import TrivialFormulator
|
||||
from app.views import ScoData
|
||||
|
||||
|
||||
def sco_publish(route, function, permission, methods=["GET"]):
|
||||
@ -304,6 +305,7 @@ def formsemestre_bulletinetud(
|
||||
etudid=etudid,
|
||||
format="json",
|
||||
),
|
||||
sco=ScoData(),
|
||||
)
|
||||
|
||||
return sco_bulletins.formsemestre_bulletinetud(
|
||||
|
Loading…
Reference in New Issue
Block a user