summaryrefslogtreecommitdiff
path: root/app/views/ci/admin/builds/index.html.haml
blob: d23119162cc655204e5485e949e70c826626060c (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
%ul.nav.nav-tabs.append-bottom-20
  %li{class: ("active" if @scope.nil?)}
    = link_to 'All builds', ci_admin_builds_path
  
  %li{class: ("active" if @scope == "pending")}
    = link_to "Pending", ci_admin_builds_path(scope: :pending)

  %li{class: ("active" if @scope == "running")}
    = link_to "Running", ci_admin_builds_path(scope: :running)


%table.builds
  %thead
    %tr
      %th Build
      %th Status
      %th Commit
      %th Runner
      %th Project
      %th Message
      %th Branch
      %th Duration
      %th Finished at

  - @builds.each do |build|
    = render "ci/admin/builds/build", build: build

= paginate @builds