Author: sevein
Date: Mon Dec 20 13:50:45 2010
New Revision: 54
Log:
Make version col. smaller.
Modified:
trunk/chk4upd/models.py
trunk/static/style.css
trunk/templates/report.html
Modified: trunk/chk4upd/models.py
==============================================================================
--- trunk/chk4upd/models.py Mon Dec 20 13:45:22 2010 (r53)
+++ trunk/chk4upd/models.py Mon Dec 20 13:50:45 2010 (r54)
@@ -15,7 +15,7 @@
check_method = models.CharField(max_length=128)
def get_full_version(self):
- return "%s %s (offered %s)" % (self.distribution, self.version,
self.version_offered)
+ return "%s %s (%s)" % (self.distribution, self.version,
self.version_offered)
def get_hostname(self):
from urlparse import urlparse
Modified: trunk/static/style.css
==============================================================================
--- trunk/static/style.css Mon Dec 20 13:45:22 2010 (r53)
+++ trunk/static/style.css Mon Dec 20 13:50:45 2010 (r54)
@@ -24,6 +24,7 @@
table#report a { color: Blue; }
table#report td.date { text-align: center; font-weight: bold; }
table#report td.method { text-align: center; }
+table#report td.version { white-space: nowrap; }
table#report .buttons { text-align: center; padding-left: 3px; padding-right:
3px; }
div.pagination { margin: 10px auto 20px auto; text-align: center; color:
White; }
Modified: trunk/templates/report.html
==============================================================================
--- trunk/templates/report.html Mon Dec 20 13:45:22 2010 (r53)
+++ trunk/templates/report.html Mon Dec 20 13:50:45 2010 (r54)
@@ -100,7 +100,7 @@
{% for item in objects.object_list %}
<tr class="{% cycle 'odd' 'even' %}">
<td class="date"><abbr title="{{ item.created_at|pretty_date }} ({{
item.created_at|time:"H:i:s" }})">{{ item.created_at|date:"SHORT_DATE_FORMAT"
}}</abbr></td>
- <td>
+ <td class="title">
{% if item.site_title %}
<p class="site_title">{{ item.site_title }}</p>
{% endif %}
@@ -108,7 +108,7 @@
<p class="site_description">{{ item.site_description }}</p>
{% endif %}
</td>
- <td>{{ item.get_full_version }}</td>
+ <td class="version">{{ item.get_full_version }}</td>
<td class="address"><a href="{{ item.address }}" title="{{
item.address }}">{{ item.get_hostname }}</a></td>
<td class="method">
{% if item.httpmeta_useragent %}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.