Sha256: 7d46615d31c7f1815fcd95b320d391bef3bd6bc581a042ef2132112aa55784cc

Contents?: true

Size: 1.45 KB

Versions: 26

Compression:

Stored size: 1.45 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.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

26 entries across 26 versions & 1 rubygems

Version Path
magic_stylez-0.0.0.66 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.65 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.64 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.63 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.62 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.61 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.60 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.59 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.58 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.57 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.56 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.55 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.54 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.53 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.52 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.51 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.50 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.49 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.48 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.45 test/dummy/app/views/front/_aside.html.erb