Skip to content

Commit

Permalink
Increase number of pages listed on each side of pagers current page
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Oct 3, 2018
1 parent 474011e commit fb89916
Show file tree
Hide file tree
Showing 31 changed files with 55 additions and 54 deletions.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
2018-10-03 DariusIII
* Chg: Increase number of pages listed on each side of pagers current page
* Chg: Update mockery/mockery to version 1.2.0
2018-10-02 DariusIII
* Fix: Fix wrong link to tvdb banners
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/books.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
<hr>
Expand Down Expand Up @@ -219,7 +219,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/browse.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</div>
{if count($results) > 0}
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
{/if}
</div>
Expand Down Expand Up @@ -231,7 +231,7 @@
</div>
{if count($results) > 0}
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
{/if}
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/browsegroup.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="panel panel-default">
<div class="panel-body pagination2">
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
<table class="data table table-striped responsive-utilities jambo-table Sortable"
style="table-layout: auto;" data-sort-order="desc">
Expand All @@ -41,7 +41,7 @@
</tbody>
</table>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/console.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down Expand Up @@ -233,7 +233,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/forum.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2>{if $title !=''}{$title}{else}Forum{/if}</h2>
{if count($results) > 0}
<div class=".pagination pagination-centered">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
<a id="top"></a>
<table style="width:100%;" class="data highlight table" id="forumtable">
Expand Down Expand Up @@ -82,7 +82,7 @@
<div style="float:right;margin-top:5px;"><a class="btn btn-small" href="#top">Top</a></div>
<br/>
<div class=".pagination pagination-centered">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
{/if}
<div id="new" tabindex="-1" role="dialog" aria-labelledby="myLabel" aria-hidden="true">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/games.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down Expand Up @@ -259,7 +259,7 @@
</div>
{if count($results) > 0}
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
{/if}
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/movies.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
<hr>
Expand Down Expand Up @@ -398,7 +398,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/multi-operations.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="container nzb_multi_operations">
{$results->links()}
{$results->onEachSide(5)->links()}
<div class="pull-right">
With Selected:
<button type="button" class="btn btn-info btn-sm nzb_multi_operations_download" data-toggle="tooltip"
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/music.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
<hr>
Expand Down Expand Up @@ -213,7 +213,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
</div>
{if count($results) > 0}
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
{/if}
</div>
Expand Down Expand Up @@ -430,7 +430,7 @@
</div>
{if count($results) > 0}
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
{/if}
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/viewxxxfull.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
{/if}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/xxx.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
<hr>
Expand Down Expand Up @@ -442,7 +442,7 @@
</div>
</div>
<div class="col-md-4">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/anidb-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</form>
</div>

{$anidblist->links()}
{$anidblist->onEachSide(5)->links()}

<br/><br/>

Expand Down Expand Up @@ -45,7 +45,7 @@

<br/>

{$anidblist->links()}
{$anidblist->onEachSide(5)->links()}
{else}
<p>No AniDB episodes available.</p>
{/if}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/book-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{if $booklist}
{if $booklist->count() > 0}
<div class="col-md-4">
{$booklist->links()}
{$booklist->onEachSide(5)->links()}
</div>
{/if}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
Expand All @@ -30,7 +30,7 @@
<br/>
{if $booklist->count() > 0}
<div class="col-md-4">
{$booklist->links()}
{$booklist->onEachSide(5)->links()}
</div>
{/if}
{else}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/category_regexes-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<input class="btn btn-default" type="submit" value="Go"/>
</form>
{if $regex}
<div>{$regex->links()}</div>
<div>{$regex->onEachSide(5)->links()}</div>
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
<tr>
<th style="width:20px;">id</th>
Expand Down Expand Up @@ -49,6 +49,6 @@
</tr>
{/foreach}
</table>
<div style="margin-top: 15px">{$regex->links()}</div>
<div style="margin-top: 15px">{$regex->onEachSide(5)->links()}</div>
{/if}
</div>
4 changes: 2 additions & 2 deletions resources/views/themes/admin/collection_regexes-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<input class="btn btn-default" type="submit" value="Go"/>
</form>
{if $regex}
<div>{$regex->links()}</div>
<div>{$regex->onEachSide(5)->links()}</div>
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
<tr>
<th style="width:20px;">id</th>
Expand Down Expand Up @@ -45,6 +45,6 @@
</tr>
{/foreach}
</table>
<div style="margin-top: 15px">{$regex->links()}</div>
<div style="margin-top: 15px">{$regex->onEachSide(5)->links()}</div>
{/if}
</div>
2 changes: 1 addition & 1 deletion resources/views/themes/admin/comments-list.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1>{$title}</h1>
<div class="well well-sm">
{if $commentslist}
{$commentslist->links()}
{$commentslist->onEachSide(5)->links()}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
<tr>
<th>user</th>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/console-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="well well-sm">
{if $consolelist}
{$consolelist->links()}
{$consolelist->onEachSide(5)->links()}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">

<tr>
Expand All @@ -24,7 +24,7 @@

</table>
<br/>
{$consolelist->links()}
{$consolelist->onEachSide(5)->links()}
{else}
<p>No games available.</p>
{/if}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/failrel-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1>{$title}</h1>

{if $releaselist}
{$releaselist->links()}
{$releaselist->onEachSide(5)->links()}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">

<tr>
Expand Down Expand Up @@ -35,7 +35,7 @@

</table>
<br/>
{$releaselist->links()}
{$releaselist->onEachSide(5)->links()}
{else}
<p>No releases available.</p>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/admin/game-list.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="well well-sm">
<h1>{$title}</h1>
{if $gamelist}
{$gamelist->links()}
{$gamelist->onEachSide(5)->links()}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
<tr>
<th>ID</th>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/group-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{Form::close()}}
</div>
<div class="col-md-4">
{$grouplist->links()}
{$grouplist->onEachSide(5)->links()}
</div>
<div class="col-md-4" style="text-align:center;">
<a title="Reset all groups" href="javascript:ajax_all_reset()" class="all_reset"
Expand Down Expand Up @@ -92,7 +92,7 @@
{{Form::close()}}
</div>
<div class="col-md-4">
{$grouplist->links()}
{$grouplist->onEachSide(5)->links()}
</div>
<div class="col-md-4" style="text-align:center;">
<a title="Reset all groups" href="javascript:ajax_all_reset()" class="all_reset"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/admin/movie-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1>{$title}</h1>

{if $movielist}
{$movielist->links()}
{$movielist->onEachSide(5)->links()}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
<tr>
<th>IMDB ID</th>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/music-list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1>{$title}</h1>

{if $musiclist}
{$musiclist->links()}
{$musiclist->onEachSide(5)->links()}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">

<tr>
Expand All @@ -24,7 +24,7 @@

</table>
<br/>
{$musiclist->links()}
{$musiclist->onEachSide(5)->links()}
{else}
<p>No Music available.</p>
{/if}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/admin/predb.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</span>
</div>
</form>
{$results->links()}
{$results->onEachSide(5)->links()}
<table class="data table table-striped responsive-utilities jambo-table">
<tr>
<th> Date</th>
Expand Down Expand Up @@ -101,6 +101,6 @@
</table>
<hr>
<div style="padding-bottom:10px;">
{$results->links()}
{$results->onEachSide(5)->links()}
</div>
</div>
Loading

0 comments on commit fb89916

Please sign in to comment.