Sha256: d0a90ea744e08ee4dd4295aea0b2f70c279c7067637c4f5ceb4d6bd2a38cbba2

Contents?: true

Size: 881 Bytes

Versions: 13

Compression:

Stored size: 881 Bytes

Contents

- if services
  %div
    %a.scope_anchor{ id: "services" }
    .scope#services_container
      - count = services.elements.length
      = render_partial "scope_header",
        :scope => "services",
        :title => "Services",
        :count => "#{count} #{Machinery.pluralize(count, "service")}"
      .row.scope_content.collapse.in
        .col-xs-1
        .col-xs-11
          - if count == 0
            There are no services.
          - if count > 0
            %table.table.table-striped.table-hover.table-condensed.filterable
              %thead
                %tr
                  %th Name
                  %th.medium State
              %tbody
                - services.each do |service|
                  %tr
                    %td= service.name
                    %td{ class: "#{services.init_system}_#{service.state}" }
                      = service.state

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 html/partials/services.html.haml
machinery-tool-1.24.0 html/partials/services.html.haml
machinery-tool-1.23.1 html/partials/services.html.haml
machinery-tool-1.23.0 html/partials/services.html.haml
machinery-tool-1.22.3 html/partials/services.html.haml
machinery-tool-1.22.2 html/partials/services.html.haml
machinery-tool-1.22.1 html/partials/services.html.haml
machinery-tool-1.22.0 html/partials/services.html.haml
machinery-tool-1.21.0 html/partials/services.html.haml
machinery-tool-1.20.0 html/partials/services.html.haml
machinery-tool-1.19.0 html/partials/services.html.haml
machinery-tool-1.18.0 html/partials/services.html.haml
machinery-tool-1.17.0 html/partials/services.html.haml