~launchpad-pqm/launchpad/devel

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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<div
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  xmlns:metal="http://xml.zope.org/namespaces/metal"
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
  class="builds_list" tal:condition="not: view/setupBuildList">

  <tal:batch define="batch view/complete_builds">

     <form name="build_records_state" action="" method="GET">
          <tal:searchname condition="view/search_name">
            Package:
            <input id="build_text" title="Package Name" size="20"
                   type="text" name="build_text"
                   tal:attributes="value view/text"/>
          </tal:searchname>

          <select id="build_state" name="build_state" size="1">
          <option tal:repeat="option view/available_states"
                  tal:attributes="selected option/selected;
                                  value option/value"
                  tal:content="option/name" />
          </select>
          <tal:arch_selector condition="view/show_arch_selector">
          for
          <select id="arch_tag" name="arch_tag" size="1">
            <option tal:repeat="option view/architecture_options"
                    tal:attributes="selected option/selected;
                                    value option/value"
                    tal:content="option/name">
              i386
            </option>
          </select>
          </tal:arch_selector>
          <input type="submit" value="Filter" />
     </form>

  <tal:navigation_top
     replace="structure view/batchnav/@@+navigation-links-upper" />

  <table class="listing" tal:condition="batch">
    <tbody>
      <tal:batch_repeat repeat="build batch">
        <tr class="build-row" tal:condition="build">
          <td class="left icon">
             <tal:icon replace="structure build/image:icon" />
          </td>
          <td>
            <a tal:attributes="href build/fmt:url"
               tal:content="build/title">NAME
            </a>
            <div>
              <tal:needs_deps condition="build/dependencies">
                Missing dependencies:
                <tal:dependencies content="build/dependencies" />
              </tal:needs_deps>
            </div>
            <div tal:condition="build/was_built">
              Build started
              <tal:soyuz_record condition="build/duration">
                 <span
                   tal:attributes="
                     title build/date_started/fmt:datetime"
                   tal:content="
                   build/date_started/fmt:displaydate" />
              </tal:soyuz_record>
              <tal:gina_record condition="not: build/duration">
                  <i>at an unknown time</i>
              </tal:gina_record>
              <tal:show_builder_info condition="view/show_builder_info">
                on
                <a
                  tal:condition="build/builder"
                  tal:content="build/builder/title"
                  tal:attributes="href build/builder/fmt:url"
                />
                <tal:unknown_builder condition="not: build/builder">
                   <i>an unknown build machine</i>
                </tal:unknown_builder>
              </tal:show_builder_info>
              <tal:date_built condition="build/date_finished">
                and finished
                <span
                  tal:attributes="title build/date_finished/fmt:datetime"
                  tal:content="build/date_finished/fmt:displaydate" />
                taking
                <tal:time
                  content="build/duration/fmt:approximateduration" />
                <tal:log condition="build/log">
                  &mdash;
                  <a tal:attributes="href build/log_url"
                    >see the log</a>
                </tal:log>
              </tal:date_built>
            </div>
            <div tal:condition="not: build/was_built"
                    tal:define="bq build/buildqueue_record">
              <tal:buildqueue condition="bq">
                <tal:pending condition="not: bq/builder">
                  Pending (<span tal:replace="bq/lastscore" />)
                </tal:pending>
                <tal:building condition="bq/builder">
                  Build started
                  <span
                    tal:attributes="title bq/job/date_started/fmt:datetime"
                    tal:content="bq/job/date_started/fmt:displaydate" />
                  on
                  <a tal:content="bq/builder/title"
                     tal:attributes="href bq/builder/fmt:url"/>
                </tal:building>
              </tal:buildqueue>
            </div>
          </td>
        </tr>
        <tr class="build-row" tal:condition="not: build">
          <td class="left icon">
            <img width="14" height="14" alt="[PRIVATE JOB]"
                 title="Private" src="/@@/private" />
          </td>
          <td tal:condition="not: build">Private job</td>
        </tr>
      </tal:batch_repeat>
    </tbody>
  </table>

  <tal:navigation_bottom replace="structure view/batchnav/@@+navigation-links-lower" />

  <div id="empty-result" tal:condition="view/no_results">
     No matching builds.
  </div>

  <tal:block tal:condition="not: view/no_results">
    <div id="no-default-result" tal:condition="not: view/complete_builds">
       No <tal:state condition="view/state">'<span
         tal:replace="view/state/title" />' </tal:state>build records.
    </div>
  </tal:block>

  </tal:batch>
</div>