Sha256: 756f85d35ed3cfb6b25a640b57bdc47ccadccfe2dd8df2f12f6b9337d4502735

Contents?: true

Size: 1.22 KB

Versions: 22

Compression:

Stored size: 1.22 KB

Contents

.box#schedules data-schedules-path="#{job_definition_job_schedules_path(@definition)}"
  .box-header
    .row
      .col-md-12
        h3.box-title <i class="fa fa-calendar" aria-hidden="true"></i> Job&nbsp;Schedules

  .box-body
    - if @schedules.present?
      .no-padding
        table.table.table-condensed
          tbody
            tr
              th CRON
              th Next
              th &nbsp;
            - for schedule in @schedules
              tr
                td
                  .log= schedule.cron
                td
                  - next_schedule = schedule.next
                  = next_schedule ? l(next_schedule, format: :short) : '-'
                td= link_to 'Delete', job_definition_job_schedule_path(job_definition_id: @definition.id, id: schedule.id), class: 'btn btn-default btn-xs', method: :delete, remote: true
    - else
      .text-muted.well.well-sm.no-shadow There are no schedules.
  = form_for([@definition, @schedule], remote: true) do |form|
    .box-body
      #cron-field.row.form-group
        .col-md-8
          = form.text_field :cron, class: 'form-control script-input', placeholder: '0 9 * * *'
        .col-md-4
          = form.submit 'Add Schedule', class: 'btn btn-default btn-block'

Version data entries

22 entries across 22 versions & 1 rubygems

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