Sha256: 3f0a148c5684b294791c0838aec648004902cd78711a2907ff08834ac158d37a

Contents?: true

Size: 1.97 KB

Versions: 4

Compression:

Stored size: 1.97 KB

Contents

<div class="sidebar">
  <nav class="sidebar-nav">
    <ul class="nav">
      <li class="nav-item">
        <a class="nav-link" href="<%= backend_root_path %>"><%= fa_icon("home") %> <%= Archangel.t(:dashboard) %></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="<%= backend_pages_path %>"><%= fa_icon("file") %> <%= Archangel.t(:pages) %></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="<%= backend_collections_path %>"><%= fa_icon("folder-open") %> <%= Archangel.t(:collections) %></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="<%= backend_widgets_path %>"><%= fa_icon("star") %> <%= Archangel.t(:widgets) %></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="<%= backend_assets_path %>"><%= fa_icon("paperclip") %> <%= Archangel.t(:assets) %></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="<%= backend_templates_path %>"><%= fa_icon("flag") %> <%= Archangel.t(:templates) %></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="<%= backend_users_path %>"><%= fa_icon("user") %> <%= Archangel.t(:users) %></a>
      </li>

      <li class="nav-item">
        <a class="nav-link" href="<%= backend_site_path %>"><%= fa_icon("cog") %> <%= Archangel.t(:site) %></a>
      </li>

      <% if current_site.collections.present? %>
        <% current_site.collections.each_with_index do |item, index| %>
          <% if item.persisted? %>
            <% if index.zero? %>
              <li class="nav-title">
                <%= Archangel.t(:collections) %>
              </li>
            <% end %>

            <li class="nav-item">
              <a class="nav-link" href="<%= backend_collection_entries_path(item) %>"><%= fa_icon("circle") %> <%= item.name %></a>
            </li>
          <% end %>
        <% end %>
      <% end %>
    </ul>
  </nav>

  <button class="sidebar-minimizer brand-minimizer" type="button"></button>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
archangel-0.3.0 app/themes/default/views/layouts/backend/_sidebar.html.erb
archangel-0.0.8 app/themes/default/views/layouts/backend/_sidebar.html.erb
archangel-0.0.7 app/themes/default/views/layouts/backend/_sidebar.html.erb
archangel-0.0.6 app/themes/default/views/layouts/backend/_sidebar.html.erb