* refactor dtable id.

This commit is contained in:
sunhao
2023-08-16 09:00:09 +08:00
parent b7387fcc2d
commit eab4bffb0f
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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;}
+3 -3
View File
@@ -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()
{