From aa53a88e9e2abe5062e9db824af8864bc3924416 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 13 Jun 2023 13:50:16 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B5=9C=EC=83=81=EC=9C=84=20=EB=A0=88?= =?UTF-8?q?=EC=9D=B4=EC=95=84=EC=9B=83=20=ED=8C=8C=EC=9D=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/include/bottom.jsp | 3 +- src/main/webapp/WEB-INF/jsp/include/head.jsp | 81 +-- src/main/webapp/WEB-INF/jsp/include/tail.jsp | 1 + src/main/webapp/WEB-INF/jsp/include/top.jsp | 597 ++++-------------- .../webapp/WEB-INF/jsp/include/userMenus.jsp | 106 +--- 5 files changed, 193 insertions(+), 595 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/include/bottom.jsp b/src/main/webapp/WEB-INF/jsp/include/bottom.jsp index 3e0b15af..50c282e9 100644 --- a/src/main/webapp/WEB-INF/jsp/include/bottom.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/bottom.jsp @@ -5,8 +5,9 @@
© + , made with XIT Base by (주)엑스아이티 diff --git a/src/main/webapp/WEB-INF/jsp/include/head.jsp b/src/main/webapp/WEB-INF/jsp/include/head.jsp index e2049523..548741ab 100644 --- a/src/main/webapp/WEB-INF/jsp/include/head.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/head.jsp @@ -1,43 +1,48 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> " - data-template="vertical-menu-template-starter"> - + lang="kr" + class="light-style layout-navbar-fixed layout-menu-fixed " + dir="ltr" + data-theme="theme-default" + data-assets-path="" + data-template="vertical-menu-template-starter"> - - XIT Base Example - - - " /> - - - - - - - - " /> - " /> - " /> - - " class="template-customizer-core-css" /> - " class="template-customizer-theme-css" /> - <%--link rel="stylesheet" href=" - - " /> - <%--link rel="stylesheet" href="" /> - " /> - " /> - " /--%> - - - - " /> + + 과태료통합관리시스템 + + + " /> + + + + + + + + " /> + " /> + " /> + " /> + + " /> + " /> + " /> + " /> + + + " /> + " /> + + "/> + " /> + " /> + " /> + " /> + " /> + + + + - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/include/tail.jsp b/src/main/webapp/WEB-INF/jsp/include/tail.jsp index 43853dde..7049135c 100644 --- a/src/main/webapp/WEB-INF/jsp/include/tail.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/tail.jsp @@ -25,6 +25,7 @@ + wctx.path = "${pageContext.request.contextPath}"; diff --git a/src/main/webapp/WEB-INF/jsp/include/top.jsp b/src/main/webapp/WEB-INF/jsp/include/top.jsp index aea23b78..c95268b7 100644 --- a/src/main/webapp/WEB-INF/jsp/include/top.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/top.jsp @@ -1,483 +1,138 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - + + - + ${functions} function setPageTitle(pageTitle) { $("#pageTitle").html(pageTitle); diff --git a/src/main/webapp/WEB-INF/jsp/include/userMenus.jsp b/src/main/webapp/WEB-INF/jsp/include/userMenus.jsp index e37affa2..1fb8cc23 100644 --- a/src/main/webapp/WEB-INF/jsp/include/userMenus.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/userMenus.jsp @@ -1,92 +1,28 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> - - - + + + let userMenus = ${userMenus}; -<%--if (menus.length < 1) - menus = [ - {"id":0, "name": "사용자", "url":"/user/main.do", "parentID":null, "description":"사용자 관리", "imagePath":null, "displayWindow":"_self"}, - {"id":1, "name": "권한", "url":null, "parentID":null, "description":"권한 관리", "imagePath":null, "displayWindow":"_self", - "children":[ - {"id":2, "name": "권한 설정", "url":"/authority/list.do", "parentID":1, "description":"권한 관리", "imagePath":null, "displayWindow":"_self"}, - {"id":3, "name": "액션 설정", "url":"/authority/action/list.do", "parentID":1, "description":"액션 관리", "imagePath":null, "displayWindow":"_self"}, - ] - }, - {"id":4, "name": "메뉴", "url":"/menu/list.do", "parentID":null, "description":"메뉴 관리", "imagePath":null, "displayWindow":"_self"} - ];--%> + function setUserMenus(menus) { - let menuSupport = new MenuSupport("#layout-menu").setMenuInfo(menus).setActive(wctx.current()); + let menuSupport = new FimsMenuSupport("#layout-menu").setMenuInfo(menus).setActive(wctx.current()); let currentMenu = menuSupport.getMenu(wctx.current()); if (currentMenu) setPageTitle(currentMenu.name);