PDF_periodes
This commit is contained in:
parent
7b04443965
commit
d9d4fd7879
31 changed files with 1175 additions and 999 deletions
|
|
@ -1,25 +1,28 @@
|
|||
{% extends "./base_site.html" %}
|
||||
{% load i18n static %}
|
||||
|
||||
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}" />{% endblock %}
|
||||
{% block extrastyle %}
|
||||
{{ block.super }}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}" />
|
||||
{% endblock %}
|
||||
|
||||
{% block coltype %}colMS{% endblock %}
|
||||
|
||||
{% block bodyclass %}{{ block.super }} dashboard{% endblock %}
|
||||
{% block bodyclass %}
|
||||
{{ block.super }} dashboard
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'home' %}">Accueil</a>
|
||||
<a href="{% url 'document' %}">Document</a>
|
||||
<a href="{% url 'home' %}">Accueil</a>
|
||||
<a href="{% url 'document' %}">Document</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
Page non trouvée
|
||||
</div>
|
||||
<div id="content-main">
|
||||
Page non trouvée
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,18 +2,16 @@
|
|||
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
|
||||
<html lang="{{ LANGUAGE_CODE|default:"fr" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
|
||||
<head>
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/base.css" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />
|
||||
<script type="text/javascript" src="{% static "js/tiny_mce/tiny_mce.js" %}"></script>
|
||||
|
||||
|
||||
<script src="{% static 'js/jquery.js' %}"></script>
|
||||
{% block extrastyle %}<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}" />{% endblock %}
|
||||
{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}" />{% endif %}
|
||||
{% block extrahead %}{% endblock %}
|
||||
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/base.css" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />
|
||||
<script type="text/javascript" src="{% static "js/tiny_mce/tiny_mce.js" %}"></script>
|
||||
<script src="{% static 'js/jquery.js' %}"></script>
|
||||
{% block extrastyle %}<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}" />{% endblock %}
|
||||
{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}" />{% endif %}
|
||||
{% block extrahead %}{% endblock %}
|
||||
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
|
||||
</head>
|
||||
{% load i18n %}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,35 +2,37 @@
|
|||
|
||||
{% block title %}EDS{% endblock %}
|
||||
|
||||
{% block branding %}<h1 id="site-name"><a href="{% url 'home' %}">Ecole Santé-social Pierre-Coullery</a> Formation en Education sociale</h1>{% endblock %}
|
||||
{% block branding %}
|
||||
<h1 id="site-name"><a href="{% url 'home' %}">Ecole Santé-social Pierre-Coullery</a> Formation en Education sociale</h1>
|
||||
{% endblock %}
|
||||
{% block usertools %}
|
||||
<div id="user-tools">
|
||||
{% if user.is_authenticated %}
|
||||
{% block welcome-msg %}Bienvenue <strong>{% firstof user.username %}</strong>.{% endblock %}
|
||||
<a href="{% url 'home' %}">Site public</a> <a href="{% url 'admin:index' %}">Admin</a>
|
||||
{% else %}
|
||||
<a href="{% url 'admin:index' %}">Admin</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="user-tools">
|
||||
{% if user.is_authenticated %}
|
||||
{% block welcome-msg %}Bienvenue <strong>{% firstof user.username %}</strong>.{% endblock %}
|
||||
<a href="{% url 'home' %}">Site public</a> <a href="{% url 'admin:index' %}">Admin</a>
|
||||
{% else %}
|
||||
<a href="{% url 'admin:index' %}">Admin</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block nav-global %}{% endblock %}
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<ul>
|
||||
<li><a href="{% url 'home' %}">Accueil</a> </li>
|
||||
<li><a href="{% url 'domaine-list' %}">Domaines</a> </li>
|
||||
<li><a href="{% url 'processus-list' %}">Processus</a> </li>
|
||||
<li><a href="{% url 'module-list' %}">Modules</a> </li>
|
||||
<li><a href="{% url 'periodes' %}">Périodes</a> </li>
|
||||
<li><a href="{% url 'competences' %}">Compétences</a> </li>
|
||||
<li><a href="{% url 'travail' %}">Heures de formation</a> </li>
|
||||
<div class="breadcrumbs">
|
||||
<ul>
|
||||
<li><a href="{% url 'home' %}">Accueil</a> </li>
|
||||
<li><a href="{% url 'domaine-list' %}">Domaines</a> </li>
|
||||
<li><a href="{% url 'processus-list' %}">Processus</a> </li>
|
||||
<li><a href="{% url 'module-list' %}">Modules</a> </li>
|
||||
<li><a href="{% url 'periodes' %}">Périodes</a> </li>
|
||||
<li><a href="{% url 'competences' %}">Compétences</a> </li>
|
||||
<li><a href="{% url 'travail' %}">Heures de formation</a> </li>
|
||||
|
||||
<!-- <li><a href="{% url 'evaluation' %}">Evaluation</a> </li> -->
|
||||
<!-- <li><a href="{% url 'evaluation' %}">Evaluation</a> </li> -->
|
||||
|
||||
<li><a href="{% url 'document-list' %}">Documents</a> </li>
|
||||
{% if has_permission %}
|
||||
<li><a href="#">Calendrier</a> </li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
<li><a href="{% url 'document-list' %}">Documents</a> </li>
|
||||
{% if has_permission %}
|
||||
<li><a href="#">Calendrier</a> </li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -6,17 +6,19 @@
|
|||
{% block bodyclass %}{{ block.super }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Liste des compétences du PEC avec les modules correspondants</h1>
|
||||
<table border="0">
|
||||
{% for c in object_list %}
|
||||
<tr><td colspan="3">{{ c }}</td></td></tr>
|
||||
<tr><th width="10px"> </th><td colspan="2"><a href=" {% url 'module-detail' c.module.id %}">{{ c.module }}</a></td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
<h1>Liste des compétences du PEC avec les modules correspondants</h1>
|
||||
<table border="0">
|
||||
{% for c in object_list %}
|
||||
<tr>
|
||||
<td colspan="3">{{ c }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="10px"> </th>
|
||||
<td colspan="2"><a href=" {% url 'module-detail' c.module.id %}">{{ c.module }}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,14 +8,13 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
|
||||
<div style="margin:auto;width:50%;">
|
||||
<h1><b>{{object}}</b></h1>
|
||||
<p>{{object.texte|safe}}</p>
|
||||
</div>
|
||||
<div style="height: 600px;width: 400px;">
|
||||
<object data="media/media/EDS_Calendrier_2017.pdf" type="text/html" codetype="application/pdf" ></object>
|
||||
</div>
|
||||
<div style="margin:auto;width:50%;">
|
||||
<h1><b>{{object}}</b></h1>
|
||||
<p>{{object.texte|safe}}</p>
|
||||
</div>
|
||||
<div style="height: 600px;width: 400px;">
|
||||
<object data="media/media/EDS_Calendrier_2017.pdf" type="text/html" codetype="application/pdf" ></object>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,15 +7,14 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Liste des documents</h1>
|
||||
<ol>
|
||||
{% for doc in object_list %}
|
||||
<li><a href="{% url 'document-detail' doc.id %}">{{ doc }}</a></li>
|
||||
{% endfor %}
|
||||
|
||||
{% for fic in upload %}
|
||||
<li><a href="{% url 'upload-detail' fic.id %}">{{ fic.titre }}</a></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
<h1>Liste des documents</h1>
|
||||
<ol>
|
||||
{% for doc in object_list %}
|
||||
<li><a href="{% url 'document-detail' doc.id %}">{{ doc }}</a></li>
|
||||
{% endfor %}
|
||||
{% for fic in upload %}
|
||||
<li><a href="{% url 'upload-detail' fic.id %}">{{ fic.titre }}</a></li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -8,18 +8,17 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Domaine: {{object}}</h1>
|
||||
{% for p in object.processus_set.all %}
|
||||
<div class="processus"><h2>Processus: {{ p.url|safe }}</h2></div>
|
||||
{% for m in p.module_set.all %}
|
||||
<div class="module">Module: <a href="/module/{{m.id}}">{{ m }}</a></div>
|
||||
<div class="competence">Compétences visées</div>
|
||||
{% for c in m.competences.all %}
|
||||
<div class="competence">{{ c }}</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
<h1>Domaine: {{object}}</h1>
|
||||
{% for p in object.processus_set.all %}
|
||||
<div class="processus"><h2>Processus: {{ p.url|safe }}</h2></div>
|
||||
{% for m in p.module_set.all %}
|
||||
<div class="module">Module: <a href="/module/{{m.id}}">{{ m }}</a></div>
|
||||
<div class="competence">Compétences visées</div>
|
||||
{% for c in m.competences.all %}
|
||||
<div class="competence">{{ c }}</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,20 +11,27 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Liste des domaines</h1>
|
||||
<table border="0">
|
||||
{% for d in object_list %}
|
||||
<tr><td colspan="3">{{d}}</td></td></tr>
|
||||
{% for p in d.processus_set.all %}
|
||||
<tr><th width="10px"> </th><td colspan="2"><a href=" {% url 'processus-detail' p.id %}">{{p}}</a></td></tr>
|
||||
{% for m in p.module_set.all %}
|
||||
<tr><th colspan="2" width="45px"> <td><a href=" {% url 'module-detail' m.id %}">{{m}}</a></td></tr>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
<h1>Liste des domaines</h1>
|
||||
<table border="0">
|
||||
{% for d in object_list %}
|
||||
<tr>
|
||||
<td colspan="3">{{d}}</td></td>
|
||||
</tr>
|
||||
{% for p in d.processus_set.all %}
|
||||
<tr>
|
||||
<th width="10px"> </th>
|
||||
<td colspan="2"><a href=" {% url 'processus-detail' p.id %}">{{p}}</a></td>
|
||||
</tr>
|
||||
{% for m in p.module_set.all %}
|
||||
<tr>
|
||||
<th colspan="2" width="45px"> </th>
|
||||
<td><a href=" {% url 'module-detail' m.id %}">{{m}}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,66 +49,70 @@
|
|||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('select').change(function(){
|
||||
cl = $(this).attr('class');
|
||||
tt = 'select.' + cl +' option:selected'
|
||||
tot = 0;
|
||||
max = $(tt).length * 3;
|
||||
$(tt).each(function(){
|
||||
tot = tot + parseInt($(this).val());
|
||||
});
|
||||
$('#tot_' + cl).text(Math.round(tot/max*100) + ' %');
|
||||
});
|
||||
$('ul.tabs li').click(function(){
|
||||
var tab_id = $(this).attr('data-tab');
|
||||
|
||||
$(document).ready(function(){
|
||||
$('select').change(function(){
|
||||
cl = $(this).attr('class');
|
||||
tt = 'select.' + cl +' option:selected'
|
||||
tot = 0;
|
||||
max = $(tt).length * 3;
|
||||
$(tt).each(function(){
|
||||
tot = tot + parseInt($(this).val());
|
||||
});
|
||||
$('#tot_' + cl).text(Math.round(tot/max*100) + ' %');
|
||||
});
|
||||
$('ul.tabs li').click(function(){
|
||||
var tab_id = $(this).attr('data-tab');
|
||||
$('ul.tabs li').removeClass('current');
|
||||
$('.tab-content').removeClass('current');
|
||||
|
||||
$('ul.tabs li').removeClass('current');
|
||||
$('.tab-content').removeClass('current');
|
||||
|
||||
$(this).addClass('current');
|
||||
$("#"+tab_id).addClass('current');
|
||||
$(this).addClass('current');
|
||||
$("#"+tab_id).addClass('current');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
<div id="content-main">
|
||||
<h1>Evaluation des compétences</h1>
|
||||
<div class="container">
|
||||
<div>
|
||||
<ul class="tabs">
|
||||
<li class="tab-link current" data-tab="P01">P01</li>
|
||||
<li class="tab-link" data-tab="P02">P02</li>
|
||||
<li class="tab-link" data-tab="P03">P03</li>
|
||||
<li class="tab-link" data-tab="P04">P04</li>
|
||||
<li class="tab-link" data-tab="P05">P05</li>
|
||||
<li class="tab-link" data-tab="P06">P06</li>
|
||||
<li class="tab-link" data-tab="P07">P07</li>
|
||||
<li class="tab-link" data-tab="P08">P08</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
</div>
|
||||
{% for p in object_list %}
|
||||
<div id="{{p.code}}" class="tab-content">
|
||||
<table>
|
||||
<tr><th>{{p}}</th><td width="100px"><div id="tot_{{p.code}}"></div></td></tr>
|
||||
{% for c in p.competence_set.all %}
|
||||
<tr><td>{{c}}</td><td><select class="{{p.code}}" ><option value="0">0</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option></select></td></tr>
|
||||
<h1>Evaluation des compétences</h1>
|
||||
<div class="container">
|
||||
<div>
|
||||
<ul class="tabs">
|
||||
<li class="tab-link current" data-tab="P01">P01</li>
|
||||
<li class="tab-link" data-tab="P02">P02</li>
|
||||
<li class="tab-link" data-tab="P03">P03</li>
|
||||
<li class="tab-link" data-tab="P04">P04</li>
|
||||
<li class="tab-link" data-tab="P05">P05</li>
|
||||
<li class="tab-link" data-tab="P06">P06</li>
|
||||
<li class="tab-link" data-tab="P07">P07</li>
|
||||
<li class="tab-link" data-tab="P08">P08</li>
|
||||
</ul>
|
||||
<hr>
|
||||
</div>
|
||||
{% for p in object_list %}
|
||||
<div id="{{p.code}}" class="tab-content">
|
||||
<table>
|
||||
<tr>
|
||||
<th>{{p}}</th>
|
||||
<td width="100px">
|
||||
<div id="tot_{{p.code}}"></div>
|
||||
</td>
|
||||
</tr>
|
||||
{% for c in p.competence_set.all %}
|
||||
<tr>
|
||||
<td>{{c}}</td>
|
||||
<td>
|
||||
<select class="{{p.code}}" >
|
||||
<option value="0">0</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</div><!-- container -->
|
||||
|
||||
|
||||
|
||||
|
||||
</div><!-- container -->
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,99 +7,145 @@
|
|||
|
||||
<div id="content-main">
|
||||
|
||||
<table id="plan">
|
||||
<tr>
|
||||
<th width="300px">Domaines</th>
|
||||
<th width="600px">Processus</th>
|
||||
<th width="180px" style="text-align:center;">Sem1</th>
|
||||
<th width="180px" style="text-align:center;">Sem2</th>
|
||||
<th width="180px" style="text-align:center;">Sem3</th>
|
||||
<th width="180px" style="text-align:center;">Sem4</th>
|
||||
<th width="180px" style="text-align:center;">Sem5</th>
|
||||
<th width="180px" style="text-align:center;">Sem6</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td rowspan="4" class="l1 d">{{D1.url|safe}}</td>
|
||||
<td rowspan="2" class="l1 p">{{P01.url|safe}}</td>
|
||||
<td class="l1 m">{{M01.url_code|safe}}</td><td> </td><td> </td><td> </td><td> </td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td class="l1 m" >{{M02.url_code|safe}}</td><td> </td><td> </td><td> </td><td> </td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" class="l1 p">{{P02.url|safe}}</td>
|
||||
<td></td><td> </td><td> </td><td class="l1 m">{{M03.url_code|safe}}</td><td> </td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td></td><td class="l1 m">{{ M04.url_code|safe }}</td><td> </td><td> </td><td> </td><td> </td>
|
||||
</tr>
|
||||
<!-- Ligne 2 -->
|
||||
<tr>
|
||||
<td rowspan="3" class="l2 d">{{D2.url|safe}}</td>
|
||||
<td class="l2 p">{{P03.url|safe}}</td>
|
||||
<td class="l2 m">{{M05.url_code|safe}}</td><td> </td><td class="l2 m">{{M06.url_code|safe}}</td><td> </td><td> </td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" class="l2 p">{{P04.url|safe}}</td>
|
||||
<td></td><td> </td><td> </td><td> </td><td class="l2 m">{{M07.url_code|safe}}</td><td class="l2 m">{{M09.url_code|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td> </td><td> </td><td> </td><td class="l2 m">{{M08.url_code|safe}}</td><td> </td>
|
||||
</tr>
|
||||
<table id="plan">
|
||||
<tr>
|
||||
<th width="300px">Domaines</th>
|
||||
<th width="600px">Processus</th>
|
||||
<th width="180px" style="text-align:center;">Sem1</th>
|
||||
<th width="180px" style="text-align:center;">Sem2</th>
|
||||
<th width="180px" style="text-align:center;">Sem3</th>
|
||||
<th width="180px" style="text-align:center;">Sem4</th>
|
||||
<th width="180px" style="text-align:center;">Sem5</th>
|
||||
<th width="180px" style="text-align:center;">Sem6</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="4" class="l1 d">{{D1.url|safe}}</td>
|
||||
<td rowspan="2" class="l1 p">{{P01.url|safe}}</td>
|
||||
<td class="l1 m">{{M01.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l1 m" >{{M02.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" class="l1 p">{{P02.url|safe}}</td>
|
||||
<td></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td class="l1 m">{{M03.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<!-- Ligne 3 -->
|
||||
<tr>
|
||||
<td rowspan="2" class="l3 d">{{D3.url|safe}}</td>
|
||||
<td class="l3 p">{{P05.url|safe}}</td>
|
||||
<td > </td><td> </td><td colspan="2" class="l3 m">{{M10.url_code|safe}}</td><td class="l3 m">{{M12.url_code|safe}}</td><td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l3 p">{{P06.url|safe}}</td>
|
||||
<td > </td><td> </td><td colspan="2" class="l3 m">{{M11.url_code|safe}}</td><td> </td><td> </td>
|
||||
</tr>
|
||||
<!-- Ligne 4 -->
|
||||
<tr>
|
||||
<td class="l4 d">{{D4.url|safe}}</td>
|
||||
<td class="l4 p">{{P07.url|safe}}</td>
|
||||
<td > </td><td> </td><td class="l4 m">{{M13.url_code|safe}}</td><td> </td><td> </td><td class="l4 m">{{M14.url_code|safe}}</td>
|
||||
</tr>
|
||||
<td></td>
|
||||
<td class="l1 m">{{ M04.url_code|safe }}</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!-- Ligne 2 -->
|
||||
<tr>
|
||||
<td rowspan="3" class="l2 d">{{D2.url|safe}}</td>
|
||||
<td class="l2 p">{{P03.url|safe}}</td>
|
||||
<td class="l2 m">{{M05.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
<td class="l2 m">{{M06.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" class="l2 p">{{P04.url|safe}}</td>
|
||||
<td></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td class="l2 m">{{M07.url_code|safe}}</td>
|
||||
<td class="l2 m">{{M09.url_code|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td class="l2 m">{{M08.url_code|safe}}</td
|
||||
><td> </td>
|
||||
</tr>
|
||||
|
||||
<!-- Ligne 5 -->
|
||||
<tr>
|
||||
<td class="l5 d">{{D5.url|safe}}</td>
|
||||
<td class="l5 p">{{P08.url|safe}}</td>
|
||||
<td colspan="6" class="l5 m">{{M15.url_code|safe}}</td>
|
||||
</tr>
|
||||
<!-- Ligne 3 -->
|
||||
<tr>
|
||||
<td rowspan="2" class="l3 d">{{D3.url|safe}}</td>
|
||||
<td class="l3 p">{{P05.url|safe}}</td>
|
||||
<td > </td>
|
||||
<td> </td>
|
||||
<td colspan="2" class="l3 m">{{M10.url_code|safe}}</td>
|
||||
<td class="l3 m">{{M12.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l3 p">{{P06.url|safe}}</td>
|
||||
<td > </td>
|
||||
<td> </td>
|
||||
<td colspan="2" class="l3 m">{{M11.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!-- Ligne 4 -->
|
||||
<tr>
|
||||
<td class="l4 d">{{D4.url|safe}}</td>
|
||||
<td class="l4 p">{{P07.url|safe}}</td>
|
||||
<td > </td>
|
||||
<td> </td>
|
||||
<td class="l4 m">{{M13.url_code|safe}}</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td class="l4 m">{{M14.url_code|safe}}</td>
|
||||
</tr>
|
||||
|
||||
<!-- Ligne 6 -->
|
||||
<tr>
|
||||
<td class="l6 d">{{D6.url|safe}}</td>
|
||||
<td class="l6 p">{{P09.url|safe}}</td>
|
||||
<td colspan="2" class="l6 m">{{M16_1a.url_code|safe}} / {{M16_1b.url_code|safe}} / {{M16_1c.url_code|safe}} / {{M16_1d.url_code|safe}} / {{M16_1e.url_code|safe}}</td>
|
||||
<td colspan="2" class="l6 m">{{M16_2a.url_code|safe}} / {{M16_2b.url_code|safe}} / {{M16_2c.url_code|safe}}</td>
|
||||
<td colspan="2" class="l6 m">{{M16_3a.url_code|safe}} / {{M16_3b.url_code|safe}}</td>
|
||||
</tr>
|
||||
<!-- Ligne 7 -->
|
||||
<tr>
|
||||
<td class="l7 d">{{D7.url|safe}}</td>
|
||||
<td class="l7 p">{{P10.url|safe}}</td>
|
||||
<td colspan="2" class="l7 m">{{M17_1.url_code|safe}}</td>
|
||||
<td colspan="2" class="l7 m">{{M17_2.url_code|safe}}</td>
|
||||
<td colspan="2" class="l7 m">{{M17_3.url_code|safe}}</td>
|
||||
</tr>
|
||||
<!-- Ligne 5 -->
|
||||
<tr>
|
||||
<td class="l5 d">{{D5.url|safe}}</td>
|
||||
<td class="l5 p">{{P08.url|safe}}</td>
|
||||
<td colspan="6" class="l5 m">{{M15.url_code|safe}}</td>
|
||||
</tr>
|
||||
|
||||
<!-- Ligne 8 -->
|
||||
<tr>
|
||||
<td class="l8 d">{{D8.url|safe}}</td>
|
||||
<td class="l8 p">{{P11.url|safe}}</td>
|
||||
<td colspan="6" class="l8 m">{{MACC.url_code|safe}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
<a href="{% url 'plan-pdf' %}">Imprimer en PDF</a>
|
||||
<!-- Ligne 6 -->
|
||||
<tr>
|
||||
<td class="l6 d">{{D6.url|safe}}</td>
|
||||
<td class="l6 p">{{P09.url|safe}}</td>
|
||||
<td colspan="2" class="l6 m">{{M16_1a.url_code|safe}} / {{M16_1b.url_code|safe}} / {{M16_1c.url_code|safe}} / {{M16_1d.url_code|safe}} / {{M16_1e.url_code|safe}}</td>
|
||||
<td colspan="2" class="l6 m">{{M16_2a.url_code|safe}} / {{M16_2b.url_code|safe}} / {{M16_2c.url_code|safe}}</td>
|
||||
<td colspan="2" class="l6 m">{{M16_3a.url_code|safe}} / {{M16_3b.url_code|safe}}</td>
|
||||
</tr>
|
||||
<!-- Ligne 7 -->
|
||||
<tr>
|
||||
<td class="l7 d">{{D7.url|safe}}</td>
|
||||
<td class="l7 p">{{P10.url|safe}}</td>
|
||||
<td colspan="2" class="l7 m">{{M17_1.url_code|safe}}</td>
|
||||
<td colspan="2" class="l7 m">{{M17_2.url_code|safe}}</td>
|
||||
<td colspan="2" class="l7 m">{{M17_3.url_code|safe}}</td>
|
||||
</tr>
|
||||
|
||||
<!-- Ligne 8 -->
|
||||
<tr>
|
||||
<td class="l8 d">{{D8.url|safe}}</td>
|
||||
<td class="l8 p">{{P11.url|safe}}</td>
|
||||
<td colspan="6" class="l8 m">{{MACC.url_code|safe}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<a href="{% url 'plan-pdf' %}">Imprimer en PDF</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,44 +4,90 @@
|
|||
{% block coltype %}colMS{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr><th width="100px">Domaine</th><td>{{object.processus.domaine.url|safe}}</td></tr>
|
||||
<tr><th>Processus</th><td>{{object.processus.url|safe}}</td></tr>
|
||||
<tr><th>Situation emblématique</th><td>{{object.situation|linebreaksbr}}</td></tr>
|
||||
<tr><th>Compétences visées</th><td><p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for c in object.competence_set.all %}- {{c.nom}} ({{c.code}})<br />{% endfor %}</td></tr>
|
||||
<tr><th>Plus-value sur le CFC ASE</th><td>
|
||||
{% for c in object.competence_set.all %}
|
||||
{% for sc in c.souscompetence_set.all %}
|
||||
- {{sc.nom}} (voir {{sc.competence.code}}) <br />
|
||||
{%endfor %}
|
||||
{% endfor %}
|
||||
</td></tr>
|
||||
|
||||
|
||||
<!-- <tr><th>Ressources à acquérir</th><td>{% for c in object.ressource_set.all %}- {{c}}<br />{% endfor %}</td></tr> -->
|
||||
<tr><th>Objectifs à atteindre</th><td>{% for c in object.objectif_set.all %}- {{c}}<br />{% endfor %}</td></tr>
|
||||
<tr><th>Didactique</th><td>{{ object.didactique }}</td></tr>
|
||||
<!-- <tr><th>Contenu</th><td>{{object.contenu|linebreaksbr}}</td></tr> -->
|
||||
<tr><th>Evaluation</th><td>{{object.evaluation|linebreaksbr}}</td></tr>
|
||||
<tr><th>Type</th><td>{{object.type}}, obligatoire</td></tr>
|
||||
<tr><th>Semestre</th><td>Sem. {{object.semestre}}</td></tr>
|
||||
{% if object.periode_presentiel > 0 %}
|
||||
<tr><th>Présentiel</th><td>{{object.periode_presentiel}} heures</td></tr>
|
||||
{% endif %}
|
||||
{% if object.pratique_prof > 0 %}
|
||||
<tr><th>Pratique prof.</th><td>{{object.pratique_prof}} heures</td></tr>
|
||||
{% endif %}
|
||||
{% if object.travail_perso > 0 %}
|
||||
<tr><th>Travail perso.</th><td>{{object.travail_perso}} heures</td></tr>
|
||||
{% endif %}
|
||||
<tr><th>Responsable</th><td>{{object.processus.domaine.responsable.descr|safe}}</td></tr>
|
||||
</table>
|
||||
<p><a href="{% url 'module-pdf' object.id %}">Imprimer en PDF</a></p>
|
||||
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th width="100px">Domaine</th>
|
||||
<td>{{object.processus.domaine.url|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Processus</th>
|
||||
<td>{{object.processus.url|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Situation emblématique</th>
|
||||
<td>{{object.situation|linebreaksbr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Compétences visées</th>
|
||||
<td>
|
||||
<p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for c in object.competence_set.all %}
|
||||
- {{c.nom}} ({{c.code}})<br>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Plus-value sur le CFC ASE</th>
|
||||
<td>
|
||||
{% for c in object.competence_set.all %}
|
||||
{% for sc in c.souscompetence_set.all %}
|
||||
- {{sc.nom}} (voir {{sc.competence.code}}) <br>
|
||||
{%endfor %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr><th>Ressources à acquérir</th><td>{% for c in object.ressource_set.all %}- {{c}}<br />{% endfor %}</td></tr> -->
|
||||
<tr>
|
||||
<th>Objectifs à atteindre</th>
|
||||
<td>
|
||||
{% for c in object.objectif_set.all %}
|
||||
- {{c}}<br>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Didactique</th>
|
||||
<td>{{ object.didactique }}</td>
|
||||
</tr>
|
||||
<!-- <tr><th>Contenu</th><td>{{object.contenu|linebreaksbr}}</td></tr> -->
|
||||
<tr>
|
||||
<th>Evaluation</th>
|
||||
<td>{{object.evaluation|linebreaksbr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<td>{{object.type}}, obligatoire</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Semestre</th>
|
||||
<td>Sem. {{object.semestre}}</td>
|
||||
</tr>
|
||||
{% if object.periode_presentiel > 0 %}
|
||||
<tr>
|
||||
<th>Présentiel</th>
|
||||
<td>{{object.periode_presentiel}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if object.pratique_prof > 0 %}
|
||||
<tr>
|
||||
<th>Pratique prof.</th>
|
||||
<td>{{object.pratique_prof}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if object.travail_perso > 0 %}
|
||||
<tr>
|
||||
<th>Travail perso.</th>
|
||||
<td>{{object.travail_perso}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>Responsable</th>
|
||||
<td>{{object.processus.domaine.responsable.descr|safe}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><a href="{% url 'module-pdf' object.id %}">Imprimer en PDF</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,35 +6,83 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr><th>Domaine</th><td>{{object.processus.domaine.url|safe}}</td></tr>
|
||||
<tr><th>Processus</th><td>{{object.processus.url|safe}}</td></tr>
|
||||
<tr><th>Situation emblématique</th><td>{{object.situation|linebreaksbr}}</td></tr>
|
||||
<tr><th>Compétences visées</th><td><p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for c in object.competence_set.all %}- {{c.nom}} ({{c.code}})<br />
|
||||
{% if user.is_authenticated %}
|
||||
{% for sc in c.souscompetence_set.all %} -- {{sc.nom}} <br />{%endfor %}{% endif %}{% endfor %}</td></tr>
|
||||
<!-- <tr><th>Ressources à acquérir</th><td>{% for c in object.ressource_set.all %}- {{c}}<br />{% endfor %}</td></tr> -->
|
||||
<tr><th>Objectifs à atteindre</th><td>{% for c in object.objectif_set.all %}- {{c}}<br />{% endfor %}</td></tr>
|
||||
<tr><th>Didactique</th><td>{{ object.didactique }}</td></tr>
|
||||
<!-- <tr><th>Contenu</th><td>{{object.contenu|linebreaksbr}}</td></tr> -->
|
||||
<tr><th>Evaluation</th><td>{{object.evaluation|linebreaksbr}}</td></tr>
|
||||
<tr><th>Type</th><td>{{object.type}}, obligatoire</td></tr>
|
||||
<tr><th>Semestre</th><td>Sem. {{object.semestre}}</td></tr>
|
||||
{% if object.periode_presentiel > 0 %}
|
||||
<tr><th>Présentiel</th><td>{{object.periode_presentiel}} heures</td></tr>
|
||||
{% endif %}
|
||||
{% if object.pratique_prof > 0 %}
|
||||
<tr><th>Pratique prof.</th><td>{{object.pratique_prof}} heures</td></tr>
|
||||
{% endif %}
|
||||
{% if object.travail_perso > 0 %}
|
||||
<tr><th>Travail perso.</th><td>{{object.travail_perso}} heures</td></tr>
|
||||
{% endif %}
|
||||
<tr><th>Responsable</th><td>{{object.processus.domaine.responsable.descr|safe}}</td></tr>
|
||||
</table>
|
||||
<p><a href="{% url 'module-pdf' object.id %}">Imprimer en PDF</a></p>
|
||||
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Domaine</th>
|
||||
<td>{{object.processus.domaine.url|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Processus</th>
|
||||
<td>{{object.processus.url|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Situation emblématique</th>
|
||||
<td>{{object.situation|linebreaksbr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Compétences visées</th>
|
||||
<td><p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for c in object.competence_set.all %}
|
||||
- {{c.nom}} ({{c.code}})<br>
|
||||
{% if user.is_authenticated %}
|
||||
{% for sc in c.souscompetence_set.all %}
|
||||
-- {{sc.nom}} <br>
|
||||
{%endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr><th>Ressources à acquérir</th><td>{% for c in object.ressource_set.all %}- {{c}}<br />{% endfor %}</td></tr> -->
|
||||
<tr>
|
||||
<th>Objectifs à atteindre</th>
|
||||
<td>
|
||||
{% for c in object.objectif_set.all %}
|
||||
- {{c}}<br>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Didactique</th>
|
||||
<td>{{ object.didactique }}</td>
|
||||
</tr>
|
||||
<!-- <tr><th>Contenu</th><td>{{object.contenu|linebreaksbr}}</td></tr> -->
|
||||
<tr>
|
||||
<th>Evaluation</th>
|
||||
<td>{{object.evaluation|linebreaksbr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<td>{{object.type}}, obligatoire</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Semestre</th>
|
||||
<td>Sem. {{object.semestre}}</td>
|
||||
</tr>
|
||||
{% if object.periode_presentiel > 0 %}
|
||||
<tr>
|
||||
<th>Présentiel</th>
|
||||
<td>{{object.periode_presentiel}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if object.pratique_prof > 0 %}
|
||||
<tr>
|
||||
<th>Pratique prof.</th>
|
||||
<td>{{object.pratique_prof}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if object.travail_perso > 0 %}
|
||||
<tr>
|
||||
<th>Travail perso.</th>
|
||||
<td>{{object.travail_perso}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>Responsable</th>
|
||||
<td>{{object.processus.domaine.responsable.descr|safe}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><a href="{% url 'module-pdf' object.id %}">Imprimer en PDF</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,14 +8,15 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Liste des modules</h1>
|
||||
<table>
|
||||
{% for m in object_list %}
|
||||
<tr><th>{{m.code}}</th><td><a href=" {% url 'module-detail' m.id %}">{{m.nom}}</a></td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
<h1>Liste des modules</h1>
|
||||
<table>
|
||||
{% for m in object_list %}
|
||||
<tr>
|
||||
<th>{{m.code}}</th>
|
||||
<td><a href=" {% url 'module-detail' m.id %}">{{m.nom}}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,60 +5,99 @@
|
|||
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Périodes de formation</h1>
|
||||
<table>
|
||||
<tr><th width="290px">Semestre 1</th><th text-align="right">{{tot1.sem1__sum}}h.</th><th width="40px"></th><th width="290px">Semestre 2</th><th text-align="right">{{tot2.sem2__sum}}h.</th></tr>
|
||||
<tr><td colspan="2"><table align="left">
|
||||
{% for s in sem1 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem1}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
<td></td>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem2 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem2}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr><th>Semestre 3</th><th text-align="right">{{tot3.sem3__sum}}h.</th><th></th><th>Semestre 4</th><th text-align="right">{{tot4.sem4__sum}}h.</th> </tr>
|
||||
<tr><td colspan="2"><table align="left">
|
||||
{% for s in sem3 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem3}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table></td>
|
||||
<td></td>
|
||||
<td colspan="2"><table align="left">
|
||||
{% for s in sem4 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem4}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table></td></tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr><th>Semestre 5</th><th text-align="right">{{tot5.sem5__sum}}h.</th><th></th><th>Semestre 6</th><th text-align="right">{{tot6.sem6__sum}}h.</th></tr>
|
||||
<tr><td colspan="2"><table align="left">
|
||||
{% for s in sem5 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem5}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table></td>
|
||||
<td></td>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem6 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem6}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
Total des heures de cours: {{tot}} heures
|
||||
|
||||
<br/><br/>
|
||||
<a href="{% url 'periodes-pdf' %}">Imprimer en PDF</a>
|
||||
<h1>Périodes de formation</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th width="290px">Semestre 1</th>
|
||||
<th text-align="right">{{tot1}}h.</th>
|
||||
<th width="40px"></th>
|
||||
<th width="290px">Semestre 2</th>
|
||||
<th text-align="right">{{tot2}}h.</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem1 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem1}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
<td></td>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem2 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem2}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Semestre 3</th>
|
||||
<th text-align="right">{{tot3}}h.</th>
|
||||
<th></th>
|
||||
<th>Semestre 4</th>
|
||||
<th text-align="right">{{tot4}}h.</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem3 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem3}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
<td></td>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem4 %}
|
||||
<tr>
|
||||
<td width="290px">{{s}}</td>
|
||||
<td>{{s.sem4}} h.</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Semestre 5</th>
|
||||
<th text-align="right">{{tot5}}h.</th>
|
||||
<th></th>
|
||||
<th>Semestre 6</th>
|
||||
<th text-align="right">{{tot6}}h.</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem5 %}
|
||||
<tr><td width="290px">{{s}}</td><td>{{s.sem5}} h.</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
<td></td>
|
||||
<td colspan="2">
|
||||
<table align="left">
|
||||
{% for s in sem6 %}
|
||||
<tr>
|
||||
<td width="290px">{{s}}</td>
|
||||
<td>{{s.sem6}} h.</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<p><strong>Total des heures de cours: {{tot}} heures</strong></p>
|
||||
<a href="{% url 'periodes-pdf' %}">Imprimer en PDF</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,29 +1,46 @@
|
|||
{% extends "./base_site.html" %}
|
||||
{% load i18n static %}
|
||||
|
||||
|
||||
{% block coltype %}colMS{% endblock %}
|
||||
|
||||
{% block bodyclass %}{{ block.super }} dashboard{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr><th width="100px">Description</th><td>{{object.description}}</td></tr>
|
||||
<tr><th>Compétences visées</th><td><p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for m in object.module_set.all %}{% for c in m.competences.all %}
|
||||
- {{c.libelle}} ({{c.code}})<br />{% endfor %}{% endfor %}</td></tr>
|
||||
<tr><th>Domaine</th><td>{{object.domaine.url|safe}}</td></tr>
|
||||
<tr><th>Responsable</th><td>{{object.domaine.responsable.descr|safe}}</td></tr>
|
||||
<tr><th>Modules concernés</th><td>{% for m in object.module_set.all %}{{m.url|safe}}</br>{% endfor %}</td></tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th width="100px">Description</th>
|
||||
<td>{{object.description}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Compétences visées</th>
|
||||
<td>
|
||||
<p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for m in object.module_set.all %}
|
||||
{% for c in m.competences.all %}
|
||||
- {{c.libelle}} ({{c.code}})<br>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Domaine</th>
|
||||
<td>{{object.domaine.url|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Responsable</th>
|
||||
<td>{{object.domaine.responsable.descr|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Modules concernés</th>
|
||||
<td>
|
||||
{% for m in object.module_set.all %}
|
||||
{{m.url|safe}}<br>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
{% extends "./base_site.html" %}
|
||||
{% load i18n static %}
|
||||
|
||||
|
||||
|
||||
|
||||
{% block coltype %}colMS{% endblock %}
|
||||
|
||||
{% block bodyclass %}{{ block.super }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Liste des processus</h1>
|
||||
<table>
|
||||
{% for p in object_list %}
|
||||
<tr><th>{{p.code}}</th><td><a href=" {% url 'processus-detail' p.id %}">{{p.nom}}</a></td></tr>
|
||||
{% for m in p.module_set.all %}
|
||||
<tr><th> </th><td><a href=" {% url 'module-detail' m.id %}">{{m}}</a></td></tr>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
<h1>Liste des processus</h1>
|
||||
<table>
|
||||
{% for p in object_list %}
|
||||
<tr>
|
||||
<th>{{p.code}}</th>
|
||||
<td><a href=" {% url 'processus-detail' p.id %}">{{p.nom}}</a></td>
|
||||
</tr>
|
||||
{% for m in p.module_set.all %}
|
||||
<tr>
|
||||
<th> </th>
|
||||
<td><a href=" {% url 'module-detail' m.id %}">{{m}}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,29 +8,52 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Répartion des heures de formation</h1>
|
||||
<table border="0">
|
||||
<tr><th>Module</th><th >Heures de cours</th><th>Travail perso.</th><th>Pratique prof.</th></tr>
|
||||
{% for m in object_list %}
|
||||
<tr>
|
||||
<td >
|
||||
{% if forloop.last %}
|
||||
{{ m }} - Travail de diplôme
|
||||
{% else %}
|
||||
{{ m }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">{% if m.periode_presentiel == 0 %} {% else %} {{ m.periode_presentiel|rjust:"3" }} h. {% endif %}</td>
|
||||
<td align="center">{% if m.travail_perso == 0 %} {% else %} {{ m.travail_perso|rjust:"3" }} h. {% endif %}</td>
|
||||
<td align="center">{% if m.pratique_prof == 0 %} {% else %} {{ m.pratique_prof|rjust:"3" }} h.{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<th >Total</th>
|
||||
<th>{{ total_perso }} heures</th>
|
||||
<th>{{ total_presentiel }} heures</th>
|
||||
<th>{{ total_pratique }} heures</th>
|
||||
</tr>
|
||||
</table>
|
||||
<h1>Répartion des heures de formation</h1>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<th>Module</th>
|
||||
<th >Heures de cours</th>
|
||||
<th>Travail perso.</th>
|
||||
<th>Pratique prof.</th>
|
||||
</tr>
|
||||
{% for m in object_list %}
|
||||
<tr>
|
||||
<td >
|
||||
{% if forloop.last %}
|
||||
{{ m }} - Travail de diplôme
|
||||
{% else %}
|
||||
{{ m }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.periode_presentiel == 0 %}
|
||||
|
||||
{% else %}
|
||||
{{ m.periode_presentiel|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.travail_perso == 0 %}
|
||||
nbsp;
|
||||
{% else %}
|
||||
{{ m.travail_perso|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.pratique_prof == 0 %}
|
||||
|
||||
{% else %}
|
||||
{{ m.pratique_prof|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<th >Total</th>
|
||||
<th>{{ total_perso }} heures</th>
|
||||
<th>{{ total_presentiel }} heures</th>
|
||||
<th>{{ total_pratique }} heures</th>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -10,39 +10,34 @@
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'home' %}">Accueil</a>
|
||||
<a href="{% url 'upload' %}">Document</a>
|
||||
<a href="{% url 'home' %}">Accueil</a>
|
||||
<a href="{% url 'upload' %}">Document</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Enregistrements de documents</h1>
|
||||
{% if documents %}
|
||||
<ul class="liste-verticale">
|
||||
{% for document in documents %}
|
||||
<li><a href="download/{{ document.docfile.name }}">{{document.docfile.name}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No documents.</p>
|
||||
{% endif %}
|
||||
<!-- Upload form. Note enctype attribute! -->
|
||||
<div class="clear-booth">
|
||||
<form action="{% url 'upload' %}" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<p>{{ form.non_field_errors }}</p>
|
||||
<p>{{ form.docfile.label_tag }} {{ form.docfile.help_text }}</p>
|
||||
<p>
|
||||
{{ form.docfile.errors }}
|
||||
{{ form.docfile }}
|
||||
</p>
|
||||
|
||||
<p><input type="submit" value="Upload" /></p>
|
||||
</form>
|
||||
<div id="content-main">
|
||||
<h1>Enregistrements de documents</h1>
|
||||
{% if documents %}
|
||||
<ul class="liste-verticale">
|
||||
{% for document in documents %}
|
||||
<li><a href="download/{{ document.docfile.name }}">{{document.docfile.name}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No documents.</p>
|
||||
{% endif %}
|
||||
<!-- Upload form. Note enctype attribute! -->
|
||||
<div class="clear-booth">
|
||||
<form action="{% url 'upload' %}" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<p>{{ form.non_field_errors }}</p>
|
||||
<p>{{ form.docfile.label_tag }} {{ form.docfile.help_text }}</p>
|
||||
<p>{{ form.docfile.errors }} {{ form.docfile }}</p>
|
||||
<p><input type="submit" value="Upload" /></p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,10 @@
|
|||
|
||||
{% block coltype %}colMS{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<iframe src="{{fichier}}" width="1200" height="800" align="middle"></iframe>
|
||||
|
||||
<iframe src="{{fichier}}" width="1200" height="800" align="middle"></iframe>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue