Move template to src/templates MKWS-314 MKWS-315
[mkws-moved-to-github.git] / src / mkws.templates / Pager.handlebars
diff --git a/src/mkws.templates/Pager.handlebars b/src/mkws.templates/Pager.handlebars
deleted file mode 100644 (file)
index 55768e8..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-{{!
-Pager
-
-nextClick - handler script for "next" button, only available if there is a next page
-prevClick - handler script for "previous" button if there is a previous page
-moreNext - indicates there are more pages following those displayed
-morePrev - indicates there are more pages preceding
-first - first record displayed
-last - last record displayed
-count - number of records available
-found - number of records found
-pages:
-  number - page number
-  click - script to go to this page unless it is the current one
-}}
-<div style="float: right">
-  {{mkws-translate "Displaying"}}:
-  {{first}} {{mkws-translate "to"}} {{last}}
-  {{mkws-translate "of"}} {{count}} ({{{mkws-translate "found"}}}: {{found}})
-</div>
-
-<div style="float: clear">
-  {{#if prevClick}}
-    <a href="#" class="mkws-prev mkwsPrev" onclick="{{prevClick}}">&#60;&#60; {{{mkws-translate "Prev"}}}</a> |
-  {{else}}
-    <span class="mkws-prev mkwsPrev">&#60;&#60; {{{mkws-translate "Prev"}}}</span> |
-  {{/if}}
-
-  {{#if morePrev}}...{{/if}}
-
-  {{#each pages}}
-    {{#if click}}
-      <a href="#" onclick="{{click}}">{{number}}</a>
-    {{else}}
-      <span class="mkws-current-page mkwsCurrentPage">{{number}}</span>
-    {{/if}}
-  {{/each}}
-
-  {{#if moreNext}}...{{/if}}
-
-  {{#if nextClick}}
-    | <a href="#" class="mkws-next mkwsNext" onclick="{{nextClick}}">{{{mkws-translate "Next"}}} &#62;&#62;</a>
-  {{else}}
-    | <span class="mkws-next mkwsNext">{{{mkws-translate "Next"}}} &#62;&#62;</span>
-  {{/if}}
-</div>