]> git.parisson.com Git - teleforma.git/commitdiff
add index module and icons
authoryomguy <yomguy@parisson.com>
Thu, 20 Dec 2012 15:25:18 +0000 (16:25 +0100)
committeryomguy <yomguy@parisson.com>
Thu, 20 Dec 2012 15:25:18 +0000 (16:25 +0100)
teleforma/static/teleforma/css/teleforma.css
teleforma/templates/teleforma/inc/testimonial_list.html
teleforma/templates/teleforma/seminar_detail.html
teleforma/templates/teleforma/seminars.html

index 790dd78523881a7b55714e6e3e67287332f17db7..c7a57aafab9375a7d6f11066b946ae435f1e27c4 100644 (file)
@@ -1813,3 +1813,17 @@ form .exceed{
     padding-left: 0;
     font-weight: none;
 }
+
+#index {
+    background-color: white;
+    -moz-border-radius: 8px 0px 8px 8px;
+    -webkit-border-radius: 8px 0px 8px 8px;
+    border-radius: 8px 0px 8px 8px;
+    color: black;
+    padding: 0.5em;
+}
+
+
+#index p, ul {
+    margin: 0.5em;
+}
\ No newline at end of file
index e5ccb49090b4c690227fc5c93418bbab1d93ee13..759da97c249a7fec59461d52c67a965ea895ee9b 100644 (file)
@@ -11,7 +11,7 @@
     <tbody>
         
             <tr>
-            <td {% if forloop.first %}class="border-top"{% endif %} width="95%"><a href="{% url teleforma-seminar-testimonial seminar.id %}?format=pdf" target="_blank" title="{% trans "Testimonial" %}"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" /> {% trans "Testimonial" %} : {{ seminar.title }}{% if seminar.rank %} n°{{seminar.rank}}{% endif %}</a></td>
+            <td {% if forloop.first %}class="border-top"{% endif %} width="95%"><a href="{% url teleforma-seminar-testimonial seminar.id %}?format=pdf" target="_blank" title="{% trans "Testimonial" %}"><img src="{{ STATIC_URL }}teleforma/images/icon_doc_16.png" style="vertical-align:middle" alt="" /> {% trans "Testimonial" %} : {{ seminar.title }}{% if seminar.rank %} n°{{seminar.rank}}{% endif %}</a></td>
             <td {% if forloop.first %}class="border-top"{% endif %} width="5%" align="center"><a href="{% url teleforma-seminar-testimonial-download seminar.id %}?format=pdf"><img src="{{ STATIC_URL }}teleforma/images/download.png" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a></td>
             </tr>
         
index 2a8841f9e6ee8264428d3b02e4af05209a4672a0..d759ab3bfe8e5b24aec80ba6c171a2b5979d1c25 100644 (file)
@@ -57,9 +57,10 @@ $(function() {
               <dt>{% trans "level" %}</dt><dd>{{ seminar.level }}</dd>
               <dt>{% trans "public concerned" %}</dt><dd>{{ seminar.concerned }}</dd>
               <dt>{% trans "duration" %}</dt><dd>{{ seminar.duration }}</dd>
-              {% if seminar.description %}
+              <!-- {% if seminar.description %}
               <dt>{% trans "description" %}</dt><dd><div class="description">{{ seminar.description|safe }}</div></dd>
               {% endif %}
+              -->
             </dl>
             </div>
         {% if messages %}
@@ -172,3 +173,14 @@ $(function() {
 </div>
 {% endblock progress %}
 
+
+{% block index %}
+{% if seminar.index %}
+<div class="module">
+  <h3><img src="{{STATIC_URL}}telemeta/images/module_playlist.png" alt="status" style="vertical-align:middle" /> {% trans "Index" %}</h3>
+ <div id="index">
+  {{ seminar.index|safe }}
+ </div>
+</div>
+{% endif %}
+{% endblock index %}
index b7195fa86304c1460d13fa8ca72c0746bca1dc54..d238f5b85b783c5dbc3d4f5d3b531b09b07053eb 100644 (file)
@@ -140,6 +140,9 @@ server_status_callback();
 {% endif %}
 {% endblock status %}
 
+{% block index %}
+{% endblock index %}
+
 </div>
 
 {% endblock content %}