Sha256: 8d3ab546b0733e9dfdd25e140568965a567c23b7d5d725cd5982f1723a17de92

Contents?: true

Size: 1.17 KB

Versions: 8

Compression:

Stored size: 1.17 KB

Contents

<header class="app-header navbar">
  <button class="navbar-toggler mobile-sidebar-toggler d-lg-none mr-auto" type="button">
    <span class="navbar-toggler-icon"></span>
  </button>

  <a class="navbar-brand" href="<%= backend_root_path %>">
    <span class="d-lg-none"><%= image_tag(current_site.logo.tiny.url, alt: current_site.name) %></span>
    <span class="d-md-down-none align-middle"><%= current_site.name %></span>
  </a>

  <button class="navbar-toggler sidebar-toggler d-md-down-none" type="button">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="btn-group ml-auto" role="toolbar" aria-label="Toolbar">
    <a class="nav-link" href="<%= root_path %>">
      <span class="d-md-down-none"><%= Archangel.t(:website) %></span>
      <%= fa_icon("home") %>
    </a>

    <a class="nav-link" href="<%= backend_profile_path %>">
      <span class="d-md-down-none"><%= Archangel.t(:profile) %></span>
      <%= fa_icon("user") %>
    </a>

    <a class="nav-link" data-method="delete" href="<%= destroy_user_session_path %>" rel="nofollow">
      <span class="d-md-down-none"><%= Archangel.t(:logout) %></span>
      <%= fa_icon("power-off") %>
    </a>
  </div>
</header>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/themes/default/views/layouts/backend/_header.html.erb
archangel-0.0.8 app/themes/default/views/layouts/backend/_header.html.erb
archangel-0.0.7 app/themes/default/views/layouts/backend/_header.html.erb
archangel-0.0.6 app/themes/default/views/layouts/backend/_header.html.erb
archangel-0.0.5 app/themes/default/views/layouts/backend/_header.html.erb
archangel-0.0.4 app/themes/default/views/layouts/backend/_header.html.erb
archangel-0.0.3 app/themes/default/views/layouts/backend/_header.html.erb
archangel-0.0.2 app/themes/default/views/layouts/backend/_header.html.erb