Sha256: e5f0116d3a8a639f0991eb448e6a6c549665a0915761ff92d5879efc0797ea65

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

<div id="listing">
  <h1 class="noborder title"><%= options[:title] %></h1>
  
  <% if @files && @files.size > 0 %>
    <h2>Files A-Z</h2>
    <ul id="files">
    <% n = 1 %>
    <% @files.each_with_index do |file, i| %>
      <li class="r<%= n %>"><%= link_file(file, File.basename(file).gsub(/\.[^.]+$/, '')) %></li>
      <% n = n == 2 ? 1 : 2 %>
    <% end %>
    </ul>
  <% end %>
  <div class="clear"></div>

  <h2>Services A-Z</h2>
  <% i = 0 %>
  <table>
    <tr>
      <td valign='top' width="33%">
        <% @objects_by_letter.sort_by {|l,o| l.to_s }.each do |letter, objects| %>
          <% if (i += 1) % 8 == 0 %>
            </td><td valign='top' width="33%">
            <% i = 0 %>
          <% end %>
          <ul id="alpha_<%= letter %>" class="alpha">
            <li class="letter"><%= letter %></li>
            <ul>
              <% objects.each do |obj| %>
                <li>
                  <%= linkify(obj, obj.tags("url").first.text) %> 
                </li>
              <% end %>
            </ul>
          </ul>
        <% end %>
      </td>
    </tr>
  </table>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-rest-plugin-0.1.4 templates/rest/layout/html/index.erb
yard-rest-plugin-0.1.3 templates/rest/layout/html/index.erb
yard-rest-plugin-0.1.2 templates/rest/layout/html/index.erb
yard-rest-plugin-0.1.1 templates/rest/layout/html/index.erb
yard-rest-plugin-0.1.0 templates/rest/layout/html/index.erb