~zyga/checkbox/remove-libxml2

« back to all changes in this revision

Viewing changes to plainbox/plainbox/data/report/checkbox.html

  • Committer: Daniel Manrique
  • Author(s): Zygmunt Krynicki
  • Date: 2015-05-28 12:01:18 UTC
  • mfrom: (3815.1.9 launchpad/result-history)
  • Revision ID: daniel_manrique-20150528120118-mr8td57okmzed7ed
"automatic merge of lp:~zyga/checkbox/result-history/ by tarmac [r=sylvain-pineau][bug=][author=zyga]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        font-size: 10px;
128
128
        line-height: 14px;
129
129
      }
 
130
      tr.historic-run td:first-child {
 
131
        padding-left: 2em;
 
132
      }
130
133
      .data {
131
134
        display:    none;
132
135
      }
217
220
                        <th>Test ID</th>
218
221
                        <th>Result</th>
219
222
                        <th>Certification status</th>
 
223
                        <th>Run</th>
220
224
                        <th>Comment</th>
221
225
                    </tr>
222
226
                </thead>
226
230
                        <td>{{ job_state.job.tr_summary() }}</td>
227
231
                        <td style='font-weight: bold; color: {{ job_state.result.outcome_meta().color_hex }}'>{{ job_state.result.outcome_meta().tr_label }}</td>
228
232
                        <td>{{ job_state.effective_certification_status }}</td>
 
233
                        <td>{{ job_state.result_history|length }}</td>
229
234
                        {%- if job_state.result.comments != None %}
230
235
                        <td>{{ job_state.result.comments }}</td>
231
236
                        {%- else %}
239
244
                        {%- endif %}
240
245
                        {%- endif %}
241
246
                    </tr>
 
247
                    {%- for result in job_state.result_history[:-1] %}
 
248
                    <tr class='historic-run'>
 
249
                        <td>{{ job_state.job.tr_summary() }}</td>
 
250
                        <td style='font-weight: bold; color: {{ result.outcome_meta().color_hex }}'>{{ result.outcome_meta().tr_label }}</td>
 
251
                        <td></td>
 
252
                        <td>{{ loop.index }}</td>
 
253
                        {%- if result.comments != None %}
 
254
                        <td>{{ result.comments }}</td>
 
255
                        {%- else %}
 
256
                        {%- if result.io_log_as_flat_text != "" %}
 
257
                        <td><div style="vertical-align: middle; width: 420px; overflow: auto;">
 
258
                                <pre>{{ result.io_log_as_flat_text }}</pre>
 
259
                            </div>
 
260
                        </td>
 
261
                        {%- else %}
 
262
                        <td>&nbsp;</td>
 
263
                        {%- endif %}
 
264
                        {%- endif %}
 
265
                    </tr>
 
266
                    {%- endfor %}
242
267
                {%- endfor %}
243
268
                </tbody>
244
269
            </table>