Sha256: 47865fa5113da3c78b92ad5f2d02e7076bdd1b86de798cffcd7e39de2fe26c6a

Contents?: true

Size: 979 Bytes

Versions: 1

Compression:

Stored size: 979 Bytes

Contents

%ul.nav.nav-pills.nav-stacked
  - if authenticated?
    %li
      %a{ href: '/_proxes' }
        %i.fa.fa-dashboard.fa-fw
        Dashboard
    - ProxES::Container.navigation.each do |item|
      - if policy(item[:target]).list?
        %li
          %a{ href: "/_proxes#{item[:link]}" }
            %i.fa.fa-fw{ class: "fa-#{item[:icon]}" }
            = item[:text]
  - else
    %li.active
      %a{ href: '/_proxes/auth/identity' }
        %i.fa.fa-user.fa-fw
        Log In
    %li
      %a{ href: '/_proxes/auth/identity/register' }
        %i.fa.fa-pencil-square-o.fa-fw
        Register

- if authenticated?
  - if cluster_health
    %table.table
      %tbody
        %tr
          %th
            Cluster:
          %td
            = cluster_health['cluster_name']
        %tr
          %th
            Status:
          %td
            = cluster_health['status']
        %tr
          %th
            Nodes:
          %td
            = cluster_health['number_of_nodes']

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
proxes-0.7.0 views/partials/sidebar.haml