Project

General

Profile

1
<div class="uk-grid uk-grid-stack">
2
  <div class="uk-width-expand@m uk-first-column">
3
    <div class="gwt-HTML uk-margin-medium-bottom">
4
      <h1 class="uk-article-title">Browse validation history</h1>
5
    </div>
6
    <div class="">
7
      <div class="uk-alert uk-alert-danger" style="display: none;" aria-hidden="true"></div>
8
      <div class="uk-alert uk-alert-success" style="display: none;" aria-hidden="true"></div>
9
      <div class="uk-alert uk-alert-warning" style="display: none;" aria-hidden="true"></div>
10
      <div class="uk-grid page-controls">
11
        <div class="uk-margin-bottom uk-width-1-1 filters">
12
          <div class="links">
13
            <div class="filterLabel">Filter by job type:</div>
14
            <div class="inlineBlock">
15
              <select class="form-control">
16
                <option value="noneSelected">--none selected--</option>
17
                <option *ngFor="let job of jobTypes" value="{{job}}">{{job}}</option>
18
              </select>
19
            </div>
20
          </div>
21
        </div>
22
        <div class="uk-margin-bottom uk-width-1-1 filters">
23
          <div class="links uk-inline">
24
            <div class="filterLabel" style="display: inline;">Filter validation jobs:</div>
25
            <a class="active" href="#">All jobs (0)</a>
26
            <a href="#">successfull (0)</a>
27
            <a href="#">failed (0)</a>
28
            <a href="#">ongoing (0)</a>
29
          </div>
30
          <div class="show-options uk-inline" style="float: right;">
31
            <div class="filterLabel" style="display: inline;">Jobs per page:</div>
32
            <div class="inlineBlock">
33
              <select #itemsPerPage class="form-control" (change)="getItemsPerPage(itemsPerPage.value)">
34
                <option value="10" selected>10</option>
35
                <option value="25">25</option>
36
                <option value="50">50</option>
37
                <option value="100">100</option>
38
              </select>
39
            </div>
40
          </div>
41
        </div>
42
      </div>
43
      <div class="contentAndPagerPanel">
44
        <div>
45
          <ul class="uk-pagination">
46
            <li class="uk-disabled">
47
              <a class="disabled" href="#" >
48
                <span class="uk-margin-small-right uk-pagination-previous uk-icon" uk-pagination-previous>
49
                  <svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg" icon="pagination-previous" ratio="1"></svg>
50
                </span>
51
                Previous
52
              </a>
53
            </li>
54
            <li class="uk-margin-auto-left uk-disabled">
55
              <a class="disabled" href="#" >
56
                Next
57
                <span class="uk-margin-small-left uk-pagination-next uk-icon" uk-pagination-next>
58
                  <svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg" icon="pagination-next" ratio="1"></svg>
59
                </span>
60
              </a>
61
            </li>
62
          </ul>
63
          <div class="resultsPageLabel">page 1 of ?</div>
64
        </div>
65
        <div>
66
          <div>
67
            <div class="uk-overflow-auto uk-scrollspy-inview uk-animation-slide-top-medium uk-margin-top uk-margin-bottom">
68
              <table class="uk-table uk-table-stripped uk-table-middle jobs-list">
69
                <thead>
70
                <tr>
71
                  <th>Repository</th>
72
                  <th>Validation Type</th>
73
                  <th>Status</th>
74
                  <th>Score</th>
75
                  <th>Started</th>
76
                  <th>Guidelines</th>
77
                  <th>Actions</th>
78
                  <th></th>
79
                </tr>
80
                </thead>
81
                <tbody>
82
                  <tr *ngFor="let job of jobsOfUser">
83
                    <td>{{ job.repository }}</td>
84
                    <td>{{ job.validation[0].type }}<br>{{ job.validation[1].type }}</td>
85
                    <td>{{ job.validation[0].status }}<br>{{ job.validation[1].status }}</td>
86
                    <td>{{ job.validation[0].score }}<br>{{ job.validation[1].score }}</td>
87
                    <td>{{ job.started }}</td>
88
                    <td>{{ job.guidelines }}</td>
89
                    <td></td>
90
                    <td></td>
91
                  </tr>
92
                </tbody>
93
              </table>
94
            </div>
95
          </div>
96
        </div>
97
        <div>
98
          <ul class="uk-pagination">
99
            <li class="uk-disabled">
100
              <a class="disabled" href="#" >
101
                <span class="uk-margin-small-right uk-pagination-previous uk-icon" uk-pagination-previous>
102
                  <svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg" icon="pagination-previous" ratio="1"></svg>
103
                </span>
104
                Previous
105
              </a>
106
            </li>
107
            <li class="uk-margin-auto-left uk-disabled">
108
              <a class="disabled" href="#" >
109
                Next
110
                <span class="uk-margin-small-left uk-pagination-next uk-icon" uk-pagination-next="">
111
                  <svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg" icon="pagination-next" ratio="1"></svg>
112
                </span>
113
              </a>
114
            </li>
115
          </ul>
116
          <div class="resultsPageLabel">page 1 of ?</div>
117
        </div>
118
      </div>
119
      <div class="row"></div>
120
    </div>
121
  </div>
122
</div>
(9-9/13)