cfmgrv4 init...2

This commit is contained in:
최준흠 2024-10-06 22:57:57 +09:00
parent 302d0f286b
commit c50940aada
11 changed files with 101 additions and 90 deletions

View File

@ -63,7 +63,7 @@ function getFieldView_AuthHelper(string $field, array $viewDatas, array $extras
] ]
) . " " . ) . " " .
anchor( anchor(
base_url() . $viewDatas['view_root'] . "account?auth_uid=" . $viewDatas['entity']->getPK(), base_url() . $viewDatas['view_root'] . "account?auth_uid=" . $viewDatas['entity']->getPK(),
ICONS["FLAG"], ICONS["FLAG"],
[ [
"class" => "btn btn-sm btn-primary btn-circle", "class" => "btn btn-sm btn-primary btn-circle",
@ -107,7 +107,7 @@ function getListLabel_AuthHelper(string $field, array $viewDatas, array $extras
$order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC"; $order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC";
$viewDatas['uri']->addQuery('order_field', $field); $viewDatas['uri']->addQuery('order_field', $field);
$viewDatas['uri']->addQuery('order_value', $order_value); $viewDatas['uri']->addQuery('order_value', $order_value);
$label = anchor((string)$viewDatas['uri'], $label); $label = anchor((string) $viewDatas['uri'], $label);
} }
return sprintf("<th %s>%s</th>", implode(" ", $extras), $label); return sprintf("<th %s>%s</th>", implode(" ", $extras), $label);
} }
@ -117,7 +117,7 @@ function getListButton_AuthHelper(string $action, array $viewDatas, array $extra
case 'create': case 'create':
$viewDatas['list_action_url'] = current_url() . '/' . $action; $viewDatas['list_action_url'] = current_url() . '/' . $action;
$extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras]; $extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras];
$action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras); $action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras);
break; break;
case 'modify': case 'modify':
$pk = $viewDatas['entity']->getPK(); $pk = $viewDatas['entity']->getPK();

View File

@ -42,7 +42,7 @@ function getFieldForm_RecordHelper(string $field, mixed $value, array $viewDatas
$form = form_input($field, $value, [ $form = form_input($field, $value, [
"placeholder" => "예)www.example.com", "placeholder" => "예)www.example.com",
"style" => "style" =>
"width:200px; ::placeholder{color:silver; opacity: 1;}", "width:200px; ::placeholder{color:silver; opacity: 1;}",
"class" => "form-control", "class" => "form-control",
(strpos($viewDatas['field_rules'][$field], 'required') !== false) ? "required" : "" (strpos($viewDatas['field_rules'][$field], 'required') !== false) ? "required" : ""
]); ]);
@ -58,7 +58,7 @@ function getFieldForm_RecordHelper(string $field, mixed $value, array $viewDatas
$form = form_input($field, $value, [ $form = form_input($field, $value, [
"placeholder" => "예)123.123.123.123", "placeholder" => "예)123.123.123.123",
"style" => "style" =>
"width:200px; ::placeholder{color:silver; opacity: 1;}", "width:200px; ::placeholder{color:silver; opacity: 1;}",
"class" => "form-control", "class" => "form-control",
(strpos($viewDatas['field_rules'][$field], 'required') !== false) ? "required" : "" (strpos($viewDatas['field_rules'][$field], 'required') !== false) ? "required" : ""
]); ]);
@ -109,17 +109,10 @@ function getFieldView_RecordHelper(string $field, array $viewDatas, array $extra
} }
break; break;
case RecordModel::TITLE: case RecordModel::TITLE:
$url = sprintf("%s/toggle/%s/fixed?fixed=%s", current_url(), $viewDatas['entity']->getPK(), $viewDatas['entity']->fixed == 'on' ? "off" : "on"); $url = sprintf("%s/toggle/%s/fixed?fixed=%s", current_url(), $viewDatas['entity']->getPK(), $viewDatas['entity']->fixed == 'on' ? "off" : "on");
$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)) : "";
@ -148,7 +141,7 @@ function getListLabel_RecordHelper(string $field, array $viewDatas, array $extra
$order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC"; $order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC";
$viewDatas['uri']->addQuery('order_field', $field); $viewDatas['uri']->addQuery('order_field', $field);
$viewDatas['uri']->addQuery('order_value', $order_value); $viewDatas['uri']->addQuery('order_value', $order_value);
$label = anchor((string)$viewDatas['uri'], $label); $label = anchor((string) $viewDatas['uri'], $label);
} }
switch ($field) { switch ($field) {
case RecordModel::PARENT: case RecordModel::PARENT:
@ -166,7 +159,7 @@ function getListButton_RecordHelper(string $action, array $viewDatas, array $ext
case 'create': case 'create':
$viewDatas['list_action_url'] = current_url() . '/' . $action . '?' . $viewDatas['uri']->getQuery(['only' => RecordModel::PARENT]); $viewDatas['list_action_url'] = current_url() . '/' . $action . '?' . $viewDatas['uri']->getQuery(['only' => RecordModel::PARENT]);
$extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras]; $extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras];
$action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras); $action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras);
break; break;
case 'sync': case 'sync':
$checkbox = ""; $checkbox = "";

