This commit is contained in:
alazo 2017-04-07 08:12:29 +02:00
parent ff091dc3e7
commit 1484d6cc6d
1582 changed files with 46295 additions and 15 deletions

View file

@ -5,6 +5,9 @@
<title>{% block title %}{% endblock %}</title>
<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 %}

View file

@ -23,6 +23,7 @@
<li><a href="{% url 'module-list' %}">Modules</a>&nbsp;&nbsp;</li>
<li><a href="{% url 'periodes' %}">Périodes</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 'pdf-view' %}">Calendrier</a>&nbsp;&nbsp;</li>-->
{% if has_permission %}
<li><a href="#">Calendrier</a>&nbsp;&nbsp;</li>

View file

@ -0,0 +1,22 @@
{% extends "./base_site.html" %}
{% load i18n static %}
{% block coltype %}colMS{% endblock %}
{% 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>
{% endblock %}

View file

@ -0,0 +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 documents</h1>
<ol>
{% for doc in object_list %}
<li><a href="{% url 'document-detail' doc.id %}">{{doc}}</a></li>
{% empty %}
<li>Aucun document disponible</li>
{% endfor %}
</ol>
</div>
{% endblock %}