Sha256: c6ee5453a6d983cbdf8045943c8586126facf997635d9f5f9546c5a5fa3b991c

Contents?: true

Size: 1.74 KB

Versions: 28

Compression:

Stored size: 1.74 KB

Contents

<!doctype html>
<html lang="<%= I18n.locale %>">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title>Solidus Style Guide</title>

    <%= stylesheet_link_tag "spree/backend/all" %>
    <%= javascript_include_tag "spree/backend/all" %>
    <%= render "spree/admin/shared/translations" %>
  </head>

  <body class="admin style-guide">

    <div class="style-guide-sidebar">
      <header>
        <%= link_to spree.admin_path, class: 'brand-link' do %>
          <%- image_tag('solidus-style-guide-logo.png') %>
        <%- end %>
      </header>
      <ul class="style-guide-nav" data-sticky>
        <%- @topics.each do |topic, subjects| %>
          <li>
            <%= link_to topic, "##{topic}" %>
            <ul>
              <%- subjects.each do |subject| %>
                <li>
                  <%= link_to subject.titleize, "##{subject}" %>
                </li>
              <%- end %>
            </ul>
          </li>
        <%- end %>
      </ul>
    </div>

    <div class="style-guide-main-content">
      <div class="flash-wrapper js-flash-wrapper"></div>

      <div class="container">
        <div class="style-guide-intro">
          <%= yield %>
        </div>

        <%- @topics.each do |topic, subjects| %>
          <h2><%= link_to '', "#", id: "#{topic}" %></h2>
          <%- subjects.each do |subject| %>
            <section class="style-guide-section">
              <h3 class="style-guide-section-header">
                <span><%= link_to subject.titleize, "#", id: "#{subject}" %></span>
              </h3>
              <%= render partial: "spree/admin/style_guide/topics/#{topic}/#{subject}" %>
            </section>
          <%- end %>
        <%- end %>
      </div>
    </div>
  </body>
</html>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.0.3 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.4.2 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.3.2 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.2.3 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.0.2 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.4.1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.1.0 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.0.1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.0.0 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.4.0 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.3.1 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.3.0 app/views/spree/layouts/admin_style_guide.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/layouts/admin_style_guide.html.erb