1
0
forked from ScoDoc/ScoDoc
ScoDoc/app/templates/but/bulletin.html

25 lines
438 B
HTML
Raw Normal View History

{% extends "sco_page.html" %}
{% block styles %}
{{super()}}
{% endblock %}
{% block app_content %}
2021-12-18 02:30:47 +01:00
<releve-but></releve-but>
{% endblock %}
{% block scripts %}
{{ super() }}
2021-12-18 02:30:47 +01:00
<script src="/ScoDoc/static/js/releve-but.js"></script>
<script>
let dataSrc = "{{bul_url|safe}}";
2021-12-18 02:30:47 +01:00
fetch(dataSrc)
.then(r => { return r.json() })
.then(json => {
document.querySelector("releve-but").showData = json;
})
</script>
{% endblock %}