summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/templates/pages/packages/ebuilds')
-rw-r--r--python/templates/pages/packages/ebuilds/ebuild/index.html33
-rw-r--r--python/templates/pages/packages/ebuilds/index.html29
2 files changed, 48 insertions, 14 deletions
diff --git a/python/templates/pages/packages/ebuilds/ebuild/index.html b/python/templates/pages/packages/ebuilds/ebuild/index.html
index e000a53..4752be1 100644
--- a/python/templates/pages/packages/ebuilds/ebuild/index.html
+++ b/python/templates/pages/packages/ebuilds/ebuild/index.html
@@ -9,13 +9,6 @@
<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 %}
@@ -43,5 +36,31 @@
{% endfor %}
</table>
</div>
+ <div class="col-xs-12 col-md-9">
+ <table class="table table-striped frontpage-table">
+ {% for BL in BL_tmp %}
+ <tr>
+ <td class="frontpage-table-package-atom">
+ {% if BL.Fail %}
+ <span class="label label-danger">Build</span>
+ {% else %}
+ <span class="label label-success">Build</span>
+ {% endif %}
+ {% for BLR in BLR_tmp %}
+ {% if BLR.BuildLogId.BuildLogId == BL.BuildLogId%}
+ <span class="label label-danger">Repoman</span>
+ {% endif %}
+ {% endfor %}
+ {% for BLQ in BLQ_tmp %}
+ {% if BLQ.BuildLogId.BuildLogId == BL.BuildLogId%}
+ <span class="label label-danger">Qa</span>
+ {% endif %}
+ {% endfor %}
+ <a class="btn btn-default btn-xs" href="/new/logs/build/{{ BL.BuildLogId }}/">More info</a>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
</div>
{% endblock %} \ No newline at end of file
diff --git a/python/templates/pages/packages/ebuilds/index.html b/python/templates/pages/packages/ebuilds/index.html
index b941c62..a9cef7d 100644
--- a/python/templates/pages/packages/ebuilds/index.html
+++ b/python/templates/pages/packages/ebuilds/index.html
@@ -11,13 +11,17 @@
<td class="frontpage-table-package-atom">
<a href="/ebuild/{{ E.EbuildId.EbuildId }}/" title="{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.EbuildId.PackageId.RepoId.Repo }}">{{ P.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.EbuildId.PackageId.RepoId.Repo }}</a></td>
<td>
- {% for K in EK_tmp %}
- {% if K.EbuildId.EbuildId == E.EbuildId.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 %}
+ {% for FI in fi_tmp %}
+ {% if FI.EbuildId == E.EbuildId.EbuildId %}
+ {% if FI.qa %}<span class="label label-warning">Qa</span>{% endif %}
+ {% if FI.repoman %}<span class="label label-warning">Repoman</span>{% endif %}
+ {% if FI.fail %}
+ <span class="label label-danger">Build</span>
+ {% else %}
+ <span class="label label-success">Build</span>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
</td>
</tr>
{% endfor %}
@@ -26,5 +30,16 @@
{% if PR %}
<a class="btn btn-warning btn-xs" href="/repoman/{{P.PackageId.PackageId }}/">Repoman</a>
{% endif %}
+ {% if QA %}
+ <a class="btn btn-warning btn-xs" href="/qa/{{P.PackageId.PackageId }}/">Qa</a>
+ {% endif %}
+ {% if Bl %}
+ {% if Blf %}
+ <a class="btn btn-danger btn-xs">
+ {% else %}
+ <a class="btn btn-success btn-xs">
+ {% endif %}
+ Build</a>
+ {% endif %}
</div>
{% endblock %} \ No newline at end of file