shoppingmallv2 init...
This commit is contained in:
parent
3de4a451c2
commit
c68351431e
@ -247,7 +247,6 @@ define('DEFAULTS', [
|
||||
'STATUS' => getenv('default.status') ?: "use",
|
||||
'EMPTY' => getenv('default.empty') ?: "",
|
||||
'PERPAGE' => getenv('default.perpage') ?: 20,
|
||||
'HIERARCHY_GRPDEPTH' => getenv('default.hierarchy_grpdepth') ?: 20,
|
||||
'DELIMITER_FILE' => getenv('default.delimiter.file') ?: "||",
|
||||
'DELIMITER_ROLE' => getenv('default.delimiter.role') ?: ",",
|
||||
]);
|
||||
|
||||
@ -115,7 +115,7 @@ function getFieldIndex_Column_BoardHelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
@ -129,6 +129,10 @@ function getFieldIndex_Row_BoardHelper($field, $entity, array $viewDatas): strin
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
$depth = " ";
|
||||
for ($i = 1; $i < $entity->getHierarchy_Depth(); $i++) {
|
||||
$depth .= " ";
|
||||
}
|
||||
$reply = anchor(
|
||||
current_url() . '/reply/' . $entity->getPrimaryKey() . '?category=' . $viewDatas['category']->getPrimaryKey(),
|
||||
ICONS['REPLY'],
|
||||
@ -139,12 +143,7 @@ function getFieldIndex_Row_BoardHelper($field, $entity, array $viewDatas): strin
|
||||
$value,
|
||||
["target" => "_self"]
|
||||
);
|
||||
return sprintf(
|
||||
"<div style=\"text-align:left; padding-left:%spx\">%s %s</div>",
|
||||
$entity->getHierarchy_Depth() * DEFAULTS['HIERARCHY_GRPDEPTH'],
|
||||
$reply,
|
||||
$view
|
||||
);
|
||||
return sprintf("%s%s %s", $depth, $reply, $view);
|
||||
break;
|
||||
default:
|
||||
return getFieldView_BoardHelper($field, $entity, $viewDatas);
|
||||
@ -159,6 +158,10 @@ function getFieldIndex_Row_BoardHelper_Admin($field, $entity, array $viewDatas):
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
$depth = " ";
|
||||
for ($i = 1; $i < $entity->getHierarchy_Depth(); $i++) {
|
||||
$depth .= " ";
|
||||
}
|
||||
$reply = anchor(
|
||||
current_url() . '/reply/' . $entity->getPrimaryKey(),
|
||||
ICONS['REPLY'],
|
||||
@ -169,12 +172,7 @@ function getFieldIndex_Row_BoardHelper_Admin($field, $entity, array $viewDatas):
|
||||
$value,
|
||||
["target" => "_self"]
|
||||
);
|
||||
return sprintf(
|
||||
"<div style=\"text-align:left; padding-left:%spx\">%s %s</div>",
|
||||
$entity->getHierarchy_Depth() * DEFAULTS['HIERARCHY_GRPDEPTH'],
|
||||
$reply,
|
||||
$view
|
||||
);
|
||||
return sprintf("%s%s %s", $depth, $reply, $view);
|
||||
break;
|
||||
default:
|
||||
if (in_array($field, $viewDatas['fieldFilters'])) {
|
||||
|
||||
@ -115,7 +115,7 @@ function getFieldIndex_Column_CategoryHelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
@ -138,14 +138,14 @@ function getFieldIndex_Row_CategoryHelper_Admin($field, $entity, array $viewData
|
||||
$value = $entity->$field ?: DEFAULTS['EMPTY'];
|
||||
switch ($field) {
|
||||
case 'linkurl':
|
||||
return sprintf(
|
||||
"<div class=\"location-left\">%s<BR>%s</div>",
|
||||
$entity->getFileImage('middle', 'photo'),
|
||||
$value
|
||||
);
|
||||
return $entity->getFileImage('middle', 'photo') . "<BR>" . $value;
|
||||
break;
|
||||
case 'title':
|
||||
case 'name':
|
||||
$depth = " ";
|
||||
for ($i = 1; $i < $entity->getHierarchy_Depth(); $i++) {
|
||||
$depth .= " ";
|
||||
}
|
||||
$reply = anchor(
|
||||
current_url() . '/reply/' . $entity->getPrimaryKey(),
|
||||
ICONS['REPLY'],
|
||||
@ -156,12 +156,7 @@ function getFieldIndex_Row_CategoryHelper_Admin($field, $entity, array $viewData
|
||||
$value,
|
||||
["target" => "_self"]
|
||||
);
|
||||
return sprintf(
|
||||
"<div style=\"text-align:left; padding-left:%spx\">%s %s</div>",
|
||||
$entity->getHierarchy_Depth() * DEFAULTS['HIERARCHY_GRPDEPTH'],
|
||||
$reply,
|
||||
$view
|
||||
);
|
||||
return sprintf("%s%s %s", $depth, $reply, $view);
|
||||
break;
|
||||
default:
|
||||
if (in_array($field, $viewDatas['fieldFilters'])) {
|
||||
|
||||
@ -109,7 +109,7 @@ function getFieldIndex_Column_OrderHelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
|
||||
@ -145,7 +145,7 @@ function getFieldIndex_Column_PaymentHelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
|
||||
@ -114,7 +114,7 @@ function getFieldFilter_ProductHelper($field, $value, array $viewDatas)
|
||||
return form_dropdown($field, $viewDatas['fieldFormOptions'][$field], $value, ['class' => "select-field"]);
|
||||
} //
|
||||
|
||||
function getFieldIndex_Column_Productelper($field, array $viewDatas)
|
||||
function getFieldIndex_Column_ProductHelper($field, array $viewDatas)
|
||||
{
|
||||
$label = lang("{$viewDatas['className']}.label.{$field}");
|
||||
if ($field == $viewDatas['order_field']) {
|
||||
@ -127,7 +127,7 @@ function getFieldIndex_Column_Productelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
|
||||
@ -115,7 +115,7 @@ function getFieldIndex_Column_SitepageHelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
|
||||
@ -103,7 +103,7 @@ function getFieldIndex_Column_UserSNSHelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
|
||||
@ -119,7 +119,7 @@ function getFieldIndex_Column_UserHelper($field, array $viewDatas)
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
return sprintf("<th style=\"width:100px;\">%s</th>", $columnData);
|
||||
return sprintf("<th class=\"title\">%s</th>", $columnData);
|
||||
break;
|
||||
default:
|
||||
return sprintf("<th>%s</th>", $columnData);
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_BoardHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_BoardHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -21,12 +21,12 @@
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
|
||||
<tr id="<?= $entity->getPrimaryKey() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
|
||||
<td>
|
||||
<td nowrap>
|
||||
<?= form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
|
||||
<?= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
<td nowrap><?= getFieldIndex_Row_BoardHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<td class="<?= in_array($field, ['title', 'name']) ? "title hierarchy" : "" ?>"><?= getFieldIndex_Row_BoardHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<?php endforeach ?>
|
||||
<td><?= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?></td>
|
||||
</tr>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_CategoryHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_CategoryHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -21,12 +21,12 @@
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
|
||||
<tr id="<?= $entity->getPrimaryKey() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
|
||||
<td>
|
||||
<td nowrap>
|
||||
<?= form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
|
||||
<?= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
<td nowrap><?= getFieldIndex_Row_CategoryHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<td class="<?= in_array($field, ['title', 'name']) ? "title hierarchy" : "" ?>"><?= getFieldIndex_Row_CategoryHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<?php endforeach ?>
|
||||
<td><?= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?></td>
|
||||
</tr>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_OrderHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_OrderHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -21,12 +21,12 @@
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
|
||||
<tr id="<?= $entity->getPrimaryKey() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
|
||||
<td>
|
||||
<td nowarp>
|
||||
<?= form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
|
||||
<?= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
<td nowrap><?= getFieldIndex_Row_OrderHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<td><?= getFieldIndex_Row_OrderHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<?php endforeach ?>
|
||||
<td><?= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?></td>
|
||||
</tr>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_ProductHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_ProductHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -21,12 +21,12 @@
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
|
||||
<tr id="<?= $entity->getPrimaryKey() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
|
||||
<td>
|
||||
<td nowarp>
|
||||
<?= form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
|
||||
<?= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
<td nowrap><?= getFieldIndex_Row_ProductHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<td><?= getFieldIndex_Row_ProductHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<?php endforeach ?>
|
||||
<td><?= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?></td>
|
||||
</tr>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_SitepageHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_SitepageHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -21,12 +21,12 @@
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
|
||||
<tr id="<?= $entity->getPrimaryKey() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
|
||||
<td>
|
||||
<td nowrap>
|
||||
<?= form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
|
||||
<?= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
<td nowrap><?= getFieldIndex_Row_SitepageHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<td><?= getFieldIndex_Row_SitepageHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<?php endforeach ?>
|
||||
<td><?= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?></td>
|
||||
</tr>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_UserHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_UserHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -21,12 +21,12 @@
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
|
||||
<tr id="<?= $entity->getPrimaryKey() ?>" <?= $entity->status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?> onClick="indexRowCheckBoxToggle(this)">
|
||||
<td>
|
||||
<td nowarp>
|
||||
<?= form_checkbox(["id" => "checkbox_uid_{$entity->getPrimaryKey()}", "name" => "batchjob_uids[]", "value" => $entity->getPrimaryKey(), "class" => "batchjobuids_checkboxs"]); ?>
|
||||
<?= anchor(current_url() . '/update/' . $entity->getPrimaryKey(), $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt), ["target" => "_self"]) ?>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
<td nowrap><?= getFieldIndex_Row_UserHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<td><?= getFieldIndex_Row_UserHelper_Admin($field, $entity, $viewDatas) ?></td>
|
||||
<?php endforeach ?>
|
||||
<td><?= anchor(current_url() . '/delete/' . $entity->getPrimaryKey(), ICONS['DELETE'], ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self"]) ?></td>
|
||||
</tr>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_UserSNSHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_UserSNSHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>번호</th>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><th><?= getFieldIndex_Column_BoardHelper($field, $viewDatas) ?></th><?php endforeach ?>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?><?= getFieldIndex_Column_BoardHelper($field, $viewDatas) ?><?php endforeach ?>
|
||||
<th>작업</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -26,7 +26,7 @@
|
||||
<?php endif ?>
|
||||
</td>
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
<td nowrap><?= getFieldIndex_Row_BoardHelper($field, $entity, $viewDatas) ?></td>
|
||||
<td><?= getFieldIndex_Row_BoardHelper($field, $entity, $viewDatas) ?></td>
|
||||
<?php endforeach ?>
|
||||
<td>
|
||||
<!-- 사용자가 쓰기권한이 있는지 확인-->
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entitys'] as $entity) : ?>
|
||||
<table id="block" class="table">
|
||||
<table class="product table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="14%" rowspan="3"><?= $entity->getFileImage('middle') ?></td>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
div#content{
|
||||
color:black;
|
||||
padding-top:20px;
|
||||
margin-bottom:20px;
|
||||
/* border-left:1px solid silver;
|
||||
@ -8,20 +9,6 @@ div#content{
|
||||
border:1px solid red;
|
||||
} */
|
||||
|
||||
/* Form Page 관련 전용*/
|
||||
div#content table.form td.label{
|
||||
width:10%;
|
||||
text-align:right;
|
||||
padding-right:20px;
|
||||
background-color:#e8ebe9;
|
||||
}
|
||||
div#content table.form td.column{
|
||||
height:27px;
|
||||
text-align:left;
|
||||
padding-left:20px;
|
||||
}
|
||||
/* Form Page 관련 전용*/
|
||||
|
||||
/*페이지정보*/
|
||||
div#content div.top nav span.pageinfo{
|
||||
font-weight:bold;
|
||||
@ -49,29 +36,45 @@ div#content div.top nav a{
|
||||
border-radius:0px !important;
|
||||
/* border:1px solid red; */
|
||||
}
|
||||
/* index block 전용 */
|
||||
div#content table#block tr:first-child {
|
||||
border-top:2px solid black;
|
||||
border-bottom:1px solid silver;
|
||||
}
|
||||
div#content table#block tr td{
|
||||
text-align:left;
|
||||
}
|
||||
/* index block 전용 */
|
||||
|
||||
/* Table 부분 */
|
||||
div#content table {
|
||||
white-space: nowrap;
|
||||
width:100%;
|
||||
/* overflow-x: auto;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px; */
|
||||
}
|
||||
|
||||
/* insert,update,reply,view Form Page 관련 전용*/
|
||||
div#content table form td.label{
|
||||
width:10%;
|
||||
text-align:right;
|
||||
padding-right:20px;
|
||||
background-color:#e8ebe9;
|
||||
}
|
||||
div#content table form td.column{
|
||||
height:27px;
|
||||
text-align:left;
|
||||
padding-left:20px;
|
||||
}
|
||||
/* insert,update,reply,view Form Page 관련 전용*/
|
||||
|
||||
/* 상품 리스트 전용 */
|
||||
div#content table.product tr:first-child {
|
||||
border-top:2px solid black;
|
||||
border-bottom:1px solid silver;
|
||||
}
|
||||
div#content table th.title,td.title{
|
||||
width:150px;
|
||||
border:1px solid silver;
|
||||
}
|
||||
div#content table thead th{
|
||||
white-space: nowrap;
|
||||
text-align:center;
|
||||
padding-top:15px;
|
||||
padding-bottom:15px;
|
||||
font-size: 16px;
|
||||
font-weight:bold;
|
||||
border-top:2px solid black;
|
||||
border-bottom:1px solid silver;
|
||||
background-color:#F5F5F5;
|
||||
/* border:1px solid silver; */
|
||||
}
|
||||
@ -79,6 +82,10 @@ div#content table tbody td {
|
||||
/* border:1px solid silver; */
|
||||
text-align:center;
|
||||
}
|
||||
div#content table tbody td.hierarchy {
|
||||
/* border:1px solid silver; */
|
||||
text-align:left;
|
||||
}
|
||||
div#content div.bottom {
|
||||
padding-top:15px;
|
||||
text-align:center;
|
||||
@ -88,11 +95,12 @@ div#content div.bottom ul.pagination {
|
||||
margin-top:20px;
|
||||
}
|
||||
div#content div.bottom ul.pagination li.page-item a{
|
||||
color:black;
|
||||
border:0px;
|
||||
border-radius:0px !important;
|
||||
background-color:#e8ebe9;
|
||||
text-decoration: none;
|
||||
}
|
||||
div#content div.bottom ul.pagination li.active a{
|
||||
color:black;
|
||||
background-color:gray;
|
||||
}
|
||||
@ -1,4 +1,5 @@
|
||||
div#content{
|
||||
color:black;
|
||||
padding-top:40px;
|
||||
padding-left:30px;
|
||||
margin-bottom:20px;
|
||||
@ -9,20 +10,6 @@ div#content{
|
||||
border:1px solid red;
|
||||
} */
|
||||
|
||||
/* Form Page 관련 전용*/
|
||||
div#content table.form td.label{
|
||||
width:10%;
|
||||
text-align:right;
|
||||
padding-right:20px;
|
||||
background-color:#e8ebe9;
|
||||
}
|
||||
div#content table.form td.column{
|
||||
height:27px;
|
||||
text-align:left;
|
||||
padding-left:20px;
|
||||
}
|
||||
/* Form Page 관련 전용*/
|
||||
|
||||
/*페이지정보*/
|
||||
div#content div.top nav span.pageinfo{
|
||||
font-weight:bold;
|
||||
@ -50,34 +37,49 @@ div#content div.top nav a{
|
||||
border-radius:0px !important;
|
||||
/* border:1px solid red; */
|
||||
}
|
||||
/* index block 전용 */
|
||||
div#content table#block tr:first-child {
|
||||
border-top:2px solid black;
|
||||
border-bottom:1px solid silver;
|
||||
}
|
||||
div#content table#block tr td{
|
||||
text-align:left;
|
||||
}
|
||||
/* index block 전용 */
|
||||
|
||||
/* Table 부분 */
|
||||
div#content table {
|
||||
white-space: nowrap;
|
||||
width:100%;
|
||||
/* overflow-x: auto;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px; */
|
||||
}
|
||||
|
||||
/* insert,update,reply,view Form Page 관련 전용*/
|
||||
div#content table form td.label{
|
||||
width:10%;
|
||||
text-align:right;
|
||||
padding-right:20px;
|
||||
background-color:#e8ebe9;
|
||||
}
|
||||
div#content table form td.column{
|
||||
height:27px;
|
||||
text-align:left;
|
||||
padding-left:20px;
|
||||
}
|
||||
/* insert,update,reply,view Form Page 관련 전용*/
|
||||
|
||||
/* 상품 리스트 전용 */
|
||||
div#content table.product tr:first-child {
|
||||
border-top:2px solid black;
|
||||
border-bottom:1px solid silver;
|
||||
}
|
||||
div#content table thead th{
|
||||
white-space: nowrap;
|
||||
text-align:center;
|
||||
padding-top:15px;
|
||||
padding-bottom:15px;
|
||||
font-size: 16px;
|
||||
font-weight:bold;
|
||||
border-top:2px solid black;
|
||||
border-bottom:1px solid silver;
|
||||
background-color:#F5F5F5;
|
||||
/* border:1px solid silver; */
|
||||
}
|
||||
div#content table thead th.title{
|
||||
width:300px;
|
||||
/* border:1px solid silver; */
|
||||
}
|
||||
div#content table thead th a{
|
||||
color:black;
|
||||
/* border:1px solid silver; */
|
||||
}
|
||||
div#content table tbody td {
|
||||
@ -85,8 +87,6 @@ div#content table tbody td {
|
||||
text-align:center;
|
||||
}
|
||||
div#content table tbody td a{
|
||||
color:black;
|
||||
/* text-decoration: none; */
|
||||
/* border:1px solid silver; */
|
||||
}
|
||||
div#content div.bottom {
|
||||
@ -102,7 +102,6 @@ div#content div.bottom ul.pagination li.page-item a{
|
||||
border:0px;
|
||||
border-radius:0px !important;
|
||||
background-color:#e8ebe9;
|
||||
text-decoration: none;
|
||||
}
|
||||
div#content div.bottom ul.pagination li.active a{
|
||||
color:black;
|
||||
|
||||
@ -38,6 +38,4 @@ select,textarea,button {
|
||||
a:link { text-decoration: none; }
|
||||
a:visited { text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
a:active { text-decoration: underline; }
|
||||
|
||||
div.location-left { text-align:left; }
|
||||
a:active { text-decoration: underline; }
|
||||
Loading…
Reference in New Issue
Block a user