Sha256: 8a38ad49fe84d017cc05ae219d529df103155b4c0caa4d345008384c249dfa32

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 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? %>
        <li class="nav-title">
          <%= Archangel.t(:collections) %>
        </li>

        <% for item in current_site.collections %>
          <% if item.persisted? %>
            <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.0.5 app/themes/default/views/layouts/backend/_sidebar.html.erb
archangel-0.0.4 app/themes/default/views/layouts/backend/_sidebar.html.erb
archangel-0.0.3 app/themes/default/views/layouts/backend/_sidebar.html.erb
archangel-0.0.2 app/themes/default/views/layouts/backend/_sidebar.html.erb