Sha256: 0158b6092afd1efc57a4227226ac22c56829c179bced15384b45a24ab6f09052

Contents?: true

Size: 1.3 KB

Versions: 6

Compression:

Stored size: 1.3 KB

Contents

- @title = "Working Jobs"
- @content_title = '<i class="fa fa-spinner"></i> Working Jobs'

.box
  .box-header
    .row
      .col-md-4
        h3.box-title Working Jobs
  - if @instances.empty?
    .box-body
      .text-muted.well.well-sm.no-shadow There are no working jobs.
  - else
    .box-body.table-responsive
      table.table.table-hover
        tbody
          tr
            th #
            th Status
            th Job Name
            th Job Description
            th Admins
            th Started at
            th &nbsp;
          - for instance in @instances
            - definition = instance.job_definition
            tr
              td= instance.id
              td= labeled_status(instance)
              td.no-decorate= link_to definition.name, job_definition_job_instance_path(instance.job_definition, instance)
              td= first_line(definition.description)
              td.no-decorate
                - definition.admins.each do |user|
                  = link_to user.name, user_path(user)
                  br
              td.nowrap= l(instance.created_at, format: :short)
              td
                = link_to raw('<i class="fa fa-chevron-right"></i>Details'), job_definition_job_instance_path(job_definition_id: instance.job_definition.id, id: instance.id), class: 'btn btn-default btn-xs'

Version data entries

6 entries across 6 versions & 1 rubygems

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