summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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