* finish task #6606.
This commit is contained in:
@@ -99,8 +99,9 @@ $lang->selectAll = '全选';
|
||||
$lang->selectReverse = '反选';
|
||||
$lang->loading = '稍候...';
|
||||
$lang->notFound = '抱歉,您访问的对象并不存在!';
|
||||
$lang->notPage = '抱歉,您访问的功能正在开发中!';
|
||||
$lang->notPage = '抱歉,您访问的功能正在开发中!';
|
||||
$lang->showAll = '[[全部显示]]';
|
||||
$lang->selectedItems = '已选择 <strong>{0}</strong> 项';
|
||||
|
||||
$lang->future = '未来';
|
||||
$lang->year = '年';
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
$('#linkCaseForm').table(
|
||||
{
|
||||
statisticCreator: function(table)
|
||||
{
|
||||
var $checkedRows = table.getTable().find('tbody>tr.checked');
|
||||
var checkedTotal = $checkedRows.length;
|
||||
if(!checkedTotal) return;
|
||||
|
||||
return selectedItems.replace('{0}', checkedTotal);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
</div>
|
||||
<div class="cell show" id="queryBox"></div>
|
||||
<div id='mainContent'>
|
||||
<form class='main-table table-case' data-ride='table' method='post'>
|
||||
<form class='main-table table-case' data-ride='table' method='post' id='linkCaseForm'>
|
||||
<table class='table tablesorter'>
|
||||
<div class="table-header">
|
||||
<i class="icon-unlink"></i> <strong><?php echo $lang->testtask->unlinkedCases;?></strong> (<?php echo $pager->recTotal;?>)
|
||||
@@ -126,10 +126,11 @@
|
||||
<div class='table-footer'>
|
||||
<div class="checkbox-primary check-all"><label><?php echo $lang->selectAll?></label></div>
|
||||
<div class="table-actions btn-toolbar show-always"><?php echo html::submitButton('', '', 'btn btn-secondary');?></div>
|
||||
<div class="text"></div>
|
||||
<div class="table-statistic"></div>
|
||||
<?php $pager->show('right', 'pagerjs');?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</form>
|
||||
</div>
|
||||
<?php js::set('selectedItems', $lang->selectedItems);?>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user