SPA(싱글 페이지 어플리케이션)에서 사용되지 않는 레이아웃 태그, 중복 태그 삭제

main
이범준 1 year ago
parent 147cc29da9
commit 16af310dc7

@ -1,16 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<jsp:include page="/WEB-INF/jsp/include/head.jsp" />
<body>
<!-- Layout wrapper -->
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<jsp:include page="/WEB-INF/jsp/include/userMenus.jsp" />
<!-- Layout container -->
<!-- Layout page -->
<div class="layout-page">
<jsp:include page="/WEB-INF/jsp/include/top.jsp" />
<!-- Content wrapper --> <!-- Content wrapper -->
<div class="content-wrapper"> <div class="content-wrapper">
@ -124,18 +115,11 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- Content wrapper -->
</div>
<!-- / Layout page -->
</div>
</div>
<!-- / Layout wrapper -->
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
<script src="<c:url value="/resources/js/base/actionGroup.js"/>" type="text/javascript"></script> <script src="<c:url value="/resources/js/base/actionGroup.js"/>" type="text/javascript"></script>
<script> <script>
${functions}
${userMenus}
let ${infoPrefix}Control = new ActionGroupControl(); let ${infoPrefix}Control = new ActionGroupControl();
function search${infoPrefix}s() { function search${infoPrefix}s() {
@ -259,6 +243,3 @@ $(function(){
}); });
}); });
</script> </script>
</body>
</html>

@ -1,16 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<jsp:include page="/WEB-INF/jsp/include/head.jsp" />
<body>
<!-- Layout wrapper -->
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<jsp:include page="/WEB-INF/jsp/include/userMenus.jsp" />
<!-- Layout container -->
<!-- Layout page -->
<div class="layout-page">
<jsp:include page="/WEB-INF/jsp/include/top.jsp" />
<!-- Content wrapper --> <!-- Content wrapper -->
<div class="content-wrapper"> <div class="content-wrapper">
@ -108,20 +98,13 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- Content wrapper -->
</div>
<!-- / Layout page -->
</div>
</div>
<!-- / Layout wrapper -->
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
<script src="<c:url value="/resources/js/base/user.js?${ver}"/>"></script> <script src="<c:url value="/resources/js/base/user.js?${ver}"/>"></script>
<script src="<c:url value="/resources/js/base/actionGroup.js?${ver}"/>"></script> <script src="<c:url value="/resources/js/base/actionGroup.js?${ver}"/>"></script>
<script src="<c:url value="/resources/js/base/authority.js?${ver}"/>"></script> <script src="<c:url value="/resources/js/base/authority.js?${ver}"/>"></script>
<script> <script>
${functions}
${userMenus}
let ${infoPrefix}Control = new AuthorityControl(); let ${infoPrefix}Control = new AuthorityControl();
function search${infoPrefix}s() { function search${infoPrefix}s() {
@ -202,6 +185,3 @@ $(function(){
}); });
}); });
</script> </script>
</body>
</html>

@ -1,16 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<jsp:include page="/WEB-INF/jsp/include/head.jsp" />
<body>
<!-- Layout wrapper -->
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<jsp:include page="/WEB-INF/jsp/include/userMenus.jsp" />
<!-- Layout container -->
<!-- Layout page -->
<div class="layout-page">
<jsp:include page="/WEB-INF/jsp/include/top.jsp" />
<!-- Content wrapper --> <!-- Content wrapper -->
<div class="content-wrapper"> <div class="content-wrapper">
@ -126,18 +116,11 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- Content wrapper -->
</div>
<!-- / Layout page -->
</div>
</div>
<!-- / Layout wrapper -->
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
<script src="<c:url value="/resources/js/base/code.js"/>?${ver}"></script> <script src="<c:url value="/resources/js/base/code.js"/>?${ver}"></script>
<script> <script>
${functions}
${userMenus}
let codeControl = new CodeControl(); let codeControl = new CodeControl();
function searchGroups() { function searchGroups() {
@ -264,6 +247,3 @@ $(function(){
}); });
}); });
</script> </script>
</body>
</html>

