[Pkg-debile-commits] [debile-web] 01/01: Add new template to display binaries names
Léo Cavaillé
leo.cavaille-guest at alioth.debian.org
Mon Aug 26 13:11:17 UTC 2013
This is an automated email from the git hooks/post-receive script.
leo.cavaille-guest pushed a commit to branch master
in repository debile-web.
commit 3cab898575a6e604b24d026c2a74b6a3d188bce8
Author: Léo Cavaillé <leo at cavaille.net>
Date: Mon Aug 26 15:10:50 2013 +0200
Add new template to display binaries names
---
templates/report_list_binary_fragment.html | 37 ++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/templates/report_list_binary_fragment.html b/templates/report_list_binary_fragment.html
new file mode 100644
index 0000000..0f2a531
--- /dev/null
+++ b/templates/report_list_binary_fragment.html
@@ -0,0 +1,37 @@
+ <table>
+ <tr>
+ <th>Type</th>
+ <th>Name</th>
+ <th>Status</th>
+ <th>Machine</th>
+ <th>Results</th>
+ </tr>
+{% for jobinfo in jobinfolist %}
+ <tr class='job {% if jobinfo.job.is_finished() %}{% if jobinfo.job.failed %}failed{% else %}success{% endif %}{% endif %}'>
+ <td>
+ {% if jobinfo.job.is_finished() %}
+ <a href = '{{jobinfo.job_link}}' >{{jobinfo.job.type}}</a> <em>({{jobinfo.job.arch}})</em>
+ {% else %}
+ {{jobinfo.job.type}} <em>({{jobinfo.job.arch}})</em>
+ {% endif %}
+ </td>
+ <td>{{jobinfo.job.package.name}}</td>
+ <td>{{jobinfo.status}}</td>
+ <td>
+ {% if jobinfo.job.machine %}
+ <a href = '{{jobinfo.job_machine_link}}' >{{jobinfo.job.machine.name}}</a>
+ {% else %}
+ not assigned yet
+ {% endif %}
+ </td>
+ <td>{% if jobinfo.job.is_finished() %}{% if jobinfo.job.failed %}✗ Errors found{% else %}✓ Nothing found{% endif %}{% endif %}</td>
+ </tr>
+{% endfor %}
+{% if jobinfolist|length == 0 %}
+ <tr class='emptymessage'>
+ <td colspan='4'>
+ {{emptymessage}}
+ </td>
+ </tr>
+{% endif %}
+ </table>
--
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