cfmgrv4 init...2
This commit is contained in:
parent
302d0f286b
commit
c50940aada
@ -113,13 +113,6 @@ function getFieldView_RecordHelper(string $field, array $viewDatas, array $extra
|
|||||||
$value = sprintf("%s%s", $viewDatas['entity']->fixed == 'on' ? "<span class=\"text-danger\">" . ICONS['LOCK'] . "</span>" : "", $value);
|
$value = sprintf("%s%s", $viewDatas['entity']->fixed == 'on' ? "<span class=\"text-danger\">" . ICONS['LOCK'] . "</span>" : "", $value);
|
||||||
$value = anchor($url, $value, ["target" => "_self"]);
|
$value = anchor($url, $value, ["target" => "_self"]);
|
||||||
break;
|
break;
|
||||||
case 'content':
|
|
||||||
$value = sprintf(
|
|
||||||
"<span class=\"short-text\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"%s\">%s</span>",
|
|
||||||
$value,
|
|
||||||
mb_strlen($value) > 40 ? mb_substr($value, 0, 40) . '...' : $value
|
|
||||||
);
|
|
||||||
break;
|
|
||||||
case 'updated_at':
|
case 'updated_at':
|
||||||
case 'created_at':
|
case 'created_at':
|
||||||
$value = $value ? date("Y-m-d", strtotime($value)) : "";
|
$value = $value ? date("Y-m-d", strtotime($value)) : "";
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.account">
|
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.account">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nowrap>번호</th>
|
<th class="index_head_short_column">번호</th>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<?= getListLabel_AccountHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
<?= getListLabel_AccountHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<th nowrap>작업</th>
|
<th class="index_head_short_column">작업</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
||||||
<?php $viewDatas['entity'] = $entity; ?>
|
<?php $viewDatas['entity'] = $entity; ?>
|
||||||
<?php $viewDatas['old_auth'] = $old_auth ?>
|
<?php $viewDatas['old_auth'] = $old_auth ?>
|
||||||
<td class="text-center" nowrap>
|
<td>
|
||||||
<?= getListButton_AccountHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
<?= getListButton_AccountHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<td><?= getFieldView_AccountHelper($field, $viewDatas) ?></td>
|
<td><?= getFieldView_AccountHelper($field, $viewDatas) ?></td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<td nowrap>
|
<td>
|
||||||
<?= getListButton_AccountHelper('delete', $viewDatas) ?>
|
<?= getListButton_AccountHelper('delete', $viewDatas) ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.auth">
|
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.auth">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nowrap>번호</th>
|
<th class="index_head_short_column">번호</th>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<?= getListLabel_AuthHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
<?= getListLabel_AuthHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<th nowrap>작업</th>
|
<th class="index_head_short_column">작업</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -20,13 +20,13 @@
|
|||||||
<tr <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
|
<tr <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
|
||||||
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
||||||
<?php $viewDatas['entity'] = $entity; ?>
|
<?php $viewDatas['entity'] = $entity; ?>
|
||||||
<td class="text-center" nowrap>
|
<td>
|
||||||
<?= getListButton_AuthHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
<?= getListButton_AuthHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<td><?= getFieldView_AuthHelper($field, $viewDatas) ?></td>
|
<td><?= getFieldView_AuthHelper($field, $viewDatas) ?></td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<td nowrap>
|
<td>
|
||||||
<?= getListButton_AuthHelper('delete', $viewDatas) ?>
|
<?= getListButton_AuthHelper('delete', $viewDatas) ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.record">
|
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.record">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nowrap>번호</th>
|
<th class="index_head_short_column">번호</th>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<?= getListLabel_RecordHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
<?= getListLabel_RecordHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<th nowrap>작업</th>
|
<th class="index_head_short_column">작업</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
||||||
<?php $viewDatas['entity'] = $entity; ?>
|
<?php $viewDatas['entity'] = $entity; ?>
|
||||||
<?php $viewDatas['old_zone'] = $old_zone ?>
|
<?php $viewDatas['old_zone'] = $old_zone ?>
|
||||||
<td class="text-center" nowrap>
|
<td>
|
||||||
<?= getListButton_RecordHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
<?= getListButton_RecordHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<td><?= getFieldView_RecordHelper($field, $viewDatas) ?></td>
|
<td><?= getFieldView_RecordHelper($field, $viewDatas) ?></td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<td nowrap>
|
<td>
|
||||||
<?= getListButton_RecordHelper('delete', $viewDatas) ?>
|
<?= getListButton_RecordHelper('delete', $viewDatas) ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.zone">
|
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.zone">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nowrap>번호</th>
|
<th class="index_head_short_column">번호</th>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<?= getListLabel_ZoneHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
<?= getListLabel_ZoneHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<th nowrap>작업</th>
|
<th class="index_head_short_column">작업</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -22,13 +22,13 @@
|
|||||||
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
||||||
<?php $viewDatas['entity'] = $entity ?>
|
<?php $viewDatas['entity'] = $entity ?>
|
||||||
<?php $viewDatas['old_account'] = $old_account ?>
|
<?php $viewDatas['old_account'] = $old_account ?>
|
||||||
<td class="text-center" nowrap>
|
<td>
|
||||||
<?= getListButton_ZoneHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
<?= getListButton_ZoneHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<td><?= getFieldView_ZoneHelper($field, $viewDatas) ?></td>
|
<td><?= getFieldView_ZoneHelper($field, $viewDatas) ?></td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<td nowrap>
|
<td>
|
||||||
<?= getListButton_ZoneHelper('delete', $viewDatas) ?>
|
<?= getListButton_ZoneHelper('delete', $viewDatas) ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.mapurl">
|
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.mapurl">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nowrap>번호</th>
|
<th class="index_head_short_column">번호</th>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<?= getListLabel_MapurlHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
<?= getListLabel_MapurlHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<th nowrap>작업</th>
|
<th class="index_head_short_column">작업</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -20,13 +20,13 @@
|
|||||||
<tr <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
|
<tr <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
|
||||||
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
||||||
<?php $viewDatas['entity'] = $entity; ?>
|
<?php $viewDatas['entity'] = $entity; ?>
|
||||||
<td class="text-center" nowrap>
|
<td>
|
||||||
<?= getListButton_MapurlHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
<?= getListButton_MapurlHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<td><?= getFieldView_MapurlHelper($field, $viewDatas) ?></td>
|
<td><?= getFieldView_MapurlHelper($field, $viewDatas) ?></td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<td nowrap>
|
<td>
|
||||||
<?= getListButton_MapurlHelper('delete', $viewDatas) ?>
|
<?= getListButton_MapurlHelper('delete', $viewDatas) ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.user">
|
<table class="index_table data table table-bordered table-hover table-striped" data-rtc-resizable-table="table.user">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th nowrap>번호</th>
|
<th class="index_head_short_column">번호</th>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<?= getListLabel_UserHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
<?= getListLabel_UserHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<th nowrap>작업</th>
|
<th class="index_head_short_column">작업</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -20,13 +20,13 @@
|
|||||||
<tr <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
|
<tr <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
|
||||||
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
<?php $viewDatas['cnt'] = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
||||||
<?php $viewDatas['entity'] = $entity; ?>
|
<?php $viewDatas['entity'] = $entity; ?>
|
||||||
<td class="text-center" nowrap>
|
<td>
|
||||||
<?= getListButton_UserHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
<?= getListButton_UserHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
||||||
</td>
|
</td>
|
||||||
<?php foreach ($viewDatas['fields'] as $field): ?>
|
<?php foreach ($viewDatas['fields'] as $field): ?>
|
||||||
<td><?= getFieldView_UserHelper($field, $viewDatas) ?></td>
|
<td><?= getFieldView_UserHelper($field, $viewDatas) ?></td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<td nowrap>
|
<td>
|
||||||
<?= getListButton_UserHelper('delete', $viewDatas) ?>
|
<?= getListButton_UserHelper('delete', $viewDatas) ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -57,6 +57,10 @@ table.index_table thead th {
|
|||||||
/* border:1px solid silver; */
|
/* border:1px solid silver; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.index_table thead th.index_head_short_column {
|
||||||
|
width: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
table.index_table thead th:active {
|
table.index_table thead th:active {
|
||||||
cursor: grabbing;
|
cursor: grabbing;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ div#content{
|
|||||||
/* border-left:1px solid silver;
|
/* border-left:1px solid silver;
|
||||||
border-right:1px solid silver; */
|
border-right:1px solid silver; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* div#content div.top{
|
/* div#content div.top{
|
||||||
border:1px solid red;
|
border:1px solid red;
|
||||||
} */
|
} */
|
||||||
@ -14,6 +15,7 @@ div#content{
|
|||||||
div#content div.top nav span.pageinfo {
|
div#content div.top nav span.pageinfo {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*검색*/
|
/*검색*/
|
||||||
div#content div.top nav input[type=text] {
|
div#content div.top nav input[type=text] {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
@ -21,6 +23,7 @@ div#content div.top nav input[type=text]{
|
|||||||
border-radius: 0px !important;
|
border-radius: 0px !important;
|
||||||
/* border:1px solid red; */
|
/* border:1px solid red; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*검색submit*/
|
/*검색submit*/
|
||||||
div#content div.top nav input[type=submit] {
|
div#content div.top nav input[type=submit] {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
@ -32,6 +35,7 @@ div#content div.top nav input[type=submit]{
|
|||||||
background-color: #555555;
|
background-color: #555555;
|
||||||
/* border:1px solid red; */
|
/* border:1px solid red; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Excel Icon*/
|
/*Excel Icon*/
|
||||||
div#content div.top nav a {
|
div#content div.top nav a {
|
||||||
border-radius: 0px !important;
|
border-radius: 0px !important;
|
||||||
@ -53,11 +57,13 @@ div#content table.form tbody tr td.label{
|
|||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
background-color: #e8ebe9;
|
background-color: #e8ebe9;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#content table.form tbody tr td.column {
|
div#content table.form tbody tr td.column {
|
||||||
height: 27px;
|
height: 27px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* insert,update,reply,view Form Page 관련 전용*/
|
/* insert,update,reply,view Form Page 관련 전용*/
|
||||||
|
|
||||||
/* 상품 리스트 전용 */
|
/* 상품 리스트 전용 */
|
||||||
@ -65,6 +71,7 @@ div#content table.product tr:first-child {
|
|||||||
border-top: 2px solid black;
|
border-top: 2px solid black;
|
||||||
border-bottom: 1px solid silver;
|
border-bottom: 1px solid silver;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 상품 리스트 전용 */
|
/* 상품 리스트 전용 */
|
||||||
|
|
||||||
div#content table thead th {
|
div#content table thead th {
|
||||||
@ -79,18 +86,25 @@ div#content table thead th{
|
|||||||
/* border:1px solid silver; */
|
/* border:1px solid silver; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#content table thead th.index_head_short_column {
|
||||||
|
width: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
div#content div.bottom {
|
div#content div.bottom {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#content div.bottom ul.pagination {
|
div#content div.bottom ul.pagination {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#content div.bottom ul.pagination li.page-item a {
|
div#content div.bottom ul.pagination li.page-item a {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
border-radius: 0px !important;
|
border-radius: 0px !important;
|
||||||
background-color: #e8ebe9;
|
background-color: #e8ebe9;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#content div.bottom ul.pagination li.active a {
|
div#content div.bottom ul.pagination li.active a {
|
||||||
background-color: gray;
|
background-color: gray;
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user