Datatables
This commit is contained in:
parent
02f4f967b1
commit
dfc71bfeeb
5
public/site_assets/bootstrap/js/mpos.js
Normal file → Executable file
5
public/site_assets/bootstrap/js/mpos.js
Normal file → Executable file
@ -16,3 +16,8 @@ $(function() {
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// Make all table with "datatable" class a datatable
|
||||
$(document).ready(function() {
|
||||
$('.datatable').dataTable();
|
||||
});
|
||||
4
public/templates/bootstrap/master.tpl
Normal file → Executable file
4
public/templates/bootstrap/master.tpl
Normal file → Executable file
@ -29,10 +29,10 @@
|
||||
<script src="{$PATH}/js/jquery-2.0.3.min.js"></script>
|
||||
<script src="{$PATH}/js/bootstrap.min.js"></script>
|
||||
<script src="{$PATH}/js/bootstrap-switch.min.js"></script>
|
||||
<script src="{$PATH}/js/plugins/dataTables/jquery.dataTables.js"></script>
|
||||
<script src="{$PATH}/js/plugins/dataTables/dataTables.bootstrap.js"></script>
|
||||
|
||||
<script src="{$PATH}/js/plugins/metisMenu/jquery.metisMenu.js"></script>
|
||||
|
||||
<!-- Page-Level Plugin Scripts - Morris -->
|
||||
<script src="{$PATH}/js/plugins/morris/raphael-2.1.0.min.js"></script>
|
||||
<script src="{$PATH}/js/plugins/morris/morris.js"></script>
|
||||
|
||||
|
||||
2
public/templates/bootstrap/statistics/round/default.tpl
Normal file → Executable file
2
public/templates/bootstrap/statistics/round/default.tpl
Normal file → Executable file
@ -16,4 +16,4 @@
|
||||
{include file="statistics/round/block_stats.tpl"}
|
||||
{include file="statistics/round/round_shares.tpl"}
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
@ -3,9 +3,9 @@
|
||||
<div class="panel-heading">
|
||||
<i class="fa fa-refresh fa-fw"></i> PPLNS Round Shares
|
||||
</div>
|
||||
<div class="panel-body no-padding">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<table class="table table-striped table-bordered table-hover datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rank</th>
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
<div class="panel-heading">
|
||||
<i class="fa fa-credit-card fa-fw"></i> Round Transactions
|
||||
</div>
|
||||
<div class="panel-body no-padding">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<table class="table table-striped table-bordered table-hover datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th >User Name</th>
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
<div class="panel-heading">
|
||||
<i class="fa fa-refresh fa-fw"></i> Round Statistics
|
||||
</div>
|
||||
<div class="panel-body no-padding">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<table class="table table-striped table-bordered table-hover datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th >User Name</th>
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
<div class="panel-heading">
|
||||
<i class="fa fa-refresh fa-fw"></i> Round Shares
|
||||
</div>
|
||||
<div class="panel-body no-padding">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<table class="table table-striped table-bordered table-hover datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rank</th>
|
||||
|
||||
@ -3,15 +3,15 @@
|
||||
<div class="panel-heading">
|
||||
Round Transactions
|
||||
</div>
|
||||
<div class="panel-body no-padding">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<table class="table table-striped table-bordered table-hover datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>User Name</th>
|
||||
<th>Type</th>
|
||||
<th>Round Shares</th>
|
||||
<th scope="col">Round %</th>
|
||||
<th>Round %</th>
|
||||
<th>Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user