summaryrefslogtreecommitdiff
blob: 6f2166a63bc39b7ab029e22d2af55faab236bb86 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{% 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>
          </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 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-warning">Repoman</span>
      {% endif %}
      {% endfor %}
      {% for BLQ in BLQ_tmp %}
      {% if BLQ.BuildLogId.BuildLogId == BL.BuildLogId%}
         <span class="label label-warning">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 %}