Sha256: 53b3a968b2cff587ea9e356b59ac94170a82846724db905fffecb884fa90ea20

Contents?: true

Size: 1.19 KB

Versions: 9

Compression:

Stored size: 1.19 KB

Contents

<% # can be overridden %>
<header>
  <nav class="navbar navbar-expand-lg navbar-light">
    <%= render 'logo' %>
    <%# Mobile Menu Toggler %>
    <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#top-menu" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <%= fa_icon 'bars' %>
    </button>
    <%# //Mobile Menu Toggler %>

    <div id="top-menu" class="collapse navbar-collapse">
      <%# Resources navigation %>
      <%= render 'navs' %>
      <%# //Resources navigation %>
      <%# User account %>
      <ul class="navbar-nav ml-auto">
        <% if wallaby_user.present? %>
          <li class="nav-item dropdown">
            <a id="user_menu" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
              class="nav-link dropdown-toggle">
              <span class="user__portrait">
                <%= user_portrait %>
                <span class="user__text">User</span>
              </span>
              <span class="caret"></span>
            </a>
            <%= render 'user_menu' %>
          </li>
        <% end %>
      </ul>
      <%# //User account %>
    </div>
  </nav>
</header>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/_header.html.erb
wallaby-7.0.0 app/views/wallaby/resources/_header.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/_header.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/_header.html.erb
wallaby-6.1.6 app/views/wallaby/resources/_header.html.erb
wallaby-6.1.5 app/views/wallaby/resources/_header.html.erb
wallaby-6.1.4 app/views/wallaby/resources/_header.html.erb
wallaby-6.1.3 app/views/wallaby/resources/_header.html.erb
wallaby-6.1.2 app/views/wallaby/resources/_header.html.erb