cfmgrv4 init...1
This commit is contained in:
parent
6dd668629d
commit
241c4ea82c
@ -1,26 +0,0 @@
|
||||
<link href="/css/<?= $viewDatas['layout'] ?>/content.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<?= form_open(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
||||
<table class="action_form table table-bordered">
|
||||
<tr>
|
||||
<?php $cnt = 1 ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||
<th nowrap><?= getFieldLabel_AuthHelper($field, $viewDatas) ?></th>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||
<td nowrap>
|
||||
<?= getFieldForm_AuthHelper($field, old($field), $viewDatas) ?>
|
||||
<?= validation_show_error($field); ?>
|
||||
</td>
|
||||
<?php $cnt++ ?>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="bottom" colspan="<?= $cnt * 2 ?>">
|
||||
<?= form_submit('', '입력', array("class" => "btn btn-outline btn-primary")); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?= form_close(); ?>
|
||||
</table>
|
||||
<?php if (session()->getFlashdata('error')): ?> <?= session()->getFlashdata('error') ?><?php endif ?>
|
||||
@ -41,8 +41,8 @@
|
||||
<?php foreach ($viewDatas['entitys'] as $entity): ?>
|
||||
<tr id="<?= $entity->getPK() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
|
||||
<td class="text-center text-wrap">
|
||||
<span onClick="loadContentForm(' <?= current_url() . "/modify/" . $entity->getPK() ?>' , document.getElementById('ActionForm'))">
|
||||
<?= $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt) ?>
|
||||
<?= form_checkbox(["id" => "checkbox_uid_{$entity->getPK()}", "name" => "batchjob_uids[]", "value" => $entity->getPK(), "class" => "batchjobuids_checkboxs"]); ?>
|
||||
<?= anchor(current_url() . '/modify/' . $entity->getPK(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||
|
||||
@ -3,4 +3,5 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
loadContentForm("<?= current_url() . "/create" ?>", document.getElementById('ActionForm'));
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
<!-- <span onClick="loadContentForm(' <?= current_url() . "/modify/" . $entity->getPK() ?>' , document.getElementById('ActionForm'))"></span> -->
|
||||
Loading…
Reference in New Issue
Block a user