84 lines
3.6 KiB
Smarty
84 lines
3.6 KiB
Smarty
<div class="row">
|
|
<div class="col-md-4">
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<div class="input-group-addon">{Yii::t("app" ,"TIM_KIEM")}</div>
|
|
<select class="form-control" id="filter-from-server" onchange="filters(this);">
|
|
<option value=""></option>
|
|
{html_options options=$filters}
|
|
</select>
|
|
<div class="input-group-btn">
|
|
<button class="btn btn-default" data-toggle="tooltip" title="{Yii::t("app", "HUY_BO_TIM_KIEM")}" onclick="removeFilters();">
|
|
<i class="fa fa-remove"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="max-height: 750px;overflow-y: auto;">
|
|
<table class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>{Yii::t("app", "ID")}<</th>
|
|
<th>{Yii::t("app", "TEN")}<</th>
|
|
<th>{Yii::t("app", "TEN_HIEN_THI")}</th>
|
|
<th>{Yii::t("app", "GIOI_TINH")}</th>
|
|
<th>{Yii::t("app", "HINH_ANH_DANG_KI")}</th>
|
|
<th>{Yii::t("app", "NGAY_SINH")}</th>
|
|
<th>{Yii::t("app", "DIEN_THOAI")}</th>
|
|
<th>{Yii::t("app", "DON_VI")}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="sync-lists">
|
|
{foreach from=$datas item=arr}
|
|
<tr id="filters-{$arr.staff_id}" class="filters" onclick="choooseToSync(this);" style="cursor: pointer;" data-stt="false" data-id="{$arr->staff_id}">
|
|
<td>{$arr->code}</td>
|
|
<td>{$arr->name}</td>
|
|
<td>{$arr.abbreviated_name}</td>
|
|
<td>{$arr->gender}</td>
|
|
<td>
|
|
{$images = json_decode($arr->image, true)}
|
|
{foreach from=$images item=img}
|
|
<div class='feature-img'>
|
|
<img src="/data/uploads/face/{$img.url}" class="img-thumbnail" style="width: 100px;height:100px;">
|
|
</div>
|
|
{/foreach}
|
|
</td>
|
|
<td>{$arr->birthday|date_format:"%d/%m/%Y"}</td>
|
|
<td>{$arr->telephone}</td>
|
|
<td>{$arr->address}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<br>
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
<i class="fa fa-info-circle"></i> {Yii::t("app", "DA_LUA_CHON_X_DOI_TUONG")}
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="hidden" id="progress-form">
|
|
{Yii::t("app", "DONG_BO_X_Y_DOI_TUONG")}
|
|
<div class="progress">
|
|
<div class="progress-bar progress-bar-primary progress-bar-striped" id='progress' role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
|
|
0%
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 text-right">
|
|
<button class="btn btn-default btn-select" onclick="checkAllSync(true);">
|
|
{Yii::t("app", "CHON_TAT_CA")}
|
|
</button>
|
|
<button class="btn btn-default btn-select" onclick="checkAllSync(false);">
|
|
{Yii::t("app", "BO_CHON_TAT_CA")}
|
|
</button>
|
|
<button class="btn btn-primary" onclick="_syncToServer();">
|
|
<i class="fa fa-refresh"></i> {Yii::t("app", "DONG_BO")}
|
|
</button>
|
|
<button type="button" class="btn btn-default" data-dismiss="modal"><span class="fa fa-remove"></span> {Yii::t("app", "DONG_LAI")}</button>
|
|
</div>
|
|
</div>
|