Allow pagination on Transaction page
* Added pager to all three transaction tables * Added two additional pagination definitions to JS * Added pagination ID to pagination template
This commit is contained in:
parent
9eeb088734
commit
bbffdeb689
@ -69,6 +69,12 @@ $(function () {
|
||||
$("table.pagesort")
|
||||
.tablesorter({ widgets: ['zebra'] })
|
||||
.tablesorterPager({ positionFixed: false, container: $("#pager") });
|
||||
$("table.pagesort2")
|
||||
.tablesorter({ widgets: ['zebra'] })
|
||||
.tablesorterPager({ positionFixed: false, container: $("#pager2") });
|
||||
$("table.pagesort4")
|
||||
.tablesorter({ widgets: ['zebra'] })
|
||||
.tablesorterPager({ positionFixed: false, container: $("#pager3") });
|
||||
|
||||
$('.block table tr th.header').css('cursor', 'pointer');
|
||||
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
{include file="global/block_header.tpl" BLOCK_HEADER="Transaction Log" BUTTONS=array(Confirmed,Unconfirmed,Orphan)}
|
||||
<div class="block_content tab_content" id="Confirmed" style="clear:;">
|
||||
<center>
|
||||
<table cellpadding="1" cellspacing="1" width="98%" class="sortable">
|
||||
{include file="global/pagination.tpl"}
|
||||
<table cellpadding="1" cellspacing="1" width="98%" class="pagesort">
|
||||
<thead style="font-size:13px;">
|
||||
<tr>
|
||||
<th class="header" style="cursor: pointer;">TX #</th>
|
||||
@ -42,7 +43,8 @@
|
||||
</div>
|
||||
<div class="block_content tab_content" id="Unconfirmed" style="">
|
||||
<center>
|
||||
<table cellpadding="1" cellspacing="1" width="98%" class="sortable">
|
||||
{include file="global/pagination.tpl" ID=2}
|
||||
<table cellpadding="1" cellspacing="1" width="98%" class="pagesort2">
|
||||
<thead style="font-size:13px;">
|
||||
<tr>
|
||||
<th class="header" style="cursor: pointer;">TX #</th>
|
||||
@ -86,7 +88,8 @@
|
||||
</div>
|
||||
<div class="block_content tab_content" id="Orphan" style="">
|
||||
<center>
|
||||
<table cellpadding="1" cellspacing="1" width="98%" class="sortable">
|
||||
{include file="global/pagination.tpl"}
|
||||
<table cellpadding="1" cellspacing="1" width="98%" class="pagesort3">
|
||||
<thead style="font-size:13px;">
|
||||
<tr>
|
||||
<th class="header" style="cursor: pointer;">TX #</th>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<div id="pager">
|
||||
<div id="pager{$ID|default:""}">
|
||||
<form>
|
||||
<img src="{$PATH}/images/first.png" class="first"/>
|
||||
<img src="{$PATH}/images/prev.png" class="prev"/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user