diff --git a/app/Helpers/Cloudflare/Auth_helper.php b/app/Helpers/Cloudflare/Auth_helper.php
index 448c420..f80874b 100644
--- a/app/Helpers/Cloudflare/Auth_helper.php
+++ b/app/Helpers/Cloudflare/Auth_helper.php
@@ -63,7 +63,7 @@ function getFieldView_AuthHelper(string $field, array $viewDatas, array $extras
]
) . " " .
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"],
[
"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";
$viewDatas['uri']->addQuery('order_field', $field);
$viewDatas['uri']->addQuery('order_value', $order_value);
- $label = anchor((string)$viewDatas['uri'], $label);
+ $label = anchor((string) $viewDatas['uri'], $label);
}
return sprintf("
%s | ", implode(" ", $extras), $label);
}
@@ -117,7 +117,7 @@ function getListButton_AuthHelper(string $action, array $viewDatas, array $extra
case 'create':
$viewDatas['list_action_url'] = current_url() . '/' . $action;
$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;
case 'modify':
$pk = $viewDatas['entity']->getPK();
diff --git a/app/Helpers/Cloudflare/Record_helper.php b/app/Helpers/Cloudflare/Record_helper.php
index 1f1f5e5..3dc194f 100644
--- a/app/Helpers/Cloudflare/Record_helper.php
+++ b/app/Helpers/Cloudflare/Record_helper.php
@@ -42,7 +42,7 @@ function getFieldForm_RecordHelper(string $field, mixed $value, array $viewDatas
$form = form_input($field, $value, [
"placeholder" => "예)www.example.com",
"style" =>
- "width:200px; ::placeholder{color:silver; opacity: 1;}",
+ "width:200px; ::placeholder{color:silver; opacity: 1;}",
"class" => "form-control",
(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, [
"placeholder" => "예)123.123.123.123",
"style" =>
- "width:200px; ::placeholder{color:silver; opacity: 1;}",
+ "width:200px; ::placeholder{color:silver; opacity: 1;}",
"class" => "form-control",
(strpos($viewDatas['field_rules'][$field], 'required') !== false) ? "required" : ""
]);
@@ -109,17 +109,10 @@ function getFieldView_RecordHelper(string $field, array $viewDatas, array $extra
}
break;
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' ? "" . ICONS['LOCK'] . "" : "", $value);
$value = anchor($url, $value, ["target" => "_self"]);
break;
- case 'content':
- $value = sprintf(
- "%s",
- $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)) : "";
@@ -148,7 +141,7 @@ function getListLabel_RecordHelper(string $field, array $viewDatas, array $extra
$order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC";
$viewDatas['uri']->addQuery('order_field', $field);
$viewDatas['uri']->addQuery('order_value', $order_value);
- $label = anchor((string)$viewDatas['uri'], $label);
+ $label = anchor((string) $viewDatas['uri'], $label);
}
switch ($field) {
case RecordModel::PARENT:
@@ -166,7 +159,7 @@ function getListButton_RecordHelper(string $action, array $viewDatas, array $ext
case 'create':
$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];
- $action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras);
+ $action = getListButtonLabel_CommonHelper($action, '입력', $viewDatas, $extras);
break;
case 'sync':
$checkbox = "";
diff --git a/app/Helpers/User_helper.php b/app/Helpers/User_helper.php
index 816abba..2193f1a 100644
--- a/app/Helpers/User_helper.php
+++ b/app/Helpers/User_helper.php
@@ -31,7 +31,7 @@ function getFieldForm_UserHelper(string $field, mixed $value, array $viewDatas,
$forms = [];
foreach ($viewDatas['field_options'][$field] as $key => $label) {
$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);
} else {
@@ -134,7 +134,7 @@ function getListLabel_UserHelper(string $field, array $viewDatas, array $extras
$order_value = $viewDatas['order_value'] == 'DESC' ? "ASC" : "DESC";
$viewDatas['uri']->addQuery('order_field', $field);
$viewDatas['uri']->addQuery('order_value', $order_value);
- $label = anchor((string)$viewDatas['uri'], $label);
+ $label = anchor((string) $viewDatas['uri'], $label);
}
switch ($field) {
case UserModel::TITLE:
@@ -148,7 +148,7 @@ function getListButton_UserHelper(string $action, array $viewDatas, array $extra
case 'create':
$viewDatas['list_action_url'] = current_url() . '/' . $action;
$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;
case 'modify':
$pk = $viewDatas['entity']->getPK();
diff --git a/app/Views/admin/cloudflare/account/index.php b/app/Views/admin/cloudflare/account/index.php
index b952be3..efe4614 100644
--- a/app/Views/admin/cloudflare/account/index.php
+++ b/app/Views/admin/cloudflare/account/index.php
@@ -7,11 +7,11 @@
- | 번호 |
+ 번호 |
= getListLabel_AccountHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
- 작업 |
+ 작업 |
@@ -22,13 +22,13 @@
-
+ |
= getListButton_AccountHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
= getFieldView_AccountHelper($field, $viewDatas) ?> |
-
+ |
= getListButton_AccountHelper('delete', $viewDatas) ?>
|
diff --git a/app/Views/admin/cloudflare/auth/index.php b/app/Views/admin/cloudflare/auth/index.php
index ca4b86d..731117f 100644
--- a/app/Views/admin/cloudflare/auth/index.php
+++ b/app/Views/admin/cloudflare/auth/index.php
@@ -7,11 +7,11 @@
- | 번호 |
+ 번호 |
= getListLabel_AuthHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
- 작업 |
+ 작업 |
@@ -20,13 +20,13 @@
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
- |
+ |
= getListButton_AuthHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
= getFieldView_AuthHelper($field, $viewDatas) ?> |
-
+ |
= getListButton_AuthHelper('delete', $viewDatas) ?>
|
diff --git a/app/Views/admin/cloudflare/record/index.php b/app/Views/admin/cloudflare/record/index.php
index 9b59964..cb0650c 100644
--- a/app/Views/admin/cloudflare/record/index.php
+++ b/app/Views/admin/cloudflare/record/index.php
@@ -7,11 +7,11 @@
- | 번호 |
+ 번호 |
= getListLabel_RecordHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
- 작업 |
+ 작업 |
@@ -22,13 +22,13 @@
-
+ |
= getListButton_RecordHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
= getFieldView_RecordHelper($field, $viewDatas) ?> |
-
+ |
= getListButton_RecordHelper('delete', $viewDatas) ?>
|
diff --git a/app/Views/admin/cloudflare/zone/index.php b/app/Views/admin/cloudflare/zone/index.php
index 3d06165..3309c5f 100644
--- a/app/Views/admin/cloudflare/zone/index.php
+++ b/app/Views/admin/cloudflare/zone/index.php
@@ -7,11 +7,11 @@
- | 번호 |
+ 번호 |
= getListLabel_ZoneHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
- 작업 |
+ 작업 |
@@ -22,13 +22,13 @@
-
+ |
= getListButton_ZoneHelper('sync', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
= getFieldView_ZoneHelper($field, $viewDatas) ?> |
-
+ |
= getListButton_ZoneHelper('delete', $viewDatas) ?>
|
diff --git a/app/Views/admin/mapurl/index.php b/app/Views/admin/mapurl/index.php
index ed23256..f63fed3 100644
--- a/app/Views/admin/mapurl/index.php
+++ b/app/Views/admin/mapurl/index.php
@@ -7,11 +7,11 @@
- | 번호 |
+ 번호 |
= getListLabel_MapurlHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
- 작업 |
+ 작업 |
@@ -20,13 +20,13 @@
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
- |
+ |
= getListButton_MapurlHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
= getFieldView_MapurlHelper($field, $viewDatas) ?> |
-
+ |
= getListButton_MapurlHelper('delete', $viewDatas) ?>
|
diff --git a/app/Views/admin/user/index.php b/app/Views/admin/user/index.php
index 6407fbb..816bf74 100644
--- a/app/Views/admin/user/index.php
+++ b/app/Views/admin/user/index.php
@@ -7,11 +7,11 @@
- | 번호 |
+ 번호 |
= getListLabel_UserHelper($field, $viewDatas, ["data-rtc-resizable=\"{$field}\""]) ?>
- 작업 |
+ 작업 |
@@ -20,13 +20,13 @@
status != DEFAULTS['STATUS'] ? 'class="table-danger" rowcolor="red"' : 'rowcolor="red"' ?>>
- |
+ |
= getListButton_UserHelper('modify', $viewDatas, ["style" => "cursor:pointer"]) ?>
|
= getFieldView_UserHelper($field, $viewDatas) ?> |
-
+ |
= getListButton_UserHelper('delete', $viewDatas) ?>
|
diff --git a/public/css/admin/content.css b/public/css/admin/content.css
index 27d7ad9..29d525f 100644
--- a/public/css/admin/content.css
+++ b/public/css/admin/content.css
@@ -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;
}
diff --git a/public/css/main/content.css b/public/css/main/content.css
index a130916..f8619b2 100644
--- a/public/css/main/content.css
+++ b/public/css/main/content.css
@@ -1,96 +1,110 @@
-div#content{
- color:black;
- padding-top:20px;
- padding-left:30px;
- margin-bottom:40px;
+div#content {
+ color: black;
+ padding-top: 20px;
+ padding-left: 30px;
+ margin-bottom: 40px;
/* border-left:1px solid silver;
border-right:1px solid silver; */
}
+
/* div#content div.top{
border:1px solid red;
} */
/*페이지정보*/
-div#content div.top nav span.pageinfo{
- font-weight:bold;
+div#content div.top nav span.pageinfo {
+ font-weight: bold;
}
+
/*검색*/
-div#content div.top nav input[type=text]{
- width:200px;
- height:40px;
- border-radius:0px !important;
+div#content div.top nav input[type=text] {
+ width: 200px;
+ height: 40px;
+ border-radius: 0px !important;
/* border:1px solid red; */
}
+
/*검색submit*/
-div#content div.top nav input[type=submit]{
+div#content div.top nav input[type=submit] {
font-size: 1.5rem;
- font-weight:bold;
- width:80px;
- height:40px;
- color:white;
- border-radius:0px !important;
- background-color:#555555;
+ font-weight: bold;
+ width: 80px;
+ height: 40px;
+ color: white;
+ border-radius: 0px !important;
+ background-color: #555555;
/* border:1px solid red; */
}
+
/*Excel Icon*/
-div#content div.top nav a{
- border-radius:0px !important;
+div#content div.top nav a {
+ border-radius: 0px !important;
/* border:1px solid red; */
}
/* Table 부분 */
div#content table {
- width:100%;
+ width: 100%;
/* overflow-x: auto;
padding-top:5px;
padding-bottom:5px; */
}
/* insert,update,reply,view Form Page 관련 전용*/
-div#content table.form tbody tr td.label{
- width:10%;
- text-align:right;
- padding-right:20px;
- background-color:#e8ebe9;
+div#content table.form tbody tr td.label {
+ width: 10%;
+ text-align: right;
+ padding-right: 20px;
+ background-color: #e8ebe9;
}
-div#content table.form tbody tr td.column{
- height:27px;
- text-align:left;
- padding-left:20px;
+
+div#content table.form tbody tr 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;
+ border-top: 2px solid black;
+ border-bottom: 1px solid silver;
}
+
/* 상품 리스트 전용 */
-div#content table thead th{
+div#content table thead th {
white-space: nowrap;
- padding-top:15px;
- padding-bottom:15px;
+ padding-top: 15px;
+ padding-bottom: 15px;
font-size: 1.5rem;
- font-weight:bold;
- border-top:2px solid black;
- border-bottom:1px solid silver;
- background-color:#F5F5F5;
+ 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.index_head_short_column {
+ width: 80px;
+}
+
div#content div.bottom {
- padding-top:15px;
- text-align:center;
+ padding-top: 15px;
+ text-align: center;
}
+
div#content div.bottom ul.pagination {
- margin-top:20px;
+ 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.page-item a {
+ border: 0px;
+ 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;
}
\ No newline at end of file