[Pkg-debile-commits] [debile-web] 01/03: source_list: status icons as horizontal-list + titles
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 0e685196cf44c6b894726d79cbcd9415a535eff9
Author: Clément Schreiner <clement at mux.me>
Date: Sat Jun 28 13:54:50 2014 +0200
source_list: status icons as horizontal-list + titles
---
less/source.less | 16 ++++++++++++++++
templates/source_list_fragment.html | 16 +++++++++-------
2 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/less/source.less b/less/source.less
index 75d3f38..8be734e 100644
--- a/less/source.less
+++ b/less/source.less
@@ -38,3 +38,19 @@ tr.success {
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 42dd28a..db6d96e 100644
--- a/templates/source_list_fragment.html
+++ b/templates/source_list_fragment.html
@@ -29,24 +29,26 @@
</td>
<td>
{% for job in info.source.jobs %}
+ <ul class="status">
{% if job.finished_at %}
{% if job.failed == None %}
- ⧖
+ <li title="Pending">⧖</li>
{% elif job.failed %}
- ✗
+ <li title="Failed">✗</li>
{% elif job.check.build and not job.built_binaries %}
- ⧖
+ <li title="Pending">⧖</li>
{% else %}
- ✓
+ <li>✓</li>
{% endif %}
{% elif job.assigned_at %}
- ⧖
+ <li title="Pending">⧖</li>
{% elif job.dose_report or job.depedencies %}
- ∞
+ <li title="Dep-Wait">∞</li>
{% else %}
- ⌚
+ <li>⌚</li>
{% endif %}
{% endfor %}
+ </ul>
</td>
</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