Sha256: c062779c9781dd7c277d167da7e42349c8c988dd2e32ffecee1936a76411d10c
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
#workers - if @workers.present? .row .col-xs-12 %ol.breadcrumb{ style: 'margin-bottom: 0'} %li.active Workers .btn-group.pull-right - [:stop, :pause, :resume].each do |action| = link_to("#{action.to_s.capitalize} All", rocket_job_mission_control.update_all_workers_path(worker_action: action), method: :patch, data: { confirm: t(:confirm, scope: [:worker, :update_all], action: action) }, class: 'btn btn-default') .clearfix .grid - @workers.each_slice(4) do |workers| .row - workers.each do |worker| .card.col-xs-12.col-sm-6.col-md-3.col-lg-3 .inner.callout-top{ class: worker_card_class(worker) } .title %h3 = worker.name .state %b State: = worker.state .threads.max_threads %b Max Threads: = worker.max_threads .threads.current_threads %b Current Threads: = worker.heartbeat.current_threads.to_i .time %b Started: = worker.started_at.strftime("%b, %d %Y at %l:%M %p") .actions = render partial: 'actions', locals: { worker: worker } - else .row .col-md-6.col-md-offset-3 .panel.panel-default .panel-body .lead There are currently no workers. You can start a worker with the following command: .code-block %pre %code.language-bash bin/rocketjob
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rocketjob_mission_control-1.2.0 | app/views/rocket_job_mission_control/workers/index.html.haml |