Sha256: a58f12e3e6faeb740a880d9591db6361ab0377a708e3136864209f1eccdcbfa7

Contents?: true

Size: 1.32 KB

Versions: 9

Compression:

Stored size: 1.32 KB

Contents

<div id="aside">
  <div class="aside-content">
    <ul class="nav_list dark">
      <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| %>
                <li><%= link_to lnk.titleize, "#", class: "app_lnk lst_lnk", data: {target: path} %></li>
              <% 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

9 entries across 9 versions & 1 rubygems

Version Path
magic_stylez-0.0.0.27 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.26 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.25 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.24 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.23 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.22 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.21 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.20 test/dummy/app/views/front/_aside.html.erb
magic_stylez-0.0.0.19 test/dummy/app/views/front/_aside.html.erb