Sha256: 177964b348557cd50fd59414ddb91e2fdfec2f9e80237739b0dc4e02345d2155

Contents?: true

Size: 1.49 KB

Versions: 21

Compression:

Stored size: 1.49 KB

Contents

<div id="aside">
  <div class="aside-content">
    <ul class="nav_list flat">
      <li class="current active"><%= link_to "Magic-Stylez", "#", class: "app_lnk lst_lnk", data: {target: ""} %></li>
      <% pathes = {} %>
      <% Dir.glob("#{Rails.root}/app/assets/javascripts/views/**/*").each do |ff| %>
        <% path = ff.gsub("#{Rails.root}/app/assets/javascripts/views/", "") %>
        <% if path.match(/\.jst.eco$/) %>
          <% path = path.gsub(".jst.eco", "") %>
          <% ar = path.split("/") %>
          <% pathes[ar[0]] ||= {} %>
          <% pathes[ ar[0] ][ ar[1] ] = path %>
        <% end %>
      <% end %>
      <% pathes.each do |main, sub| %>
        <% unless main == "app" %>
          <li><%= link_to main.titleize, "#", class: "lst_lnk" %>
            <ul class="sub_nav">
              <% sub.each do |lnk, path| %>
                <% unless Rails.env.production? && %w(reflections slide_boxes).include?( lnk.to_s ) %>
                  <li><%= link_to lnk == "at_first" ? "Introduction" : lnk.titleize, "#", class: "app_lnk lst_lnk", data: {target: path} %></li>
                <% end %>
              <% end %>
            </ul>
          </li>
        <% end %>
      <% end %>
    </ul>
    <br/>
    
    <a href="https://github.com/berlinmagic/magic_stylez/tree/master" target="_blank" class="btn btn-default btn-divided">
      <span class="icn"><i class="icomoon-github3"></i></span>
      <span>SourceCode</span>
    </a>
    <div class="clearfix"></div>
    <br/>
  </div>
</div>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
magic_stylez-0.0.0.87 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.86 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.85 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.84 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.83 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.82 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.81 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.80 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.79 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.78 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.77 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.76 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.75 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.74 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.73 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.72 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.71 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.70 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.69 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.68 test/dummy/app/views/front/_aside.html.erb