summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2017-01-06 18:38:55 +0100
committerMagnus Granberg <zorry@gentoo.org>2017-01-06 18:38:55 +0100
commit8075fca3b427cdedb19c50bf8c8ede5476aaf7ad (patch)
tree6065bda87ed2ee727cb79f614e57714b0a0f2aa2 /python/templates/includes/frontpage/new_logs
parentUpdate for django 1.10 and fix links for css and js (diff)
downloadtinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.tar.gz
tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.tar.bz2
tinderbox-cluster-www-8075fca3b427cdedb19c50bf8c8ede5476aaf7ad.zip
Redone the layout
Diffstat (limited to 'python/templates/includes/frontpage/new_logs')
-rw-r--r--python/templates/includes/frontpage/new_logs32
1 files changed, 16 insertions, 16 deletions
diff --git a/python/templates/includes/frontpage/new_logs b/python/templates/includes/frontpage/new_logs
index bb97536..49db4c3 100644
--- a/python/templates/includes/frontpage/new_logs
+++ b/python/templates/includes/frontpage/new_logs
@@ -1,11 +1,13 @@
-<table class="table table-striped frontpage-table">
- {% for B in BL%}
- <tr>
- <td class="frontpage-table-package-atom"><a href="/new/logs/build/{{ B.BuildLogId }}/" title="{{ B.C }}/{{ B.P }}-{{ B.V }}::{{ B.R }}">
- {{ B.C }}/{{ B.P }}-{{ B.V }}::{{ B.R }}</a></td>
- <td><p title="{{ B.SummeryText }}">{{ B.SummeryText|truncatewords:3 }}</p>
- <td class="text-right">
- {% if B.Fail %}
+{% for BL in BL_tmp %}
+<tr>
+ <td>
+ <a href="/logs/build/{{ BL.BuildLogId }}/">
+ <span class="text-muted">{{ BL.C }}/</span>/<strong>{{ BL.P }}-{{ BL.V }}::{{ BL.R }}</strong>
+ </a>
+ </td>
+ <td>
+ <p title="{{ BL.SummeryText }}">{{ BL.SummeryText|truncatewords:5 }}</p>
+ {% if BL.Fail %}
{% for BE in B.BE_tmp %}
{% if BE.BuildLogId.BuildLogId == B.BuildLogId %}
{% if BE.ErrorId.ErrorId == 1 or BE.ErrorId.ErrorId == 2 %}
@@ -21,11 +23,9 @@
{% if not B.FailB %}
<span class="label label-success">BUILD</span>
{% endif %}
- {% else %}
- <span class="label label-success">Ok</span>
- {% endif %}
- </td>
- </td>
- </tr>
- {% endfor %}
-</table> \ No newline at end of file
+ {% else %}
+ <span class="label label-success">Ok</span>
+ {% endif %}
+ </td>
+</tr>
+{% endfor %}