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