2021-12-06 21:19:40 +01:00
|
|
|
{% extends "sco_page.html" %}
|
2021-12-06 20:58:39 +01:00
|
|
|
|
2021-12-06 21:19:40 +01:00
|
|
|
{% block styles %}
|
|
|
|
{{super()}}
|
|
|
|
{% endblock %}
|
2021-12-06 20:58:39 +01:00
|
|
|
|
2021-12-06 21:19:40 +01:00
|
|
|
{% block app_content %}
|
2021-12-06 20:58:39 +01:00
|
|
|
|
2021-12-18 02:30:47 +01:00
|
|
|
<releve-but></releve-but>
|
2021-12-06 20:58:39 +01:00
|
|
|
|
2021-12-06 21:19:40 +01:00
|
|
|
{% endblock %}
|
2021-12-06 20:58:39 +01:00
|
|
|
|
2021-12-06 21:19:40 +01:00
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
2021-12-18 02:30:47 +01:00
|
|
|
|
|
|
|
<script src="/ScoDoc/static/js/releve-but.js"></script>
|
2021-12-06 21:19:40 +01:00
|
|
|
<script>
|
|
|
|
let dataSrc = "{{bul_url|safe}}";
|
2021-12-18 02:30:47 +01:00
|
|
|
fetch(dataSrc)
|
|
|
|
.then(r => { return r.json() })
|
|
|
|
.then(json => {
|
2021-12-18 03:32:18 +01:00
|
|
|
let releve = document.querySelector("releve-but");
|
|
|
|
releve.showData = json;
|
|
|
|
// Syle custome à ajouter
|
2021-12-18 03:36:00 +01:00
|
|
|
releve.shadowRoot.innerHTML += `
|
2021-12-18 03:32:18 +01:00
|
|
|
<style>
|
|
|
|
.module>div, .dateInscription{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>`;
|
2021-12-18 02:30:47 +01:00
|
|
|
})
|
2021-12-06 21:19:40 +01:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|