summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2017-01-15 20:44:38 +0100
committerMagnus Granberg <zorry@gentoo.org>2020-04-09 07:38:53 +0200
commit593e2eed315dbac85b6318a3cf4dd9fa390c8041 (patch)
treec6ebb3044ebda6a4db180ee458d1afe538ee6e7e /python/templates/pages/packages/ebuilds/ebuild/index.html
parentfix ame 'adict' is not defined line 273 (diff)
downloadtinderbox-cluster-www-593e2eed315dbac85b6318a3cf4dd9fa390c8041.tar.gz
tinderbox-cluster-www-593e2eed315dbac85b6318a3cf4dd9fa390c8041.tar.bz2
tinderbox-cluster-www-593e2eed315dbac85b6318a3cf4dd9fa390c8041.zip
Update code to use gosbs backend
Signed-off-by: Magnus Granberg <zorry@gentoo.org>
Diffstat (limited to 'python/templates/pages/packages/ebuilds/ebuild/index.html')
-rw-r--r--python/templates/pages/packages/ebuilds/ebuild/index.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/python/templates/pages/packages/ebuilds/ebuild/index.html b/python/templates/pages/packages/ebuilds/ebuild/index.html
new file mode 100644
index 0000000..e000a53
--- /dev/null
+++ b/python/templates/pages/packages/ebuilds/ebuild/index.html
@@ -0,0 +1,47 @@
+{% extends "layout/base.html" %}
+{% block content %}
+<div class="row">
+ <div class="col-xs-12 col-md-9">
+ <h2>{{ E.PackageId.CategoryId.Category }}/{{ E.PackageId.Package }}</h2>
+ <table class="table table-striped frontpage-table">
+ {% for EM in EM_tmp %}
+ <tr>
+ <td class="frontpage-table-package-atom">
+ <p" title="{{ E.PackageId.CategoryId.Category }}/{{ E.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.PackageId.RepoId.Repo }}">{{ E.PackageId.Package }}-{{ E.Version }}::{{ E.PackageId.RepoId.Repo }}</p>
+ <a class="btn btn-default btn-xs" href="/buildpackage/{{ E.EbuildId.EbuildId }}/">Build</a>
+ {% for BL in BL_tmp %}
+ {% if BL.Fail %}
+ <a class="btn btn-danger btn-xs" href="/buildlog/{{ BL.BuildLogId }}/">Fail</a>
+ {% else %}
+ <a class="btn btn-success btn-xs" href="/buildlog/{{ BL.BuildLogId }}/">Success</a>
+ {% endif %}
+ {% endfor %}
+ </td>
+ <td>
+ {% for K in EK_tmp %}
+ {% if K.EbuildId.EbuildId == E.EbuildId and K.KeywordId.Keyword != '*' %}
+ {% if K.Status == 'Stable' %}<span class="label label-success">{{ K.KeywordId.Keyword }}</span>{% endif %}
+ {% if K.Status == 'Unstable' %}<span class="label label-warning">{{ K.KeywordId.Keyword }}</span>{% endif %}
+ {% if K.Status == 'Negative' %}{{ K.KeywordId.Keyword }}{% endif %}
+ {% endif %}
+ {% endfor %}
+ <p>
+ {% for U in EU_tmp %}
+ {% if U.Status %}
+ <span class="label label-info">{{ U.UseId.Flag }}</span>
+ {% else %}
+ <span class="label label-default">{{ U.UseId.Flag }}</span>
+ {% endif %}
+ {% endfor %}
+ </p><p>
+ {% for R in ER_tmp %}
+ <span class="label label-warning">{{ R.RestrictionId.Restriction }}</span>
+ {% endfor %}
+ </p>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+</div>
+{% endblock %} \ No newline at end of file