[Pkg-debile-commits] [debile-web] 01/01: add the template view

Sylvestre Ledru sylvestre at alioth.debian.org
Tue Aug 27 13:36:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch update-usuability
in repository debile-web.

commit 180e95bdbd755fa36aada4feb1b6d748846e491f
Author: Sylvestre Ledru <sylvestre at debian.org>
Date:   Tue Aug 27 15:36:36 2013 +0200

    add the template view
---
 templates/package.html |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/templates/package.html b/templates/package.html
new file mode 100644
index 0000000..3cbf55d
--- /dev/null
+++ b/templates/package.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+
+{% block title %}Package {{package_name}}{% endblock %}
+
+{% block content %}
+Package <i>{{package_name}}</i> summary
+    <table>
+        <tr>
+            <th>Worker</th>
+	    <th>Version</th>
+            <th>Status</th>
+            <th>Results</th>
+        </tr>
+{% for pkg in package %}
+	<tr>
+	  <td>
+	    {{pkg.type}} ({{pkg.arch}}) {% if pkg.subtype != None %} - {{pkg.subtype}} {% endif %}
+	  </td>
+	  <td>
+	    {{pkg.Source.version}}
+	  </td>
+	  <td>
+	  </td>
+	  <td>
+	  </td>
+  
+	  </tr>
+	
+{% endfor %}
+</table>
+
+{% endblock %}

-- 
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