pgc-www/templates/layouts/default.html.ep
barnold a610da0887 Update INSTALL and fix a bug...
Filled out INSTALL.  Told git to ignore a local favicon.  Fixed layout
links to reset the page number.
2022-10-16 18:27:14 +01:00

45 lines
889 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
%= stylesheet '/default.css'
</head>
<body>
<ul class="top">
<li>
<%= link_to("About" => 'about') %>
</li>
<li>
<%= link_to("Authors" => 'authors', { page_number => 1}) %>
</li>
<li>
<%= link_to("Books" => 'books', { page_number => 1 }) %>
</li>
<li>
<%= link_to url_for('about')->fragment('search-help') =>
begin %>Search help<% end %>
</li>
<li>
%= form_for set_rpp => begin
<%= hidden_field target_url => url_with('current') %>
<%= number_field rows_per_page => $c->rpp,
min => 1, max => max_rpp, maxlength => 4, size => 4 %>
rows per page
%= submit_button "Update"
% end
</li>
</ul>
<hr/>
<div>
<%= content %>
</div>
<hr/>
</body>
</html>