Sha256: bfa53020e21e85d0c85b977f1829e05df384d1d92bb72023773420688f14b72f

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

.navbar.navbar-default.navbar-static-top{ role: 'navigation', style: 'margin-bottom: 0' }
  .navbar-header
    %span.navbar-brand
      ProxES
      - if defined? title
        = "- #{title}"
    %button.navbar-toggle.collapsed{ 'type' => 'button', 'data-toggle' => 'collapse', 'data-target' => '#navbar', 'aria-expanded' => 'false', 'aria-controls' => 'navbar' }
      %span.sr-only Toggle navigation
      %span.icon-bar.bar1
      %span.icon-bar.bar2
      %span.icon-bar.bar3
  -if current_user
    %form.nav.navbar-top-links.navbar-form.navbar-right{ action: '/_proxes/auth/identity', method: 'post' }
      %a.btn.btn-default{ href: "/_proxes/users/profile" } My Account
      %input{ name: '_method', value: 'DELETE', type: 'hidden' }
      %button.btn.btn-default{ type: 'submit' }
        / %i.ti-panel
        Logout
  - else
    %ul.nav.navbar-top-links.navbar-right
      %li
        %a.btn.btn-link{ href: '/_proxes/auth/identity' }
          Log In
  .navbar-default.sidebar{ role: 'navigation' }
    = haml :'partials/sidebar'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
proxes-0.6.1 views/partials/navbar.haml
proxes-0.6.0 views/partials/navbar.haml