Sha256: 5083131b3f4b79cc0b1c6954b36b1511ff5963bee955884e3205a8f7d6243379

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

header.navbar.navbar-default.navbar-fixed-top
  .container-fluid
    .navbar-header
      = link_to comable.admin_root_path, class: 'navbar-brand' do
        | Comable

      button.navbar-toggle type="button" data-click="sidebar-toggled" onclick='$(".sidebar").toggleClass("sidebar-open");'
        span.icon-bar
        span.icon-bar
        span.icon-bar

    ul.nav.navbar-nav.navbar-right
      li
        = link_to comable.root_path do
          = Comable.t('admin.back_to_store')
      li.dropdown.navbar-user
        a href="#" class="dropdown-toggle" data-toggle="dropdown"
          span.hidden-xs
            = current_comable_user.email
          span.caret<
        ul.dropdown-menu.animated.fadeInLeft
          li.arrow
          li
            = link_to comable.edit_admin_user_path(current_comable_user) do
              span.fa.fa-edit>
              = Comable.t('admin.edit_profile')
          li.divider
          li
            = link_to comable.destroy_user_session_path, method: :delete do
              span.fa.fa-sign-in>
              = Comable.t('admin.sign_out')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comable_backend-0.4.1 app/views/comable/admin/shared/_header.slim
comable_backend-0.4.0 app/views/comable/admin/shared/_header.slim