Sha256: 94a752535b635d31128fce4a890c4eec31a4339ed9f44e948220ba739e32b1f1

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

<tr class="<%= even_or_odd ? 'even' : 'odd' %>">
  <td><%= h(service_info.pid) %></td>
  <th scope="row"><%= h(service_info.name) %></th>
  <td><%= stat_subst(service_info.stat) %></td>
  <td>
    <% if service_info.active? %>
      <% if service_info.run? %>
        <%= service_action service_info.name, :restart, t.runit.services.table.actions.restart %>
        <%= service_action service_info.name, :down, t.runit.services.table.actions.stop %>
      <% else %>
        <%= service_action service_info.name, :up, t.runit.services.table.actions.start %>
      <% end %>
      <% if service_info.switchable? %>
        <%= service_action service_info.name, :switch_down, t.runit.services.table.actions.switch_down %>
      <% end %>
    <% else %>
      <% if service_info.switchable? %>
        <%= service_action service_info.name, :switch_up, t.runit.services.table.actions.switch_up %>
      <% end %>
    <% end %>
  </td>
  <td>
    <% if service_info.logged? %>
      <a title="<%= h(t.runit.services.table.values.log_hint(service_info.name)) %>" target="_blank" rel="nofollow" href="/<%= h(service_info.name) %>/log#footer"><%= h(service_info.log_file_location) %></a>
    <% else %>
      <%= t.runit.services.table.values.log_absent %>
    <% end %>
  </td>
</tr>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
runit-man-1.4.5 views/_service_info.erb
runit-man-1.4.4 views/_service_info.erb
runit-man-1.4.3 views/_service_info.erb
runit-man-1.4.1 views/_service_info.erb
runit-man-1.4 views/_service_info.erb
runit-man-1.3 views/_service_info.erb
runit-man-1.2 views/_service_info.erb