summaryrefslogtreecommitdiff
blob: 49ad3e56da490b3ff7e17c60636cf0ef5441ffdf (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
67
68
69
70
71
72
73
74
75
{% 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">
    {% for FI in fi_tmp %}
      {% if FI.BuildLogId == BL.BuildLogId %}
        {% if FI.Blo %}
          <span class="label label-info">Others</span>
        {% else %}
              {% if FI.qa %}
                <span class="label label-warning">Qa</span>
              {% else %}
                <span class="label label-success">Qa</span>
              {% endif %}
              {% if FI.repoman %}
                <span class="label label-warning">Repoman</span>
              {% else %}
                 <span class="label label-success">Repoman</span>
              {% endif %}
   
              {% if FI.Blb %}
                <span class="label label-danger">Build</span>
              {% else %}
                <span class="label label-success">Build</span>
              {% endif %}
            {% endif %}
            {% 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 %}