View File

@ -31,7 +31,7 @@ function getFieldForm_UserHelper(string $field, mixed $value, array $viewDatas,
$forms = []; $forms = [];
foreach ($viewDatas['field_options'][$field] as $key => $label) { foreach ($viewDatas['field_options'][$field] as $key => $label) {
$values = is_array($value) ? $value : explode(DEFAULTS["DELIMITER_ROLE"], $value); $values = is_array($value) ? $value : explode(DEFAULTS["DELIMITER_ROLE"], $value);
$forms[] = form_checkbox($field . "[]", $key, in_array($key, $values)) . $label; $forms[] = form_checkbox($field . "[]", $key, in_array($key, $values)) . $label;
} }
$form = implode(" ", $forms); $form = implode(" ", $forms);
} else { } else {
@ -134,7 +134,7 @@ function getListLabel_UserHelper(string $field, array $viewDatas, array $extras
$order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC"; $order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC";
$viewDatas['uri']->addQuery('order_field', $field); $viewDatas['uri']->addQuery('order_field', $field);
$viewDatas['uri']->addQuery('order_value', $order_value); $viewDatas['uri']->addQuery('order_value', $order_value);
$label = anchor((string)$viewDatas['uri'], $label); $label = anchor((string) $viewDatas['uri'], $label);
} }
switch ($field) { switch ($field) {
case UserModel::TITLE: case UserModel::TITLE:
@ -148,7 +148,7 @@ function getListButton_UserHelper(string $action, array $viewDatas, array $extra
case 'create': case 'create':
$viewDatas['list_action_url'] = current_url() . '/' . $action; $viewDatas['list_action_url'] = current_url() . '/' . $action;
$extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras]; $extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras];
$action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras); $action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras);
break; break;
case 'modify': case 'modify':
$pk = $viewDatas['entity']->getPK(); $pk = $viewDatas['entity']->getPK();

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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;
} }

View File

@ -1,96 +1,110 @@
div#content{ div#content {
color:black; color: black;
padding-top:20px; padding-top: 20px;
padding-left:30px; padding-left: 30px;
margin-bottom:40px; margin-bottom: 40px;
/* 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;
} */ } */
/*페이지정보*/ /*페이지정보*/
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;
height:40px; height: 40px;
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;
font-weight:bold; font-weight: bold;
width:80px; width: 80px;
height:40px; height: 40px;
color:white; color: white;
border-radius:0px !important; border-radius: 0px !important;
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;
/* border:1px solid red; */ /* border:1px solid red; */
} }
/* Table 부분 */ /* Table 부분 */
div#content table { div#content table {
width:100%; width: 100%;
/* overflow-x: auto; /* overflow-x: auto;
padding-top:5px; padding-top:5px;
padding-bottom:5px; */ padding-bottom:5px; */
} }
/* insert,update,reply,view Form Page 관련 전용*/ /* insert,update,reply,view Form Page 관련 전용*/
div#content table.form tbody tr td.label{ div#content table.form tbody tr td.label {
width:10%; width: 10%;
text-align:right; text-align: right;
padding-right:20px; padding-right: 20px;
background-color:#e8ebe9; background-color: #e8ebe9;
} }
div#content table.form tbody tr td.column{
height:27px; div#content table.form tbody tr td.column {
text-align:left; height: 27px;
padding-left:20px; text-align: left;
padding-left: 20px;
} }
/* insert,update,reply,view Form Page 관련 전용*/ /* insert,update,reply,view Form Page 관련 전용*/
/* 상품 리스트 전용 */ /* 상품 리스트 전용 */
div#content table.product tr:first-child { 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 {
white-space: nowrap; white-space: nowrap;
padding-top:15px; padding-top: 15px;
padding-bottom:15px; padding-bottom: 15px;
font-size: 1.5rem; font-size: 1.5rem;
font-weight:bold; font-weight: bold;
border-top:2px solid black; border-top: 2px solid black;
border-bottom:1px solid silver; border-bottom: 1px solid silver;
background-color:#F5F5F5; background-color: #F5F5F5;
/* 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{
border:0px; div#content div.bottom ul.pagination li.page-item a {
border-radius:0px !important; border: 0px;
background-color:#e8ebe9; border-radius: 0px !important;
background-color: #e8ebe9;
} }
div#content div.bottom ul.pagination li.active a{
background-color:gray; div#content div.bottom ul.pagination li.active a {
background-color: gray;
} }