@ -1,19 +1,8 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<jsp:include page="/WEB-INF/jsp/include/head.jsp" /> <!-- inner page css -->
<link rel="stylesheet" href="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.css"/>" /--%> <link rel="stylesheet" href="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.css"/>" />
<body> <!-- inner page html -->
<!-- Layout wrapper -->
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<jsp:include page="/WEB-INF/jsp/include/userMenus.jsp" />
<!-- Layout container -->
<!-- Layout page -->
<div class="layout-page">
<jsp:include page="/WEB-INF/jsp/include/top.jsp" />
<!-- Content wrapper -->
<div class="content-wrapper"> <div class="content-wrapper">
<!-- Content --> <!-- Content -->
@ -26,6 +15,7 @@
<div id="DataTables_Table_0_wrapper" class="dataTables_wrapper dt-bootstrap5 no-footer"> <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div class="d-flex flex-row justify-content-evenly"> <div class="d-flex flex-row justify-content-evenly">
<div style="width:49%;"> <div style="width:49%;">
<h5 class="mt-3">레이아웃</h5> <h5 class="mt-3">레이아웃</h5>
<div id="menu-tree" class="main-left d-flex flex-column flex-grow-1"> <div id="menu-tree" class="main-left d-flex flex-column flex-grow-1">
@ -38,6 +28,7 @@
</div> </div>
</div> </div>
</div> </div>
<div style="width:49%;"> <div style="width:49%;">
<h5 class="mt-3">등록 정보</h5> <h5 class="mt-3">등록 정보</h5>
<div class="d-flex flex-row justify-content-end p-3"> <div class="d-flex flex-row justify-content-end p-3">
@ -51,7 +42,7 @@
</div> </div>
</div> </div>
</div> </div>
<!--/ Page Body --> <!-- Page Body -->
<hr class="my-5" /> <hr class="my-5" />
</div> </div>
@ -61,20 +52,11 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- inner page js -->
</div>
<!-- / Layout page -->
</div>
</div>
<!-- / Layout wrapper -->
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
<script src="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.js"/>"></script> <script src="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.js"/>"></script>
<script src="<c:url value="/resources/3rd-party/jstree/jstree-support.js"/>"></script> <script src="<c:url value="/resources/3rd-party/jstree/jstree-support.js"/>"></script>
<script src="<c:url value="/resources/js/base/menu.js"/>?${ver}"></script> <script src="<c:url value="/resources/js/base/menu.js"/>?${ver}"></script>
<script> <script>
${functions}
${userMenus}
var menuBranches = treeSupport({ var menuBranches = treeSupport({
selector:"#menuTree", selector:"#menuTree",
trace:wctx.trace, trace:wctx.trace,
@ -173,6 +155,3 @@ $(function(){
menuBranches.open(); menuBranches.open();
}); });
</script> </script>
</body>
</html>

@ -1,16 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<jsp:include page="/WEB-INF/jsp/include/head.jsp" />
<body>
<!-- Layout wrapper -->
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<jsp:include page="/WEB-INF/jsp/include/userMenus.jsp" />
<!-- Layout container -->
<!-- Layout page -->
<div class="layout-page">
<jsp:include page="/WEB-INF/jsp/include/top.jsp" />
<!-- Content wrapper --> <!-- Content wrapper -->
<div class="content-wrapper"> <div class="content-wrapper">
@ -89,18 +80,10 @@
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- Content wrapper -->
</div>
<!-- / Layout page -->
</div>
</div>
<!-- / Layout wrapper -->
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
<script src="<c:url value="/resources/js/base/user.js?${ver}"/>"></script> <script src="<c:url value="/resources/js/base/user.js?${ver}"/>"></script>
<script> <script>
${functions}
${userMenus}
let ${infoPrefix}Control = new UserControl(); let ${infoPrefix}Control = new UserControl();
function search${infoPrefix}s() { function search${infoPrefix}s() {
@ -174,6 +157,3 @@ $(function(){
}); });
}); });
</script> </script>
</body>
</html>
Loading…
Cancel
Save