Compare commits
2 Commits
4a8a4c1d0d
...
3efb12bb86
Author | SHA1 | Date |
---|---|---|
barnold | 3efb12bb86 | |
barnold | ca6669f4c2 |
|
@ -26,7 +26,7 @@ div.page-nav {
|
|||
}
|
||||
|
||||
div.page-nav > span {
|
||||
padding-right: 1em;
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
div.verbiage {
|
||||
|
|
|
@ -2,24 +2,23 @@
|
|||
|
||||
% if ($pager->total_entries > rpp) {
|
||||
<span>
|
||||
<%= link_to url_with(page_number => 1) => begin %>◄ First<% end %>
|
||||
|
||||
% if (my $prev = $pager->previous_page) {
|
||||
<%= link_to url_with(page_number => $prev) => begin %>◄ Prev<% end %>
|
||||
<%= link_to url_with(page_number => 1) => begin %>« First<% end %>
|
||||
<%= link_to url_with(page_number => $prev) => begin %>◄ Prev<% end %>
|
||||
% } else {
|
||||
◄ Prev
|
||||
« First ◄ Prev
|
||||
% }
|
||||
|
||||
% if (my $next = $pager->next_page) {
|
||||
<%= link_to url_with(page_number => $next) => begin %>Next ►<% end %>
|
||||
<%= link_to url_with(page_number => $next) => begin %>Next ►<% end %>
|
||||
<%= link_to url_with(page_number => $pager->last_page) => begin %>Last »<% end %>
|
||||
% } else {
|
||||
Next ►
|
||||
Next ► Last »
|
||||
% }
|
||||
|
||||
<%= link_to url_with(page_number => $pager->last_page) => begin %>Last ►<% end %>
|
||||
% }
|
||||
</span>
|
||||
% }
|
||||
|
||||
<span>
|
||||
<%= $pager->entries_on_this_page %> <%= $items_name || "items" %>
|
||||
|
@ -31,5 +30,6 @@ of
|
|||
on page <%= commify($pager->current_page) %>
|
||||
of <%= commify($pager->last_page) %>.
|
||||
</span>
|
||||
% }
|
||||
|
||||
</div>
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
<div class="verbiage">
|
||||
|
||||
<p>
|
||||
This is a site for looking through the book catalog generously provided by
|
||||
<a href="https://www.gutenberg.org/">Project Gutenberg</a>. We're
|
||||
not affiliated with Project Gutenberg, we just gratefully use their
|
||||
work. This site currently offers 51,922 book records out of 68,670
|
||||
in the catalog.
|
||||
Thanks to <a href="https://www.gutenberg.org/">Project
|
||||
Gutenberg</a>, this is a site for looking through the book catalog
|
||||
they generously provide. It's a personal project and is not
|
||||
affiliated with Project Gutenberg. The site currently offers 51,922
|
||||
book records out of 68,670 in the catalog.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -27,19 +27,19 @@ the book-contributor relationship more faithfully.
|
|||
</p>
|
||||
|
||||
<p>
|
||||
We keep the usual kind of web site logs that include your ip
|
||||
address, user agent and the page you requested. We use a session
|
||||
cookie so that you can change the number of records per page. We
|
||||
don't use javascript, analytics, tracking, CDNs, or make any use of
|
||||
third-parties.
|
||||
You might notice duplicate book titles, even for a given author. For
|
||||
example, John Milton has "Paradise Lost" twice. In these cases, each
|
||||
instance of the title has its own identifier in the PG catalog for
|
||||
distinct editions or versions. Each book title shown on this site
|
||||
links to its page on PG's site.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
You might notice duplicate book titles, even for a given author. For
|
||||
example, John Milton has "Paradise Lost" twice. Each instance of the
|
||||
title has its own identifier in the PG catalog, corresponding to
|
||||
distinct editions or versions. Each book title links to its page on
|
||||
PG's site.
|
||||
We keep the usual kind of web site logs that include your ip
|
||||
address, user agent and the page you requested. We use a session
|
||||
cookie so that you can change the number of records per page. We
|
||||
don't use javascript, analytics, tracking, CDNs or other third-party
|
||||
web services.
|
||||
</p>
|
||||
|
||||
<h2 id="search-help">Searching</h2>
|
||||
|
|
Loading…
Reference in New Issue