* refactor dtable id.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#main {padding-bottom: 0;}
|
||||
#myTable .dtable-header, #executionsForm .dtable-rows {z-index: 4;}
|
||||
#dtable .dtable-header, #executionsForm .dtable-rows {z-index: 4;}
|
||||
.table-header.fixed-right > .btn-toolbar {right: 0; background-color: #f1f5f9;}
|
||||
|
||||
#myTable input[type=checkbox] {margin: 0px}
|
||||
#dtable input[type=checkbox] {margin: 0px}
|
||||
|
||||
.table-footer {border-top: 1px solid #fff4ea}
|
||||
.table-footer .pager{z-index: 10}
|
||||
#myTable .scrollbar {z-index: 11}
|
||||
#dtable .scrollbar {z-index: 11}
|
||||
|
||||
.dtable {--dtable-checked-bg: #fff4ea; --dtable-border-color: #f4f5f7}
|
||||
.dtable-row {border-bottom-style: solid;}
|
||||
|
||||
@@ -83,7 +83,7 @@ js::set('isCNLang', !$this->loadModel('common')->checkNotCN());
|
||||
<div class="table-header fixed-right">
|
||||
<nav class="btn-toolbar pull-right setting"></nav>
|
||||
</div>
|
||||
<div id="myTable"></div>
|
||||
<div id="dtable"></div>
|
||||
<div class='table-footer'>
|
||||
<div class="table-actions btn-toolbar">
|
||||
<?php
|
||||
@@ -143,7 +143,7 @@ js::set('isCNLang', !$this->loadModel('common')->checkNotCN());
|
||||
|
||||
function renderSparkline()
|
||||
{
|
||||
$('#myTable .dtable-rows .sparkline.pending').removeClass('pending').sparkline();
|
||||
$('#dtable .dtable-rows .sparkline.pending').removeClass('pending').sparkline();
|
||||
}
|
||||
|
||||
function tryRenderSparkline()
|
||||
@@ -180,7 +180,7 @@ js::set('isCNLang', !$this->loadModel('common')->checkNotCN());
|
||||
$.cookie('checkedItem', checkItems.join(','), {expires: config.cookieLife, path: config.webRoot});
|
||||
}
|
||||
|
||||
$('#myTable').dtable(options);
|
||||
$('#dtable').dtable(options);
|
||||
|
||||
$('#batchEditBtn').click(function()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user