Sha256: db207291d94fee115a798e2e84f139d51090500fe98fa474af4226892c495e7a

Contents?: true

Size: 941 Bytes

Versions: 22

Compression:

Stored size: 941 Bytes

Contents

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <%= erb :header_mini %>
</head>

<body id="download">
  <div id="wrapper">  <!-- wrapper needed for presenterPopupToggle() and $.get() --> 
  <h1>File Downloads</h1>
  <% if @downloads %>
      <%# [ enabled, slide name, [array, of, files] ] %>
      <% @downloads.sort.map do |key, value| %>
          <% enabled, title, files = value %>
          <% if enabled %>
            <%if key != -999 %>
              <% path = '/file/_files' %>
              <h4>Slide <%= key %> <small>(<%= title %>)</small></h4>
            <% else %>
              <% path = '/file/_files/share' %>
            <% end %>
            <ul>
            <% files.each do |file| %>
                <li><a href="<%= path %>/<%= file %>"><%= file %></a></li>
            <% end %>
            </ul>
          <% end %>
      <% end %>
  <% end %>
  </div>
</body>
</html>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
showoff-0.17.2 views/download.erb
showoff-0.17.1 views/download.erb
showoff-0.17.0 views/download.erb
showoff-0.16.2 views/download.erb
showoff-0.16.1 views/download.erb
showoff-0.16.0 views/download.erb
showoff-0.15.4 views/download.erb
showoff-0.15.3 views/download.erb
showoff-0.15.2 views/download.erb
showoff-0.15.1 views/download.erb
showoff-0.15.0 views/download.erb
showoff-0.14.3 views/download.erb
showoff-0.14.2 views/download.erb
showoff-0.14.1 views/download.erb
showoff-0.14.0 views/download.erb
showoff-0.13.4 views/download.erb
showoff-0.13.3 views/download.erb
showoff-0.13.2 views/download.erb
showoff-0.13.1 views/download.erb
showoff-0.13.0 views/download.erb