Sha256: 8a0cc5628bbbe414f37a30361e4751fe0036089053ac9544bc1f62b1b89d1408

Contents?: true

Size: 1.28 KB

Versions: 6

Compression:

Stored size: 1.28 KB

Contents

- @title = 'Executions'
- @content_title = '<i class="fa fa-tasks"></i> Executions'

.box
  .box-header
    .row
      .col-md-4
        h3.box-title Executions
  - if @executions.empty?
    .box-body
      .text-muted.well.well-sm.no-shadow There are no working executions.
  - else
    .box-body.table-responsive
      table.table.table-hover
        thead
          tr
            th Status
            th Queue
            th Job Name
            th Job Description
            th Created at
            th Started at
            th
        tbody
          - @executions.each do |execution|
            tr
              td= content_tag(:span, execution.started_at? ? 'running' : 'waiting', class: "label label-#{execution.started_at? ? 'info' : 'warning'}")
              td= execution.queue
              td= execution.job_instance.job_definition.name
              td= first_line(execution.job_definition.description)
              td= l(execution.created_at, format: :short)
              td= execution.started_at.try! { |at| l(at, format: :short) }
              td= link_to(job_definition_job_instance_path(job_definition_id: execution.job_instance.job_definition.id, id: execution.job_instance.id), class: 'btn btn-default btn-xs') do
                i.fa.fa-chevron-right
                |Details

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kuroko2-0.3.1 app/views/kuroko2/executions/index.html.slim
kuroko2-0.3.0 app/views/kuroko2/executions/index.html.slim
kuroko2-0.2.3 app/views/kuroko2/executions/index.html.slim
kuroko2-0.2.2 app/views/kuroko2/executions/index.html.slim
kuroko2-0.2.1 app/views/kuroko2/executions/index.html.slim
kuroko2-0.2.0 app/views/kuroko2/executions/index.html.slim