File: full_list.erb

package info (click to toggle)
ruby-enumerable-statistics 2.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,036 kB
  • sloc: ansic: 1,808; ruby: 679; makefile: 11; sh: 4
file content (37 lines) | stat: -rwxr-xr-x 1,181 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="<%= charset %>" />
    <% stylesheets_full_list.each do |stylesheet| %>
      <link rel="stylesheet" href="<%= url_for(stylesheet) %>" type="text/css" media="screen" charset="utf-8" />
    <% end %>

    <% javascripts_full_list.each do |javascript| %>
      <script type="text/javascript" charset="utf-8" src="<%= url_for(javascript) %>"></script>
    <% end %>

    <title><%= @list_title %></title>
    <base id="base_target" target="_parent" />
  </head>
  <body>
    <div id="content">
      <div class="fixed_header">
        <h1 id="full_list_header"><%= @list_title %></h1>
        <div id="full_list_nav">
          <% menu_lists.each do |list| %>
            <span><a target="_self" href="<%= url_for_list list[:type] %>">
              <%= list[:title] %>
            </a></span>
          <% end %>
        </div>

        <div id="search">Search: <input type="text" /></div>
      </div>

      <ul id="full_list" class="<%= @list_class || @list_type %>">
        <%= erb "full_list_#{@list_type}" %>
      </ul>
    </div>
  </body>
</html>