aboutsummaryrefslogtreecommitdiff
path: root/app/dashboard/templates/builds-job-kernel.html
blob: a3bfa9469ebfb47adc892eb74c7746850e8d9d79 (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
{% 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>{{ 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>
    </div>
    <div class="col-xs-12 col-sm-12 col-md-5 col-lg-5">
        <div id="builds-chart" class="chart-div pull-center">
            <div id="builds-chart-heading">
                <table id="builds-chart-legend" class="pie-chart">
                    <tbody>
                        <tr>
                            <td id="success-cell" onclick="showHideDefconfs(this)">0</td>
                            <td>&nbsp;/&nbsp;</td>
                            <td id="fail-cell" onclick="showHideDefconfs(this)">0</td>
                            <td>&nbsp;/&nbsp;</td>
                            <td id="unknown-cell" onclick="showHideDefconfs(this)">0</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="page-header">
        <h3>Defconfigs Built</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="showHideDefconfs(this)" type="button" class="btn btn-default" disabled>All</button>
            <button id="success-btn" onclick="showHideDefconfs(this)" type="button" class="btn btn-default" disabled>Successful</button>
            <button id="fail-btn" onclick="showHideDefconfs(this)" type="button" class="btn btn-default" disabled>Failed</button>
            <button id="unknown-btn" onclick="showHideDefconfs(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="accordion-container">
            <div class="panel-group" id="accordion">
                <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="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="/static/js/linaro-webstorage-1.0.1.js"></script>
<script type="text/javascript" src="/static/js/linaro-builds-job-kernel-1.0.9.js"></script>
{%- endblock %}