summaryrefslogtreecommitdiff
blob: e000a538a39329ac1edd01398ca40d2fbca4208b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 %}