Sha256: 4109a632f5f13b0ff30a61ee70719bdfe42817f04c88fcd079d7d70c04a6859e

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Style Guide</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= stylesheet_link_tag    "style_guide/application", :media => "all" %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <div class="style-guide-bar">
      <div class="style-guide-bar-container">
        <label for="style-guide-checkbox">Sections</label>
        <a class="brand" href="/">Style Guide</a>
        <input id="style-guide-checkbox" type="checkbox" />
        <ul>
        <% @sections.each_with_index do |section, index| %>
          <li<%= (section == @active) ? ' class="active"'.html_safe : '' %>>
            <a href="<%= style_path(section.id) %>"><%= section.title %></a>
          </li>
        <% end %>
        </ul>
      </div>
    </div>

<%= yield %>

    <%= javascript_include_tag "application" %>
    <%= javascript_include_tag "style_guide/application" %>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
style-guide-0.4.0 app/views/layouts/style_guide/application.html.erb
style-guide-0.3.0 app/views/layouts/style_guide/application.html.erb