squad 1.73__py3-none-any.whl → 1.75__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,91 +0,0 @@
1
- {% extends "squad/base.jinja2" %}
2
-
3
- {% block content %}
4
-
5
- <div ng-app='Build'>
6
- {% include "squad/build-nav.jinja2" %}
7
- </div>
8
-
9
- <h2>{{ _('All test failures') }}</h2>
10
-
11
- {% with items=page %}
12
- {% include "squad/_pagination.jinja2" %}
13
- {% endwith %}
14
-
15
- <div>
16
- <div class='row row-bordered'>
17
- <div class='col-md-12 col-sm-12 filter'>
18
- <a id="searchLink"><button type='button' class='btn btn-primary fa fa-search'></button></a>
19
- <input name='search' id='search' type='text' placeholder='{{ _('Filter results ...') }}' value='{{search}}' />
20
- </div>
21
- </div>
22
-
23
- <table class='test-results'>
24
- <thead>
25
- <th>{{ _('Test') }}</th>
26
- {% for e in environments %}
27
- <th>{{ e.slug }}</th>
28
- {% endfor %}
29
- </thead>
30
- {% if rows|length == 0 %}
31
- <tr>
32
- <td colspan="{{environments|length|add(1)}}" class="alert alert-warning">
33
- <em>{{ _('This build has no failures yet.') }}</em>
34
- </td>
35
- </tr>
36
- {% else %}
37
- {% for i in page %}
38
- {% set fn = i.metadata__suite + "/" + i.metadata__name %}
39
- <tr>
40
- <td>{{ fn }}</td>
41
- {% for e in environments %}
42
- {% if e.slug in rows and fn in rows[e.slug]: %}
43
- <td class="{{ rows[e.slug][fn].status }}">
44
- {{ rows[e.slug][fn].confidence.score }}&nbsp;
45
- <span data-toggle="tooltip" title="{{ _('Click to display confidence info') }}">
46
- <button class="fa fa-info-circle popover-regressions-fixes"></button>
47
- <span title="{{ _('Confidence') }}" class="hidden">
48
- Pass: {{ rows[e.slug][fn].confidence.passes }}
49
- Count: {{ rows[e.slug][fn].confidence.count }}
50
- Threshold: {{ rows[e.slug][fn].confidence.threshold }}
51
- </span>
52
- </span>
53
- </td>
54
- {% else %}
55
- <td>&nbsp;</td>
56
- {% endif %}
57
- {% endfor %}
58
- <tr>
59
- {% endfor %}
60
- {% endif %}
61
- </table>
62
-
63
- </div>
64
-
65
- {% with items=page %}
66
- {% include "squad/_pagination.jinja2" %}
67
- {% endwith %}
68
-
69
- {% endblock %}
70
-
71
- {% block javascript %}
72
- <script type="module" src='{{static("squad/build.js")}}'></script>
73
- <script type="text/javascript" src='{{static("squad/table.js")}}'></script>
74
- <script type="text/javascript">
75
- $('[data-toggle="tooltip"]').tooltip();
76
- function loadSearchURL(pageParam, search) {
77
- searchURL = pageParam + "&search=" + search;
78
- window.location = searchURL;
79
- }
80
- $("#search").keypress(function(e) {
81
- if(e.which == 13) {
82
- window.location = "?page=1&search=" + $("#search").val();
83
- return false;
84
- }
85
- });
86
- $("#searchLink").click(function(event) {
87
- window.location = "?page=1&search=" + $("#search").val();
88
- return false;
89
- });
90
- </script>
91
- {% endblock %}
File without changes
File without changes