Sha256: 7ebf0a09c3865c6e31887b5eca020a24e21ec6880c9063b5f6fb870ee4313b52
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 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? && can?(:enable, @dirmon_entry) %> <%= link_to 'Enable', enable_dirmon_entry_path(@dirmon_entry.id), method: :put, class: 'btn btn-default' %> <% end %> <% if @dirmon_entry.enabled? && can?(:disable, @dirmon_entry)%> <%= 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'> <% if can?(:destroy, @dirmon_entry)%> <%= link_to 'Destroy', dirmon_entry_path(@dirmon_entry), method: :delete, class: 'btn btn-default', data: { confirm: 'Are you sure?' } %> <% end %> </div> <div class='btn-group'> <% if can?(:edit, @dirmon_entry)%> <%= link_to 'Edit', edit_dirmon_entry_path(@dirmon_entry), class: 'btn btn-default' %> <% end %> </div> </div> <div class='clearfix'></div> <%= render partial: 'status', locals: {dirmon_entry: @job} %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rocketjob_mission_control-3.2.0 | app/views/rocket_job_mission_control/dirmon_entries/show.html.erb |