Index: appengine/monorail/templates/framework/artifact-list-pagination-part.ezt |
diff --git a/appengine/monorail/templates/framework/artifact-list-pagination-part.ezt b/appengine/monorail/templates/framework/artifact-list-pagination-part.ezt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8896c14a1c204a3cec9e1f0e93801cdfcdd8054f |
--- /dev/null |
+++ b/appengine/monorail/templates/framework/artifact-list-pagination-part.ezt |
@@ -0,0 +1,18 @@ |
+[if-any pagination] |
+ [if-any pagination.visible] |
+ <div class="pagination"> |
+ [if-any pagination.prev_url] |
+ <a href="[pagination.prev_url]"><b>‹</b> Prev</a> |
+ [end] |
+ [if-any pagination.start] |
+ [pagination.start] - [pagination.last] |
+ [end] |
+ [if-any pagination.total_count] |
+ of [pagination.total_count][if-any pagination.limit_reached]+[end] |
+ [end] |
+ [if-any pagination.next_url] |
+ <a href="[pagination.next_url]">Next <b>›</b></a> |
+ [end] |
+ </div> |
+ [end] |
+[end] |