~qajenkinsbot/qa-dashboard/production

« back to all changes in this revision

Viewing changes to smokeng/templates/smokeng/result_logs.html

  • Committer: Joe Talbott
  • Date: 2013-05-14 01:17:05 UTC
  • mto: (1.1.411 qa-dashboard)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: joe.talbott@canonical.com-20130514011705-bcakz536ejsursu6
smokeng - Add smoke rewrite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "smoke/smoke_layout.html" %}
 
2
{% load dashboard_extras %}
 
3
 
 
4
{% block page_name %}Result logs for {{image.run.flavor}}-{{image.variant}}-{{image.arch}} {{result.name}}{% endblock %}
 
5
{% block content %}
 
6
<script type='text/javascript'>
 
7
  //<![CDATA[
 
8
    $(document).ready(function() {
 
9
      $(".data-table").dataTable({
 
10
        "bPaginate": false,
 
11
        "aaSorting": [[0, 'desc']]
 
12
      });
 
13
    });
 
14
  //]]>
 
15
</script>
 
16
<div class='grid_15'>
 
17
  <h2>
 
18
    Result Logs
 
19
  </h2>
 
20
  <table class='data-table'>
 
21
    <thead>
 
22
      <tr>
 
23
        <th>Path</th>
 
24
      </tr>
 
25
    </thead>
 
26
    <tbody>
 
27
      {% for log in logs %}
 
28
      <tr>
 
29
        <td>
 
30
          <a href='{{log.remote_url}}'>
 
31
            {{ log.display_name }}
 
32
          </a>
 
33
        </td>
 
34
      </tr>
 
35
      {% endfor %}
 
36
      <tr>
 
37
        <td>
 
38
          <a href='{{result.jenkins_url}}/console'>Console Output</a>
 
39
        </td>
 
40
      </tr>
 
41
    </tbody>
 
42
  </table>
 
43
</div>
 
44
 
 
45
{% endblock %}