Move_Tiny_mce and ohter
This commit is contained in:
parent
a445b82f44
commit
c298656437
3226 changed files with 135 additions and 65772 deletions
|
|
@ -8,7 +8,6 @@
|
|||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/dashboard.css' %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}" />
|
||||
<script type="text/javascript" src="{% static 'js/tiny_mce/tiny_mce.js' %}"></script>
|
||||
<script src="{% static 'js/jquery.js' %}"></script>
|
||||
{% block extrastyle %}{% endblock %}
|
||||
{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static 'admin/css/rtl.css' %}{% endblock %}" />{% endif %}
|
||||
{% block extrahead %}{% endblock %}
|
||||
|
|
|
|||
|
|
@ -26,10 +26,12 @@
|
|||
<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 'document-detail' 1 %}">Concept pédagogique</a> </li>
|
||||
<li><a href="{% url 'document-detail' 2 %}">Concept de formation</a> </li>
|
||||
|
||||
<!-- <li><a href="{% url 'evaluation' %}">Evaluation</a> </li> -->
|
||||
|
||||
<li><a href="{% url 'document-list' %}">Documents</a> </li>
|
||||
<li><a href="{% url 'uploaddoc-list' %}">Téléchargements</a> </li>
|
||||
{% if has_permission %}
|
||||
<li><a href="#">Calendrier</a> </li>
|
||||
{% endif %}
|
||||
|
|
|
|||
13
templates/cms/concept.html
Normal file
13
templates/cms/concept.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{% extends "./base_site.html" %}
|
||||
{% load i18n static %}
|
||||
|
||||
{% block coltype %}colMS{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<iframe src="{{document.url}}" width="1200" height="800" align="middle"></iframe>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
@ -64,10 +64,10 @@
|
|||
<th>Semestre</th>
|
||||
<td>Sem. {{object.semestre}}</td>
|
||||
</tr>
|
||||
{% if object.periode_presentiel > 0 %}
|
||||
{% if object.total_presentiel > 0 %}
|
||||
<tr>
|
||||
<th>Présentiel</th>
|
||||
<td>{{object.periode_presentiel}} heures</td>
|
||||
<td>{{object.total_presentiel}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if object.pratique_prof > 0 %}
|
||||
|
|
|
|||
|
|
@ -26,15 +26,15 @@
|
|||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.periode_presentiel == 0 %}
|
||||
{% if m.total_presentiel == 0 %}
|
||||
|
||||
{% else %}
|
||||
{{ m.periode_presentiel|rjust:"3" }} h.
|
||||
{{ m.total_presentiel|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.travail_perso == 0 %}
|
||||
nbsp;
|
||||
|
||||
{% else %}
|
||||
{{ m.travail_perso|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
|
|
@ -50,8 +50,8 @@
|
|||
{% endfor %}
|
||||
<tr>
|
||||
<th >Total</th>
|
||||
<th>{{ total_perso }} heures</th>
|
||||
<th>{{ total_presentiel }} heures</th>
|
||||
<th>{{ total_perso }} heures</th>
|
||||
<th>{{ total_pratique }} heures</th>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,44 +0,0 @@
|
|||
{% 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 coltype %}colMS{% endblock %}
|
||||
|
||||
{% block bodyclass %}{{ block.super }} dashboard{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'home' %}">Accueil</a>
|
||||
<a href="{% url 'upload' %}">Document</a>
|
||||
</div>
|
||||
{% 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>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<iframe src="{{fichier}}" width="1200" height="800" align="middle"></iframe>
|
||||
<iframe src="{{fichier.url}}" width="1200" height="800" align="middle"></iframe>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
35
templates/cms/uploaddoc_list.html
Normal file
35
templates/cms/uploaddoc_list.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{% 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 coltype %}colMS{% endblock %}
|
||||
|
||||
{% block bodyclass %}{{ block.super }} dashboard{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'home' %}">Accueil</a>
|
||||
<a href="{% url 'uploaddoc-list' %}">Téléchargements</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="content-main">
|
||||
<h1>Documents en téléchargement</h1>
|
||||
{% if object_list %}
|
||||
<ul class="liste-verticale">
|
||||
{% for upload in object_list %}
|
||||
<li><a href="{{ upload.docfile.url }}">{{upload.titre}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No documents.</p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue