forked from ScoDoc/ScoDoc
intégration bulletin dans template std
This commit is contained in:
parent
3b30a67b17
commit
fa4dcb3169
@ -1,18 +1,14 @@
|
||||
<!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">
|
||||
{% block app_content %}
|
||||
|
||||
<div class="wait"></div>
|
||||
<main class="releve">
|
||||
<!--------------------------->
|
||||
<!-- Info. étudiant -->
|
||||
<!--------------------------->
|
||||
@ -80,13 +76,13 @@
|
||||
<div class=sae></div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
<script>
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script>
|
||||
let dataSrc = "{{bul_url|safe}}";
|
||||
</script>
|
||||
<script src="/ScoDoc/static/js/bulletin-but.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</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