2021-12-28 16:17:07 +01:00
|
|
|
{# -*- mode: jinja-html -*- #}
|
2023-01-30 22:25:17 +01:00
|
|
|
{% extends "sco_page.j2" %}
|
2022-01-09 23:13:09 +01:00
|
|
|
{% 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>
|
|
|
|
|
|
|
|
|
2022-01-09 23:13:09 +01:00
|
|
|
<ref-competences></ref-competences>
|
2021-12-04 22:20:08 +01:00
|
|
|
|
2022-06-26 17:54:44 +02:00
|
|
|
<script src="{{sco.scu.STATIC_DIR}}/js/ref_competences.js"></script>
|
2022-01-09 23:13:09 +01:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2022-01-09 23:13:09 +01:00
|
|
|
|
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>
|
|
|
|
|
2022-01-09 23:13:09 +01:00
|
|
|
{% 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 %}
|