check exitst images
This commit is contained in:
@@ -12,8 +12,13 @@
|
||||
</thead>
|
||||
<tbody id="sync-lists">
|
||||
{foreach from=$datas item=arr}
|
||||
<tr onclick="choooseToSync(this);" style="cursor: pointer;" data-stt="false" data-id="{$arr.idStaff}">
|
||||
<td>{$arr.idStaff}</td>
|
||||
<tr onclick="choooseToSync(this);" style="cursor: pointer;" class="{if !in_array($arr.idStaff,$allID)}not-in-list{/if}" data-stt="false" data-id="{$arr.idStaff}">
|
||||
<td>
|
||||
{$arr.idStaff}
|
||||
{if in_array($arr.idStaff,$allID)}
|
||||
<i class="fa fa-check-circle text-green"></i>
|
||||
{/if}
|
||||
</td>
|
||||
<td>{$arr.name}</td>
|
||||
<td>{$arr.department}</td>
|
||||
<td>
|
||||
@@ -35,7 +40,7 @@
|
||||
<div class="col-md-2">
|
||||
<i class="fa fa-info-circle"></i> Đã lựa chọn <b class="text-red" id="totals-choose">0</b> đối tượng.
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-5">
|
||||
<div class="hidden" id="progress-form">
|
||||
Đồng bộ <b id="progress-current" class="text-green">0</b>/<b id="progress-totals" class="text-red">0</b> đối tượng.
|
||||
<div class="progress">
|
||||
@@ -45,7 +50,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 text-right">
|
||||
<div class="col-md-5 text-right">
|
||||
<button class="btn btn-default" onclick="checkAllNotInList();">
|
||||
Chọn đối tượng chưa tồn tại
|
||||
</button>
|
||||
<button class="btn btn-default" onclick="checkAllSync(true);">
|
||||
Chọn tất cả
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user