From fc4e3d66687f8b136d74feae758799d0bf5fe029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Thu, 17 Oct 2024 09:39:43 +0900 Subject: [PATCH] cfmgrv4 init...3 --- app/Controllers/MVController.php | 2 +- app/Views/{templates => }/Pagers/bootstrap_full.php | 0 app/Views/{templates => }/Pagers/bootstrap_simple.php | 0 public/css/admin/index.css | 5 +++-- 4 files changed, 4 insertions(+), 3 deletions(-) rename app/Views/{templates => }/Pagers/bootstrap_full.php (100%) rename app/Views/{templates => }/Pagers/bootstrap_simple.php (100%) diff --git a/app/Controllers/MVController.php b/app/Controllers/MVController.php index a099052..8eeb4d2 100644 --- a/app/Controllers/MVController.php +++ b/app/Controllers/MVController.php @@ -359,7 +359,7 @@ abstract class MVController extends CommonController return $total_count; } //PageNation 처리 - private function list_pagination_process($pager_group = 'default', int $segment = 0, $template = 'default_full'): string + private function list_pagination_process($pager_group = 'default', int $segment = 0, $template = 'bootstrap_full'): string { //Page, Per_page필요부분 $this->page = (int) $this->request->getVar('page') ?: 1; diff --git a/app/Views/templates/Pagers/bootstrap_full.php b/app/Views/Pagers/bootstrap_full.php similarity index 100% rename from app/Views/templates/Pagers/bootstrap_full.php rename to app/Views/Pagers/bootstrap_full.php diff --git a/app/Views/templates/Pagers/bootstrap_simple.php b/app/Views/Pagers/bootstrap_simple.php similarity index 100% rename from app/Views/templates/Pagers/bootstrap_simple.php rename to app/Views/Pagers/bootstrap_simple.php diff --git a/public/css/admin/index.css b/public/css/admin/index.css index dffd10a..0afcf87 100644 --- a/public/css/admin/index.css +++ b/public/css/admin/index.css @@ -120,7 +120,8 @@ div.index_pagination ul.pagination { /* 기본 점 스타일 제거 (옵션) */ } -div.index_pagination ul.pagination li { +/* pager의 template가 default_full일경우 사용 */ +/* div.index_pagination ul.pagination li { margin-left: 5px; } @@ -138,7 +139,7 @@ div.index_pagination ul.pagination li a:hover { div.index_pagination ul.pagination li.active a { color: black; border: 1px solid #808080; -} +} */ div.index_bottom { padding-top: 15px;