Sha256: b6f15813d354aa3820972a73638005dd395e733c8c18aec63e8308c282a43a71
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 KB
Contents
<div id='servers'> <div class='server-list'> <div class='list'> <div class='row'> <div class='col-md-6'> <h2><%= @description %> Servers</h2> </div> <div class='col-md-6'> <div class='col-sm-10'> <div class='server-collection-actions'> <ol> <div class='btn-group'> <% if can?(:update_all, RocketJob::Server) %> <% Array(@actions).each do |action| %> <%= link_to( "#{action.to_s.humanize.capitalize}", rocket_job_mission_control.update_all_servers_path(server_action: action), method: :patch, data: {confirm: t(:confirm, scope: [:server, :update_all], action: action.to_s.singularize.humanize.downcase)}, class: 'btn btn-default' ) %> <% end %> <% end %> </div> </ol> </div> </div> <div class='col-sm-2 pull-right'> <div class='btn btn-default pull-right dt-reload' data-behavior='reload'> <i class='fas fa-sync'></i> </div> </div> </div> </div> <table class='table datatable servers-datatable' data-source='<%= @data_table_url %>' style='width: 100%'> <thead> <tr> <th>Hostname : PID</th> <th>Workers (Current/Max)</th> <th>Started</th> <th>Heartbeat</th> <th>Actions</th> </tr> </thead> <tbody></tbody> </table> </div> </div> </div> <script> jQuery(function () { new RjmcDatatable( $('.servers-datatable'), [{data: '0'}, {data: '1'}, {data: '2'}, {data: '3'}, {data: '4', orderable: false}] ); }); </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rocketjob_mission_control-4.3.0 | app/views/rocket_job_mission_control/servers/index.html.erb |