Move_Tiny_mce and ohter

This commit is contained in:
alazo 2018-02-16 11:14:31 +01:00
parent a445b82f44
commit c298656437
3226 changed files with 135 additions and 65772 deletions

View file

@ -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 %}

View file

@ -26,10 +26,12 @@
<li><a href="{% url 'periodes' %}">Périodes</a>&nbsp;&nbsp;</li>
<li><a href="{% url 'competences' %}">Compétences</a>&nbsp;&nbsp;</li>
<li><a href="{% url 'travail' %}">Heures de formation</a>&nbsp;&nbsp;</li>
<li><a href="{% url 'document-detail' 1 %}">Concept pédagogique</a>&nbsp;&nbsp;</li>
<li><a href="{% url 'document-detail' 2 %}">Concept de formation</a>&nbsp;&nbsp;</li>
<!-- <li><a href="{% url 'evaluation' %}">Evaluation</a>&nbsp;&nbsp;</li> -->
<li><a href="{% url 'document-list' %}">Documents</a>&nbsp;&nbsp;</li>
<li><a href="{% url 'uploaddoc-list' %}">Téléchargements</a>&nbsp;&nbsp;</li>
{% if has_permission %}
<li><a href="#">Calendrier</a>&nbsp;&nbsp;</li>
{% endif %}

View 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 %}

View file

@ -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 %}

View file

@ -26,15 +26,15 @@
{% endif %}
</td>
<td align="center">
{% if m.periode_presentiel == 0 %}
{% if m.total_presentiel == 0 %}
&nbsp;
{% else %}
{{ m.periode_presentiel|rjust:"3" }} h.
{{ m.total_presentiel|rjust:"3" }} h.
{% endif %}
</td>
<td align="center">
{% if m.travail_perso == 0 %}
&nbsp;nbsp;
&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>

View file

@ -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">&nbsp;
<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 %}

View file

@ -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 %}

View 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 %}