From 3d63f2e5388dbd9a1084798e2d6d95ae5a349512 Mon Sep 17 00:00:00 2001 From: jangwonseokicom Date: Thu, 8 Jun 2023 16:31:48 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EB=89=B4=20lnb=20jsp=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/lib/assets/js/scripts.js | 1 + .../templates/layout/fragments/footer.html | 21 +++-- .../templates/layout/fragments/sidebar.html | 85 +++++++++---------- .../resources/templates/layout/layout.html | 4 +- 4 files changed, 54 insertions(+), 57 deletions(-) diff --git a/main_vm/src/main/resources/static/lib/assets/js/scripts.js b/main_vm/src/main/resources/static/lib/assets/js/scripts.js index 08b0c9a..590ba95 100644 --- a/main_vm/src/main/resources/static/lib/assets/js/scripts.js +++ b/main_vm/src/main/resources/static/lib/assets/js/scripts.js @@ -155,6 +155,7 @@ function lnbEvt(){ $('.lnb > li > ul > li > ul').parent().addClass('has_children'); } $('.lnb > li.has_children > a').attr('href', '#'); + $('.lnb > li > a').on('click', function(e){ e.preventDefault(); diff --git a/main_vm/src/main/resources/templates/layout/fragments/footer.html b/main_vm/src/main/resources/templates/layout/fragments/footer.html index 3bcad3b..5468b6f 100644 --- a/main_vm/src/main/resources/templates/layout/fragments/footer.html +++ b/main_vm/src/main/resources/templates/layout/fragments/footer.html @@ -3,17 +3,16 @@ - + + \ No newline at end of file diff --git a/main_vm/src/main/resources/templates/layout/fragments/sidebar.html b/main_vm/src/main/resources/templates/layout/fragments/sidebar.html index da1de94..6ec7810 100644 --- a/main_vm/src/main/resources/templates/layout/fragments/sidebar.html +++ b/main_vm/src/main/resources/templates/layout/fragments/sidebar.html @@ -1,14 +1,35 @@ + + + - - - + - \ No newline at end of file + + diff --git a/main_vm/src/main/resources/templates/layout/layout.html b/main_vm/src/main/resources/templates/layout/layout.html index 169594f..ba17005 100644 --- a/main_vm/src/main/resources/templates/layout/layout.html +++ b/main_vm/src/main/resources/templates/layout/layout.html @@ -3,6 +3,6 @@ - - + + \ No newline at end of file