[Pkg-debile-commits] [debile-web] 02/03: Don't need no list here. Just add titled spans.
Clément Schreiner
clemux-guest at moszumanska.debian.org
Sat Jun 28 14:51:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
clemux-guest pushed a commit to branch master
in repository debile-web.
commit bb699a4d6b168c479be85635877d8c5c0734b0f5
Author: Clément Schreiner <clement at mux.me>
Date: Sat Jun 28 16:44:44 2014 +0200
Don't need no list here. Just add titled spans.
---
less/source.less | 15 ---------------
templates/source_list_fragment.html | 22 +++++++++++-----------
2 files changed, 11 insertions(+), 26 deletions(-)
diff --git a/less/source.less b/less/source.less
index 8be734e..c950cda 100644
--- a/less/source.less
+++ b/less/source.less
@@ -39,18 +39,3 @@ tr.failed {
background-color: #EE3B3B;
}
-td.status {
- display: inline;
-}
-
-ul.status {
- list-style-type: none;
- margin: 0;
- padding: 0;
-
- li {
- display: inline;
- float:left;
- margin-right: 0.5em;
- }
-}
diff --git a/templates/source_list_fragment.html b/templates/source_list_fragment.html
index db6d96e..6446e56 100644
--- a/templates/source_list_fragment.html
+++ b/templates/source_list_fragment.html
@@ -28,28 +28,28 @@
{% endif %}
</td>
<td>
- {% for job in info.source.jobs %}
- <ul class="status">
+ {% for job in info.source.jobs %}
{% if job.finished_at %}
{% if job.failed == None %}
- <li title="Pending">⧖</li>
+ <span title="Building">⧖</span>
{% elif job.failed %}
- <li title="Failed">✗</li>
+ <span title="Failed">✗</span>
{% elif job.check.build and not job.built_binaries %}
- <li title="Pending">⧖</li>
+ <span title="Building">⧖</span>
{% else %}
- <li>✓</li>
+ <span>✓</span>
{% endif %}
{% elif job.assigned_at %}
- <li title="Pending">⧖</li>
+ <span title="Pending">⧖</span>
{% elif job.dose_report or job.depedencies %}
- <li title="Dep-Wait">∞</li>
+ <span title="Dep-Wait">∞</span>
{% else %}
- <li>⌚</li>
+ <span title="Needs-Build">⌚</span>
{% endif %}
+
+
{% endfor %}
- </ul>
- </td>
+ </tr>
</tr>
{% endfor %}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-web.git
More information about the Pkg-debile-commits
mailing list