Sha256: 067f850b8db947ba251522d67e8f433a1bcbf77b01418e9b37e96cfb8effe397

Contents?: true

Size: 1011 Bytes

Versions: 6

Compression:

Stored size: 1011 Bytes

Contents

%ul.nav.nav-pills.nav-stacked
  - if defined?(current_user) && current_user
    %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: '/auth/identity' }
        %i.fa.fa-user.fa-fw
        Log In
    %li
      %a{ href: '/auth/identity/register' }
        %i.fa.fa-pencil-square-o.fa-fw
        Register

- if defined?(current_user) && current_user
  - 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

6 entries across 6 versions & 1 rubygems

Version Path
proxes-0.5.2 views/partials/sidebar.haml
proxes-0.5.1 views/partials/sidebar.haml
proxes-0.5.0 views/partials/sidebar.haml
proxes-0.4.4 views/partials/sidebar.haml
proxes-0.4.3 views/partials/sidebar.haml
proxes-0.4.2 views/partials/sidebar.haml