46 lines
2.2 KiB
PHP
46 lines
2.2 KiB
PHP
<?= $this->extend('layouts/admin') ?>
|
|
<?= $this->section('content') ?>
|
|
<?= $this->include('templates/admin/header'); ?>
|
|
<div class="indexTable_wrapper">
|
|
<div class="indexTable_head">
|
|
<?= form_open(current_url(), array("method" => "get")) ?>
|
|
<ul class="nav">
|
|
조건검색:<?php foreach ($fieldFilters as $field) : ?><li class="nav-item"><?= getFieldFilter_LoggerHelper($field, $$field, $fieldFormOptions) ?></li><?php endforeach; ?>
|
|
<?= $this->include('templates/admin/index_head'); ?>
|
|
</ul>
|
|
<?= form_close(); ?>
|
|
</div>
|
|
<div class="indexTable_body">
|
|
<?= form_open(current_url() . '/batchjob', $forms['attributes'], $forms['hiddens']) ?>
|
|
<table class="table table-bordered table-hover table-striped indexTable ">
|
|
<tr>
|
|
<td>번호</td>
|
|
<?php foreach ($fields as $field) : ?><td><?= getFieldIndex_Column_LoggerHelper($field, $order_field, $order_value) ?></td><?php endforeach; ?>
|
|
</tr>
|
|
<?php $i = 0; ?>
|
|
<?php foreach ($rows as $row) : ?>
|
|
<tr id="<?= $row['uid'] ?>" onClick="indexRowCheckBoxToggle(this);">
|
|
<td>
|
|
<?= form_checkbox(["id" => "checkbox_uid_{$row['uid']}", "name" => "batchjob_uids[]", "value" => $row['uid'], "class" => "batchjobuids_checkboxs"]); ?>
|
|
<?= $total_count - (($page - 1) * $per_page + $i) ?>
|
|
</td>
|
|
<?php foreach ($fields as $field) : ?>
|
|
<td nowrap><?= getFieldIndex_Row_LoggerHelper($field, $row, $fieldFilters, $fieldFormOptions) ?></td>
|
|
<?php endforeach; ?>
|
|
</tr>
|
|
<?php $i++; ?>
|
|
<?php endforeach; ?>
|
|
</table>
|
|
<ul class="nav justify-content-center">
|
|
<li class="nav-item"><?= form_checkbox(array("id" => "batchjobuids_checkbox")) ?>ALL</li>
|
|
<?php foreach ($batchjobFilters as $field) : ?><li class="nav-item"><?= getFieldFilter_LoggerHelper($field, DEFAULTS['EMPTY'], $fieldFormOptions) ?></li><?php endforeach; ?>
|
|
<li class="nav-item"><?= form_submit('', '일괄처리', array("class" => "btn btn-outline btn-warning")); ?></li>
|
|
</ul>
|
|
<?= form_close(); ?>
|
|
</div>
|
|
<div class="indexTable_tail">
|
|
<?= $pagination ?>
|
|
</div>
|
|
</div>
|
|
<?= $this->include('templates/admin/footer'); ?>
|
|
<?= $this->endSection() ?>
|