]> git.parisson.com Git - teleforma.git/commitdiff
fix icons
authoryomguy <yomguy@parisson.com>
Fri, 13 Apr 2012 04:54:44 +0000 (06:54 +0200)
committeryomguy <yomguy@parisson.com>
Fri, 13 Apr 2012 04:54:44 +0000 (06:54 +0200)
teleforma/htdocs/css/teleforma.css
teleforma/templates/teleforma/inc/document_list.html
teleforma/templatetags/teleforma_tags.py

index 8870ba585771102079e2610430427809d9e0c673..162ab230238688e3bb9b8615ca88d979c8009da4 100644 (file)
@@ -854,7 +854,7 @@ table.listing tbody td, table.listing tbody th {
     font-weight: normal;
 }
 table.listing tbody td {
-    padding: 0.8em 0em 0.8em 0em;
+    padding: 0.8em 0em 0.8em 0.8em;
     font-weight: normal;
     font-size: 0.9em;
 }
@@ -1357,7 +1357,7 @@ input,textarea{
         font-size: 0.9125em;
         background-color: #FFF;
         color: #0000 ;
-        font-weight: bold;
+        font-weight: normal;
         max-height: 250px;
         overflow-y: scroll;
 
@@ -1527,6 +1527,6 @@ input,textarea{
 
 #spacing td {
     padding: 1em 1em 1em 0.3em;
-    font-size: 0.8em;
+    font-size: 0.9125em;
     font-weight: normal;
     }
index df566dadc5ec83647b9557b2b960fcdd0a84e95d..a037678fbd25f2fefbbade0bfa5379527647efc2 100644 (file)
         <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
         <td><a href="{% url teleforma-document-view document.id %}" target="_blank">{{ document.title }}</a></td>
         <td>{{ document.description }}</td>
-        <td>{{ document.is_annal }}</td>
+        <td align="center">
+        {% if document.is_annal %}
+          <img src="images/ok.png" alt="yes" style="vertical-align:middle" />&nbsp;
+        {% endif %}
+        </td>
         <td>{{ document.date_added }}</td>
-        <td><a href="{% url teleforma-document-view document.id %}"><img src="{% url telemeta-images "download.png" %}" width="16px" /></a></td>
+        <td align="center"><a href="{% url teleforma-document-view document.id %}"><img src="{% url telemeta-images "download.png" %}" width="16px"  style="vertical-align:middle" />&nbsp;</a></td>
         </tr>
     {% endfor %}
     </tbody>
index 5b0eae39f45d21532551b31b9aba952c626f7be8..98b8544da2c9cd4713bec09e33dd9f64b6891f42 100644 (file)
@@ -60,7 +60,6 @@ def to_recipients(users):
 
 
 import django.utils.timezone as timezone
-
 from timezones.utils import localtime_for_timezone
 
 @register.filter