Sha256: 3f01fe0c2f9480e1434268d5a710bca64479a7eb3e932e1fe88a3be76bbcdf86

Contents?: true

Size: 981 Bytes

Versions: 5

Compression:

Stored size: 981 Bytes

Contents

.col-md-12.job-status
  #job
    .lead= @dirmon_entry.job_class_name

    .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-2.1.1 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-2.1.0 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-2.0.0 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-2.0.0.rc2 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
rocketjob_mission_control-2.0.0.rc1 app/views/rocket_job_mission_control/dirmon_entries/show.html.haml