Sha256: 11c8254768e33b18d2e242a76c1343f6e43b79e30ef90589a3e4560cb946c747

Contents?: true

Size: 1.3 KB

Versions: 16

Compression:

Stored size: 1.3 KB

Contents

- content_for :title, 'Executions'
- content_for :content_title do
  <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

16 entries across 16 versions & 1 rubygems

Version Path
kuroko2-0.8.0 app/views/kuroko2/executions/index.html.slim
kuroko2-0.7.0 app/views/kuroko2/executions/index.html.slim
kuroko2-0.6.0 app/views/kuroko2/executions/index.html.slim
kuroko2-0.5.2 app/views/kuroko2/executions/index.html.slim
kuroko2-0.5.1 app/views/kuroko2/executions/index.html.slim
kuroko2-0.5.0 app/views/kuroko2/executions/index.html.slim
kuroko2-0.4.6 app/views/kuroko2/executions/index.html.slim
kuroko2-0.4.5 app/views/kuroko2/executions/index.html.slim
kuroko2-0.4.4 app/views/kuroko2/executions/index.html.slim
kuroko2-0.4.3 app/views/kuroko2/executions/index.html.slim
kuroko2-0.4.2 app/views/kuroko2/executions/index.html.slim
kuroko2-0.4.1 app/views/kuroko2/executions/index.html.slim
kuroko2-0.4.0 app/views/kuroko2/executions/index.html.slim
kuroko2-0.3.4 app/views/kuroko2/executions/index.html.slim
kuroko2-0.3.3 app/views/kuroko2/executions/index.html.slim
kuroko2-0.3.2 app/views/kuroko2/executions/index.html.slim