Sha256: 54240598ae4c57a92e0a04ffb1dfcd3250a8f75cab12ce8909609e3059e9689d

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

.row
  #queue
    = render partial: 'list', locals: { jobs: @jobs }

  .col-md-8.job-status
    #job
      .lead= @dirmon_entry.job_class_name + "#{'#' + @dirmon_entry.perform_method.to_s unless @dirmon_entry.perform_method == :perform }"

      .job-state.inline-block
        .left status
        .right{ class: @dirmon_entry.state }
          = @dirmon_entry.state

      .btn-toolbar.job-actions.pull-right
        .btn-group{ style: 'margin-right: 1em;' }
          = link_to "Destroy", dirmon_entry_path(@dirmon_entry), method: :delete, class: 'btn btn-default', :data => { :confirm => 'Are you sure?' }
          - if @dirmon_entry.disabled? || @dirmon_entry.pending?
            = link_to "Enable", enable_dirmon_entry_path(@dirmon_entry.id), method: :put, class: "btn btn-default"
          - if @dirmon_entry.enabled?
            = link_to "Disable", disable_dirmon_entry_path(@dirmon_entry.id), method: :put, class: "btn btn-default", :data => { :confirm => 'Are you sure?' }
        .btn-group
          = link_to "Edit", edit_dirmon_entry_path(@dirmon_entry), class: "btn btn-default"

      .clearfix

      = render partial: 'status', locals: { dirmon_entry: @job }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rocketjob_mission_control-1.2.4 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-1.2.3 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-1.2.2 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-1.2.1 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-1.2.0 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml