Sha256: 2b6219b256518d60cfc02111f3a719d632b91d2497662f5c52a2840170724d0d

Contents?: true

Size: 1.36 KB

Versions: 8

Compression:

Stored size: 1.36 KB

Contents

- content_for :title, 'Kuroko Workers'
- content_for :content_title do
  <i class="fa fa-rocket"></i> Kuroko Workers

.box#workers
  .box-header
    h3.box-title Kuroko Workers
  .box-body.table-responsive
    table.table.table-hover
      tbody
        tr
          th.col-md-2 Hostname
          th.col-md-1 WID
          th.col-md-2 Queue
          th.col-md-1 Status
          th.col-md-5 Execution
          th.col-md-1 &nbsp;
        - for worker in @workers
          tr
            td= worker.hostname
            td= worker.worker_id
            td= worker.queue
            td
              - if worker.working
                span.label.label-primary WORKING
              - else
                '&nbsp;
            td
              - if worker.execution
                .log= worker.execution.shell
              - elsif worker.execution_id?
                span.text-danger Couldn't find Execution with 'id'=#{worker.execution_id}.
              - else
                '&nbsp;
            td
              - if worker.execution
                = link_to(raw('<i class="fa fa-chevron-right"></i> Details'),
                          job_definition_job_instance_path(job_definition_id: worker.execution.job_definition_id, id: worker.execution.job_instance_id),
                          role: 'button', class: 'btn btn-sm btn-default')
              - else
                '&nbsp;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kuroko2-0.4.4 app/views/kuroko2/workers/index.html.slim
kuroko2-0.4.3 app/views/kuroko2/workers/index.html.slim
kuroko2-0.4.2 app/views/kuroko2/workers/index.html.slim
kuroko2-0.4.1 app/views/kuroko2/workers/index.html.slim
kuroko2-0.4.0 app/views/kuroko2/workers/index.html.slim
kuroko2-0.3.4 app/views/kuroko2/workers/index.html.slim
kuroko2-0.3.3 app/views/kuroko2/workers/index.html.slim
kuroko2-0.3.2 app/views/kuroko2/workers/index.html.slim