Sha256: 5f17ba97946c7b4939ab538944e73797e835b217e3a224b5054a9578df8464a8

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 KB

Contents

<div class="col-md-12 job-status">
  <div id="job">
    <div class="lead"><%= @dirmon_entry.job_class_name %></div>
    <div class="job-state inline-block">
      <div class="left">status</div>
      <div class="<%= @dirmon_entry.state %> right"><%= @dirmon_entry.state %></div>
    </div>
    <div class="btn-toolbar job-actions pull-right">
      <div class="btn-group">
        <% if @dirmon_entry.disabled? || @dirmon_entry.pending? %>
          <%= link_to "Enable", enable_dirmon_entry_path(@dirmon_entry.id), method: :put, class: "btn btn-default" %>
        <% end %>
        <% 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?'} %>
        <% end %>
      </div>

      <div class="btn-group">
        <%= link_to "Destroy", dirmon_entry_path(@dirmon_entry), method: :delete, class: 'btn btn-default', :data => {:confirm => 'Are you sure?'} %>
      </div>

      <div class="btn-group">
        <%= link_to "Edit", edit_dirmon_entry_path(@dirmon_entry), class: "btn btn-default" %>
      </div>
    </div>
    <div class="clearfix"></div>
    <%= render partial: 'status', locals: {dirmon_entry: @job} %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rocketjob_mission_control-3.0.3 app/views/rocket_job_mission_control/dirmon_entries/show.html.erb
rocketjob_mission_control-3.0.2 app/views/rocket_job_mission_control/dirmon_entries/show.html.erb
rocketjob_mission_control-3.0.1 app/views/rocket_job_mission_control/dirmon_entries/show.html.erb
rocketjob_mission_control-3.0.0 app/views/rocket_job_mission_control/dirmon_entries/show.html.erb