damned-lies r1256 - in trunk: . media/css templates/vertimus
- From: stephaner svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1256 - in trunk: . media/css templates/vertimus
- Date: Mon, 29 Dec 2008 21:33:40 +0000 (UTC)
Author: stephaner
Date: Mon Dec 29 21:33:40 2008
New Revision: 1256
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1256&view=rev
Log:
2008-12-29 StÃphane Raimbault <stephane raimbault gmail com>
* media/css/main.css:
* templates/vertimus/vertimus_detail.html: CSS adjustments.
Modified:
trunk/ChangeLog
trunk/media/css/main.css
trunk/templates/vertimus/vertimus_detail.html
Modified: trunk/media/css/main.css
==============================================================================
--- trunk/media/css/main.css (original)
+++ trunk/media/css/main.css Mon Dec 29 21:33:40 2008
@@ -164,17 +164,23 @@
vertical-align: top;
}
-/* used in vertimus_detail */
-td.action_head {
- background: #C9DDF3;
- border-bottom: dashed 2px;
+/* Used in vertimus_detail */
+.vertimus_action {
+ margin: 1em 0 1.5em;
+ border: solid #ddd 1px;
}
-td.action_content {
- border-bottom: solid #CCCCCC 1px;
+
+.vertimus_action_head {
+ background: #eee;
+ padding: 0.5em 12px 0;
+}
+
+.vertimus_action_content {
+ padding: 0.5em 12px 0;
}
+
div.uploaded_file {
- float:right;
- background:#DDDDDD;
+ float: right;
padding: 2px;
margin-left: 8px;
}
Modified: trunk/templates/vertimus/vertimus_detail.html
==============================================================================
--- trunk/templates/vertimus/vertimus_detail.html (original)
+++ trunk/templates/vertimus/vertimus_detail.html Mon Dec 29 21:33:40 2008
@@ -63,26 +63,23 @@
{% if action_history %}
<h2>{% trans "Action History" %}</h2>
-<table>
+<div>
{% for action in action_history %}
- <tr>
- <td class="action_head">
- {{ action.created|date:"Y-m-d H:i" }}, <strong>{{ action }}</strong>,
- <!-- Spam protection -->
+ <div class="vertimus_action">
+ <div class="vertimus_action_head">
<img src="{{ MEDIA_URL }}img/person.png" alt="Person"/> <a href="{{ action.person.get_absolute_url }}">{{ action.person.name }}</a>
- </td>
- </tr>
- <tr>
- <td class="action_content">
+ , <strong>{{ action }}</strong>, {{ action.created|date:"Y-m-d H:i" }}
+ </div>
+ <div class="vertimus_action_content">
{% if action.file %}
- <div class="uploaded_file">{% trans "File:" %} <a href="{{ action.file.url }}">{{ action.get_filename }}</a></div>
+ <div class="uploaded_file">
+ <a href="{{ action.file.url }}"><img src="{{ MEDIA_URL }}img/download.png"/>{{ action.get_filename }}</a></div>
{% endif %}
- {{ action.comment|linebreaksbr|default:"No comment" }}<br/>
- </td>
- </tr>
- <tr class="noborder"><td> </td></tr>
+ <p>{{ action.comment|linebreaksbr|default:"No comment" }}</p><br/>
+ </div>
+ </div>
{% endfor %}
-</table>
+</div>
{% endif %}
<h2>{% trans "New Action" %}</h2>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]