33 lines
619 B
HTML
33 lines
619 B
HTML
{% extends "sco_page.html" %}
|
|
|
|
{% block styles %}
|
|
{{super()}}
|
|
{% endblock %}
|
|
|
|
{% block app_content %}
|
|
|
|
<releve-but></releve-but>
|
|
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{{ super() }}
|
|
|
|
<script src="/ScoDoc/static/js/releve-but.js"></script>
|
|
<script>
|
|
let dataSrc = "{{bul_url|safe}}";
|
|
fetch(dataSrc)
|
|
.then(r => { return r.json() })
|
|
.then(json => {
|
|
let releve = document.querySelector("releve-but");
|
|
releve.showData = json;
|
|
// Syle custome à ajouter
|
|
releve.shadowRoot.innerHTML += `
|
|
<style>
|
|
.module>div, .dateInscription{
|
|
display: none;
|
|
}
|
|
</style>`;
|
|
})
|
|
</script>
|
|
{% endblock %} |