Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2411)

Unified Diff: appengine/monorail/templates/framework/artifact-list-pagination-part.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>&lsaquo;</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>&rsaquo;</b></a>
+ [end]
+ </div>
+ [end]
+[end]

Powered by Google App Engine
This is Rietveld 408576698