Sha256: 20097f73d422d137b622d5fde2a099266699361fa1e2d730e932760f4b3c0732

Contents?: true

Size: 1.59 KB

Versions: 15

Compression:

Stored size: 1.59 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 %>
      <li><%= link_to "Changelog", "#", class: "app_lnk lst_lnk", data: {target: "app/changelog"} %></li>
    </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

15 entries across 15 versions & 1 rubygems

Version Path
magic_stylez-0.0.330 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.1.1 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.1.0 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.99 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.98 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.97 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.96 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.95 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.94 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.93 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.92 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.91 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.90 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.89 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.88 test/dummy/app/views/front/_aside.html.erb