Sha256: 20b123fada1c4a435a09e887d8bbf2523883fa1b0204a6617839474207984905

Contents?: true

Size: 1.81 KB

Versions: 6

Compression:

Stored size: 1.81 KB

Contents

<!DOCTYPE html>
<html lang='en'>
  <head>
    <title>Index of <%= base_uri %></title>
    <meta charset='utf-8'>
    <link href='/heel_css/index.css' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
    <!--[if IE]>
      <script src='//html5shiv.googlecode.com/svn/trunk/html5.js'></script>
    <![endif]-->
  </head>
  <body>
    <div role='wrapper'>
      <header>
        <h1>Index of <%= base_uri %></h1>
      </header>
      <div role='content'>
        <table>
          <thead>
            <tr>
              <th>Name</th>
              <th>Last Modified</th>
              <th>Size</th>
              <th>Type</th>
            </tr>
          </thead>
          <tbody>
            <% entries.each do |entry| %>
            <tr>
              <td>
                <a href="<%= "#{base_uri.chomp('/')}/#{entry.link}" %>">
                  <% if entry.icon_url then %>
                    <img src="<%= entry.icon_url %>" width="16" height="16" alt="icon for type <%= entry.content_type %>" />
                  <% end %>
                  <%= entry.name %>
                </a>
                <% if highlighting? and entry.content_type != 'Directory' then %>
                (<a href="<%= "#{base_uri.chomp('/')}/#{entry.link}?highlighting=false" %>">download</a>)
                <% end %>
              </td>
              <td><%= entry.last_modified %></td>
              <td class="<%= entry.content_type == "Directory" ? 'c' : 'n' %>" ><%= entry.size %></td>
              <td><%= entry.content_type %></td>
            </tr>
            <% end %>
          </tbody>
        </table>
      </div>
      <footer>
        <p>
        <a href="<%= homepage %>">heel</a> v<%= Heel::VERSION %>
        </p>
      </footer>
    </div>
  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
heel-3.2.1 data/listing.rhtml
heel-3.2.0 data/listing.rhtml
heel-3.1.3 data/listing.rhtml
heel-3.1.2 data/listing.rhtml
heel-3.1.1 data/listing.rhtml
heel-3.1.0 data/listing.rhtml