ScoDoc-Lille/app/templates/but/refcomp_show.html

39 lines
972 B
HTML
Raw Normal View History

2021-12-28 16:17:07 +01:00
{# -*- mode: jinja-html -*- #}
2021-12-04 22:20:08 +01:00
{% extends "sco_page.html" %}
{% block styles %}
{{super()}}
{% endblock %}
2021-12-04 22:20:08 +01:00
{% block app_content %}
<h2>Référentiel de compétences {{ref.type_titre}} {{ref.specialite_long}}</h2>
<ref-competences></ref-competences>
2021-12-04 22:20:08 +01:00
<script src="/ScoDoc/static/js/ref_competences.js"></script>
<div class="help">
2022-04-26 06:02:17 +02:00
Référentiel chargé le {{ref.scodoc_date_loaded.strftime("%d/%m/%Y à %H:%M") if ref.scodoc_date_loaded else ""}} à
partir du fichier <tt>{{ref.scodoc_orig_filename or "(inconnu)"}}</tt>.
2021-12-04 22:20:08 +01:00
</div>
2021-12-04 22:20:08 +01:00
<div class="part2">
2022-04-26 06:02:17 +02:00
<a class="stdlink" href="{{url_for('notes.refcomp_table', scodoc_dept=g.scodoc_dept)}}">liste des référentiels</a>
2021-12-04 22:20:08 +01:00
</div>
{% endblock %}
{% block scripts %}
{{super()}}
<script>
$(function () {
let data_url = "{{data_source}}";
$.getJSON(data_url, function (data) {
document.querySelector("ref-competences").setData = data;
});
});
</script>
2021-12-04 22:20:08 +01:00
{% endblock %}