aboutsummaryrefslogtreecommitdiff
path: root/app/dashboard/templates/boots-job-kernel.html
blob: 242dbd6fa1e4fd0dc750aed0ac514ec36de8b9a1 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{% extends 'base.html' %} {%- block meta -%}
<meta name="csrf-token" content="{{ csrf_token_r() }}"> {%- endblock %} {%- block title %}{{ page_title|safe }}{%- endblock %} {%- block head %} {{ super() }} {%- endblock %} {%- block content %}
<div class="row">
    <div class="page-header">
        <h3 id="details">{{ body_title|safe }}</h3>
    </div>
    <div class="col-xs-12 col-sm-12 col-md-7 col-lg-7">
        <dl class="dl-horizontal">
            <dt>Tree</dt>
            <dd class="loading-content" id="tree">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
            <dt>Git branch</dt>
            <dd class="loading-content" id="git-branch">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
            <dt>Git describe</dt>
            <dd class="loading-content" id="git-describe">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
            <dt>Git URL</dt>
            <dd class="loading-content" id="git-url">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
            <dt>Git commit</dt>
            <dd class="loading-content" id="git-commit">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
        </dl>
        <dl class="dl-horizontal">
            <dt>Unique boards</dt>
            <dd id="unique-boards" class="loading-content unique-values">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
            <dt >Unique SoCs</dt>
            <dd id="unique-socs" class="loading-content unique-values">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
            <dt>Unique defconfigs</dt>
            <dd id="unique-defconfigs" class="loading-content unique-values">
                <i class="fa fa-cog fa-spin"></i>&nbsp;loading&hellip;
            </dd>
        </dl>
    </div>
    <div class="col-xs-12 col-sm-12 col-md-5 col-lg-5">
        <div id="pie-chart" class="chart-div">
            <div id="pie-chart-heading">
                <table id="pie-chart-legend" class="pie-chart">
                    <tbody>
                        <tr>
                            <td id="success-cell" onclick="showHideBoots(this)">0</td>
                            <td>&nbsp;/&nbsp;</td>
                            <td id="fail-cell" onclick="showHideBoots(this)">0</td>
                            <td>&nbsp;/&nbsp;</td>
                            <td id="unknown-cell" onclick="showHideBoots(this)">0</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="page-header">
        <h3 id="tested-boards">Boards Tested</h3>
    </div>
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        <div class="btn-group">
            <button id="all-btn" onclick="showHideBoots(this)" type="button" class="btn btn-default" disabled>All</button>
            <button id="success-btn" onclick="showHideBoots(this)" type="button" class="btn btn-default" disabled>Successful</button>
            <button id="fail-btn" onclick="showHideBoots(this)" type="button" class="btn btn-default" disabled>Failed</button>
            <button id="unknown-btn" onclick="showHideBoots(this)" type="button" class="btn btn-default" disabled>Unknown</button>
        </div>
    </div>
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        <div id="labs">
            <div id="accordion-container">
                <div class="pull-center">
                    <i class="fa fa-cog fa-spin fa-2x"></i>&nbsp;loading&hellip;
                </div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" id="job-name" value="{{ job }}">
<input type="hidden" id="kernel-name" value="{{ kernel }}">
<input type="hidden" id="search-filter" value="{{ search_filter }}">
<input type="hidden" id="file-server" value="{{ config['FILE_SERVER_URL'] }}">
{# Beware the single quotes on this variable! #}
<input type="hidden" id="url-translation" value='{{ config["KNOWN_GIT_URLS"]|tojson|safe }}'>
{%- endblock %}
{%- block scripts %}
{{ super() }}
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/d3/3.4.6/d3.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/URI.js/1.11.2/URI.min.js"></script>
<script type="text/javascript" src="/static/js/linaro-webstorage-1.0.1.js"></script>
<script type="text/javascript" src="/static/js/linaro-boots-job-kernel-1.0.13.js"></script>
{%- endblock %}