From 3cdcb5ca02a94b2b342c30903a27d47d35d46e55 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 17 Feb 2009 12:47:49 +0100 Subject: added will_paginate plugin --- vendor/plugins/will_paginate/examples/index.html | 92 ++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 vendor/plugins/will_paginate/examples/index.html (limited to 'vendor/plugins/will_paginate/examples/index.html') diff --git a/vendor/plugins/will_paginate/examples/index.html b/vendor/plugins/will_paginate/examples/index.html new file mode 100644 index 00000000..858f7c6f --- /dev/null +++ b/vendor/plugins/will_paginate/examples/index.html @@ -0,0 +1,92 @@ + + + + + Samples of pagination styling for will_paginate + + + + +

Samples of pagination styling for will_paginate

+

+ Find these styles in "examples/pagination.css" of will_paginate library. + There is a Sass version of it for all you sassy people. +

+

+ Read about good rules for pagination: + Pagination 101 +

+

+ Warning: + page links below don't lead anywhere (so don't click on them). +

+

+ Unstyled pagination (ewww!) +

+
+ « Previous 1 3 4 5 6 7 8 9 29 30 +
+

Digg.com

+
+ « Previous 1 3 4 5 6 7 8 9 29 30 +
+

Digg-style, no page links

+
+ « Previous +
+

Code that renders this:

+
+    <%= will_paginate @posts, :page_links => false %>
+  
+

Digg-style, extra content

+
+
+ Displaying entries 1 - 6 of 180 in total +
+ « Previous 1 3 4 5 6 7 8 9 29 30 +
+

Code that renders this:

+
+    <div class="digg_pagination">
+      <div clas="page_info">
+        <%= page_entries_info @posts %>
+      </div>
+      <%= will_paginate @posts, :container => false %>
+    </div>
+  
+

Apple.com store

+
+ « Previous 1 3 4 5 6 7 8 9 29 30 +
+

Flickr.com

+
+ « Previous 1 3 4 5 6 7 8 9 29 30 +
(118 photos)
+
+ -- cgit v1.3