Author: sevein
Date: Wed Dec 1 12:55:46 2010
New Revision: 42
Log:
Write show site title and site description out in full.
Modified:
trunk/static/style.css
trunk/templates/report.html
Modified: trunk/static/style.css
==============================================================================
--- trunk/static/style.css Wed Dec 1 12:52:57 2010 (r41)
+++ trunk/static/style.css Wed Dec 1 12:55:46 2010 (r42)
@@ -34,6 +34,9 @@
table#login label { display: block; font-size: 24px; text-shadow: #000 1px 1px
2px; color: #fff; }
table#login tfoot td { padding-top: 20px; text-align: center; }
+p.site_title { }
+p.site_description { color: #444; font-size: 80%; }
+
a#logout { position: absolute; top: 10px; right: 10px; background: #222
url(/static/door_out.png) no-repeat 4px center; border-radius: 4px;
-moz-border-radius: 4px; padding: 3px 6px 3px 26px; font-weight: bold;
font-size: 12px; }
input#id_username { background: #fff url(/static/user.png) no-repeat 99%
center; padding-right: 24px; }
Modified: trunk/templates/report.html
==============================================================================
--- trunk/templates/report.html Wed Dec 1 12:52:57 2010 (r41)
+++ trunk/templates/report.html Wed Dec 1 12:55:46 2010 (r42)
@@ -46,8 +46,7 @@
<table id="report">
<tr>
<th>Date</th>
- <th>Site title</th>
- <th>Site description</th>
+ <th>Site title and description</th>
<th>Version</th>
<th>Address</th>
<th><abbr title="Check method">M</abbr></th>
@@ -57,8 +56,10 @@
{% 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><span title="{{ item.site_title }}">{{
item.site_title|truncate_chars:20 }}</span></td>
- <td><span title="{{ item.site_description }}">{{
item.site_description|truncate_chars:20 }}</span></td>
+ <td>
+ <p class="site_title">{{ item.site_title }}</p>
+ <p class="site_description">{{ item.site_description }}</p>
+ </td>
<td>{{ item.get_full_version }}</td>
<td><abbr title="{{ item.address }}">{{ item.get_hostname
}}</abbr></td>
<td class="method">
--
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.