diff options
| author | rr- | 2016-04-14 13:09:39 +0200 |
|---|---|---|
| committer | rr- | 2016-04-14 17:50:38 +0200 |
| commit | 7cf4e6c37d05da36614b1d1e7afc005bc18882f9 (patch) | |
| tree | 854483b262f2f4e6044aaa1451a6e5e5d1d20832 | |
| parent | 334ff8edcd068a0e125cd5c5e7d620dffa740678 (diff) | |
client/paging: compact page no. for endless pager
| -rw-r--r-- | client/css/main.styl | 9 | ||||
| -rw-r--r-- | client/html/endless_pager_page.hbs | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/client/css/main.styl b/client/css/main.styl index 375a7f3..e35ee62 100644 --- a/client/css/main.styl +++ b/client/css/main.styl @@ -148,3 +148,12 @@ nav.text-nav display: block width: 0 height: 0 + .page + position: relative + p + position: absolute + right: 0 + top: 0 + margin: 0 + padding: 0.1em 0.5em + background: white diff --git a/client/html/endless_pager_page.hbs b/client/html/endless_pager_page.hbs index 4f253ff..16291cf 100644 --- a/client/html/endless_pager_page.hbs +++ b/client/html/endless_pager_page.hbs @@ -1,4 +1,4 @@ <div class='page'> - <p>Page {{this.page}} of {{this.totalPages}}</p> + <p>{{this.page}}/{{this.totalPages}}</p> <div class='page-content-holder'></div> </div> |