[FO] HTML 레이아웃 적용
This commit is contained in:
@@ -10,52 +10,50 @@
|
||||
██ ██ ██ ███████ ██ ██ ██████ ██
|
||||
-->
|
||||
<head th:fragment="head">
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||
<meta name="_csrf" th:content="${_csrf.token}"/>
|
||||
<meta name="_csrf_header" th:content="${_csrf.headerName}"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
||||
<!-- <meta name="format-detection" content="telephone=no" /> -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<meta charset="utf-8" />
|
||||
<title th:text="${currentURI.ogTitle}">KRI 임가경제조사</title>
|
||||
<meta name="description" th:content="${currentURI.ogDesc}"/>
|
||||
<meta name="keywords" th:content="${currentURI.ogKeywords}"/>
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:site_name" content="" />
|
||||
<meta property="og:title" th:content="${currentURI.ogTitle}"/>
|
||||
<meta property="og:description" th:content="${currentURI.ogDesc}"/>
|
||||
<meta property="og:keywords" th:content="${currentURI.ogKeywords}"/>
|
||||
<meta property="og:image" th:content="${currentURI.ogImage}"/>
|
||||
<meta name="_csrf" th:content="${_csrf.token}"/>
|
||||
<meta name="_csrf_header" th:content="${_csrf.headerName}"/>
|
||||
|
||||
<title th:text="${currentURI.ogTitle}"></title>
|
||||
<meta name="title" th:content="${currentURI.ogTitle}"/>
|
||||
<meta name="description" th:content="${currentURI.ogDesc}"/>
|
||||
<meta name="keywords" th:content="${currentURI.ogKeywords}"/>
|
||||
<meta property="og:title" th:content="${currentURI.ogTitle}"/>
|
||||
<meta property="og:description" th:content="${currentURI.ogDesc}"/>
|
||||
<meta property="og:keywords" th:content="${currentURI.ogKeywords}"/>
|
||||
<meta property="og:image" th:content="${currentURI.ogImage}"/>
|
||||
<link rel="icon" type="image/x-icon" href="pathImages/" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="pathImages/" />
|
||||
<link th:href="@{/static/assets/styles/style.css}" type="text/css" rel="stylesheet" />
|
||||
<script th:src="@{/static/assets/scripts/common.ui.plugin.js}"></script>
|
||||
<script th:src="@{/static/assets/scripts/common.ui.js}"></script>
|
||||
<script th:src="@{/static/assets/scripts/common.js}"></script>
|
||||
|
||||
<script th:src="@{/static/library/jquery/jquery-3.7.1.min.js}"></script>
|
||||
<script th:src="@{/static/library/jsUri/Uri.js}"></script>
|
||||
<script th:src="@{/static/library/jsRender/jsrender.min.js}"></script>
|
||||
<script th:src="@{/static/ui/uiUtil.js}"></script>
|
||||
<script th:src="@{/static/ui/ajaxUtil.js}"></script>
|
||||
<script th:src="@{/static/ui/commonUtil.js}"></script>
|
||||
<script th:src="@{/static/library/jquery/jquery-serializeObject.min.js}"></script>
|
||||
<script th:src="@{/static/library/jquery/jquery-3.7.1.min.js}"></script>
|
||||
<script th:src="@{/static/library/jsUri/Uri.js}"></script>
|
||||
<script th:src="@{/static/library/jsRender/jsrender.min.js}"></script>
|
||||
<script th:src="@{/static/ui/uiUtil.js}"></script>
|
||||
<script th:src="@{/static/ui/ajaxUtil.js}"></script>
|
||||
<script th:src="@{/static/ui/commonUtil.js}"></script>
|
||||
<script th:src="@{/static/library/jquery/jquery-serializeObject.min.js}"></script>
|
||||
|
||||
<link rel="stylesheet" th:href="@{/static/library/flatpickr/flatpickr.min.css}">
|
||||
<link rel="stylesheet" th:href="@{/static/library/flatpickr/flatpickr.dark.css}">
|
||||
<script th:src="@{/static/library/flatpickr/flatpickr.min.js}"></script>
|
||||
<script th:each="flashMsg : ${session.flashAlertMessages}" th:if="${session.flashAlertMessages != null}"
|
||||
th:inline="javascript">
|
||||
$(function () {
|
||||
const flashAlertMessage = [[${flashMsg}]];
|
||||
if (flashAlertMessage) {
|
||||
alert(flashAlertMessage);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script th:each="flashMsg : ${session.flashAlertMessages}" th:if="${session.flashAlertMessages != null}"
|
||||
th:inline="javascript">
|
||||
$(function () {
|
||||
const flashAlertMessage = [[${flashMsg}]];
|
||||
if (flashAlertMessage) {
|
||||
alert(flashAlertMessage);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script th:if="${session.flashAlertMessages != null}" th:inline="javascript">
|
||||
[[${#session.removeAttribute('flashAlertMessages')}]]
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<script th:if="${session.flashAlertMessages != null}" th:inline="javascript">
|
||||
[[${#session.removeAttribute('flashAlertMessages')}]]
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -67,74 +65,55 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██ ██ ████ ██ ██ ████ ██ ██ ██ ███████ ██ ██ ██████ ███████ ██ ██
|
||||
-->
|
||||
<nav th:fragment="header">
|
||||
<section style="background:#eee; border-radius: 1px;">
|
||||
<h2>Header 영역</h2>
|
||||
|
||||
<p>
|
||||
<strong>Current Locale</strong> :
|
||||
<select name="localeSelect" onchange="localeChange(this);">
|
||||
<option>언어 설정</option>
|
||||
<option th:selected="${#locale.toString() == 'ko_KR'}" value="ko_KR">ko_KR</option>
|
||||
<option th:selected="${#locale.toString() == 'en_US'}" value="en_US">en_US</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Current Device</strong> : [[${currentDevice}]]
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Current URI</strong> : [[${currentURI.id}]]
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<strong>Current Login User</strong> :
|
||||
<p sec:authorize="isAnonymous()" th:remove="tag">
|
||||
<a href="/login">[로그인]</a>
|
||||
</p>
|
||||
<p sec:authorize="isAuthenticated()" th:remove="tag">
|
||||
<strong th:text="${#authentication.principal.ownerName}">로그인 사용자명</strong>
|
||||
, seq=<strong th:text="${#authentication.principal.householdSeq}">로그인 사용자SEQ</strong>
|
||||
<a href="/logout">[로그아웃]</a>
|
||||
<a href="/user/info">[정보수정]</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<script th:inline="javascript">
|
||||
function localeChange(oj) {
|
||||
if (!oj.value) {
|
||||
return;
|
||||
}
|
||||
|
||||
location.href = new Uri(location.href).replaceQueryParam('lang', oj.value);
|
||||
}
|
||||
</script>
|
||||
<ul th:if="${topNode != null}">
|
||||
<li>
|
||||
<a th:classappend="${topNode.uri eq currentURI.uri} ? 'active'"
|
||||
th:href="${topNode.uri}">[[${#messages.msg(topNode.id)}]]</a>
|
||||
</li>
|
||||
<li th:each="menu : ${topNode.children}" th:if="${menu.showOnNavi}">
|
||||
<!-- 자식 nodes 가 없는 경우 -->
|
||||
<a th:classappend="${currentURI.id == menu.id}? 'active'"
|
||||
th:href="${menu.uri}" th:if="${#lists.size(menu.children) == 0}"
|
||||
th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
<!-- 자식 nodes 가 있는 경우 -->
|
||||
<a th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, menu.id)}? 'active'"
|
||||
th:href="${menu.uri}"
|
||||
th:if="${#lists.size(menu.children) > 0}" th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
<ul th:if="${#lists.size(menu.children) > 0}">
|
||||
<li th:each="child : ${menu.children}" th:if="${child.showOnNavi}">
|
||||
<a class="dropdown-item"
|
||||
th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, child.id)}? 'active'"
|
||||
th:href="${child.uri}" th:text="${#messages.msg(child.id)}">메뉴명</a>
|
||||
</li>
|
||||
<th:block th:fragment="header">
|
||||
<header id="header" class="header"><!-- 스크롤 시 class='scroll' 추가 -->
|
||||
<ul class="skipnav">
|
||||
<li>
|
||||
<a href="#content">컨텐츠 바로가기</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</nav>
|
||||
<div class="header-wrap"><!-- sub페이지에 class='sub' 추가 -->
|
||||
<h1>
|
||||
<a href="javascript:void(0);" onclick="kri.menu.main();" class="logo"><img th:src="@{/static/assets/images/common/logo_kri.svg}" alt="KRI 로고"> <span>[[${#messages.msg(currentURI.id)}]]</span></a>
|
||||
</h1>
|
||||
<!--/* TODO 전체메뉴 S */-->
|
||||
<p>
|
||||
<strong>Current Device</strong> : [[${currentDevice}]]
|
||||
</p>
|
||||
<ul th:if="${topNode != null}">
|
||||
<li>
|
||||
<a th:classappend="${topNode.uri eq currentURI.uri} ? 'active'"
|
||||
th:href="${topNode.uri}">[[${#messages.msg(topNode.id)}]]</a>
|
||||
</li>
|
||||
<li th:each="menu : ${topNode.children}" th:if="${menu.showOnNavi}">
|
||||
<!-- 자식 nodes 가 없는 경우 -->
|
||||
<a th:classappend="${currentURI.id == menu.id}? 'active'"
|
||||
th:href="${menu.uri}" th:if="${#lists.size(menu.children) == 0}"
|
||||
th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
<!-- 자식 nodes 가 있는 경우 -->
|
||||
<a th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, menu.id)}? 'active'"
|
||||
th:href="${menu.uri}"
|
||||
th:if="${#lists.size(menu.children) > 0}" th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
<ul th:if="${#lists.size(menu.children) > 0}">
|
||||
<li th:each="child : ${menu.children}" th:if="${child.showOnNavi}">
|
||||
<a class="dropdown-item"
|
||||
th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, child.id)}? 'active'"
|
||||
th:href="${child.uri}" th:text="${#messages.msg(child.id)}">메뉴명</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!--/* TODO 전체메뉴 E */-->
|
||||
<div class="inner">
|
||||
<button type="button" class="btn-back"><span class="hide-txt">이전으로 이동</span></button>
|
||||
<div class="page-tit">
|
||||
<h2>화면 타이틀</h2>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="btn-allmenu"><span class="hide-txt">전체메뉴 열기</span></button>
|
||||
</div>
|
||||
</header>
|
||||
</th:block>
|
||||
|
||||
<!--
|
||||
██████ ██████ ███████ █████ ██████ ██████ ██████ ██ ██ ███ ███ ██████
|
||||
@@ -144,21 +123,21 @@
|
||||
██████ ██ ██ ███████ ██ ██ ██████ ██████ ██ ██ ██████ ██ ██ ██████
|
||||
-->
|
||||
<div th:fragment="breadcrumb">
|
||||
<div style="background:#eee;">
|
||||
<h2>Breadcrumb 영역</h2>
|
||||
<nav>
|
||||
<ol>
|
||||
<li th:classappend="${item.id == currentURI.id}? 'active'"
|
||||
th:each="item, status : ${menuHierarchy}">
|
||||
<a th:href="${item.uri}" th:if="${item.id != currentURI.id}">
|
||||
<span th:remove="tag" th:text="${@coreUtil.getUriTitle(item)}"></span>
|
||||
</a>
|
||||
<span th:if="${item.id == currentURI.id}" th:remove="tag"
|
||||
th:text="${@coreUtil.getUriTitle(item)}"></span>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
<!--<div style="background:#eee;">
|
||||
<h2>Breadcrumb 영역</h2>
|
||||
<nav>
|
||||
<ol>
|
||||
<li th:classappend="${item.id == currentURI.id}? 'active'"
|
||||
th:each="item, status : ${menuHierarchy}">
|
||||
<a th:href="${item.uri}" th:if="${item.id != currentURI.id}">
|
||||
<span th:remove="tag" th:text="${@coreUtil.getUriTitle(item)}"></span>
|
||||
</a>
|
||||
<span th:if="${item.id == currentURI.id}" th:remove="tag"
|
||||
th:text="${@coreUtil.getUriTitle(item)}"></span>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>-->
|
||||
</div>
|
||||
|
||||
<!--
|
||||
@@ -169,7 +148,7 @@
|
||||
██ ██ ██ ██████ ███████ ██ ██ ███████ ██ ██ ██████ ██ ██ ████ ██████
|
||||
-->
|
||||
<div th:fragment="pageHeading">
|
||||
<h1 th:text="${#messages.msg(currentURI.id)}"></h1>
|
||||
<h1 th:text="${#messages.msg(currentURI.id)}"></h1>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
@@ -180,8 +159,8 @@
|
||||
██████ ██ ███████ ██ ██ ██ ██ ██ ██ ██████ ██ ████ ██ ██ ███████ ██████
|
||||
-->
|
||||
<div class="row" th:fragment="operationMessage" th:if="${not #strings.isEmpty(operationMessage)}">
|
||||
<div class="alert alert-info fw-bold" th:utext="${operationMessage}">
|
||||
</div>
|
||||
<div class="alert alert-info fw-bold" th:utext="${operationMessage}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
@@ -191,14 +170,37 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██ ██████ ██████ ██ ███████ ██ ██
|
||||
-->
|
||||
<div th:fragment="footer">
|
||||
<footer>
|
||||
<div>
|
||||
<span>© 2022 All rights reserved</span>
|
||||
</div>
|
||||
</footer>
|
||||
<div th:fragment="bottom-bar">
|
||||
<footer id="footer" class="footer">
|
||||
<nav class="footer-menu">
|
||||
<ul>
|
||||
<li class="menu-acco active"><a href="javascript:void(0);" onclick="kri.menu.daily();">일계부</a></li>
|
||||
<!--/* TODO : 2차 오픈 */-->
|
||||
<!--<li class="menu-regi"><a href="">입력현황</a></li>
|
||||
<li class="menu-stat"><a href="">통계</a></li>-->
|
||||
<li class="menu-info"><a href="javascript:void(0);" onclick="kri.menu.my();">내정보</a></li>
|
||||
<!--/* TODO : 전체메뉴 적용 전 임시 메뉴 S */-->
|
||||
<li sec:authorize="isAnonymous()" th:remove="tag">
|
||||
<a href="/login">[로그인]</a>
|
||||
</li>
|
||||
<li sec:authorize="isAuthenticated()" th:remove="tag">
|
||||
<strong th:text="${#authentication.principal.ownerName}">로그인 사용자명</strong>
|
||||
, seq=<strong th:text="${#authentication.principal.householdSeq}">로그인 사용자SEQ</strong>
|
||||
<a href="/logout">[로그아웃]</a>
|
||||
</li>
|
||||
<!--/* TODO : 전체메뉴 적용 전 임시 메뉴 E */-->
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<!--/* 플로팅 : 위로가기 */-->
|
||||
<th:block th:fragment="floating-totop">
|
||||
<div id="btn-gotop">
|
||||
<a class="gotop"><span class="hide-txt">화면 제일위로 이동</span></a>
|
||||
</div>
|
||||
</th:block>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html layout:decorate="~{layout/layout}"
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||
|
||||
<head>
|
||||
<title>Home</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<section layout:fragment="content">
|
||||
<h1>HELLO</h1>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,19 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head th:replace="~{common/components :: head}"></head>
|
||||
|
||||
<body>
|
||||
<header th:replace="~{common/components :: header}"></header>
|
||||
|
||||
<div class="container">
|
||||
<div th:replace="~{common/components :: operationMessage}"></div>
|
||||
|
||||
<section class="container" layout:fragment="content">
|
||||
page content
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div th:replace="~{common/components :: footer}"></div>
|
||||
</body>
|
||||
</html>
|
||||
23
front/src/main/resources/templates/layout/layout-none.html
Normal file
23
front/src/main/resources/templates/layout/layout-none.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org" lang="ko">
|
||||
|
||||
<head th:replace="~{common/components :: head}"></head>
|
||||
|
||||
<body>
|
||||
<div id="wrap">
|
||||
<section th:replace="~{common/components :: header}"></section>
|
||||
|
||||
<div class="acco-wrap" id="container" layout:fragment="content">
|
||||
page content
|
||||
</div>
|
||||
|
||||
<section th:replace="common/components :: floating-totop"></section>
|
||||
<div>
|
||||
<div th:replace="~{common/components :: operationMessage}"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section layout:fragment="script"></section>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,25 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org">
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org" lang="ko">
|
||||
|
||||
<head th:replace="~{common/components :: head}"></head>
|
||||
|
||||
<body>
|
||||
<header th:replace="~{common/components :: header}"></header>
|
||||
<div id="wrap">
|
||||
<section th:replace="~{common/components :: header}"></section>
|
||||
|
||||
<div>
|
||||
<div th:replace="~{common/components :: breadcrumb}"></div>
|
||||
<div th:replace="~{common/components :: pageHeading}"></div>
|
||||
<div th:replace="~{common/components :: operationMessage}"></div>
|
||||
<div class="acco-wrap btm-footer" id="container" layout:fragment="content">
|
||||
page content
|
||||
</div>
|
||||
|
||||
<section layout:fragment="content">
|
||||
page content
|
||||
</section>
|
||||
<section th:replace="~{common/components :: footer}"></section>
|
||||
<section th:replace="common/components :: floating-totop"></section>
|
||||
|
||||
<div>
|
||||
<div th:replace="~{common/components :: operationMessage}"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div th:replace="~{common/components :: footer}"></div>
|
||||
<section layout:fragment="script"></section>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1,34 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html layout:decorate="~{layout/layout}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
xmlns:th="http://www.thymeleaf.org">
|
||||
xmlns:th="http://www.thymeleaf.org" lang="ko">
|
||||
|
||||
<section layout:fragment="content">
|
||||
<h2>calendar</h2>
|
||||
<div>
|
||||
reqVO: [[${reqVO}]]
|
||||
</div>
|
||||
<div>
|
||||
<th:block th:each="calendar, calendarStatus : ${calendarList}">
|
||||
<th:block th:if="${not #strings.isEmpty(calendar.dailyId)}">
|
||||
<span th:onclick="formControl.getDetail([[${reqVO.searchMonth}]], [[${calendar.groupNo}]])">
|
||||
No=[[${calendar.groupNo}]], Start=[[${calendar.startDay}]], End=[[${calendar.endDay}]], StartDate=[[${calendar.startDate}]], Id=[[${calendar.dailyId}]]<br/>
|
||||
</span>
|
||||
<div layout:fragment="content">
|
||||
<main id="content" role="main">
|
||||
<h2>calendar</h2>
|
||||
<div>
|
||||
reqVO: [[${reqVO}]]
|
||||
</div>
|
||||
<div>
|
||||
<th:block th:each="calendar, calendarStatus : ${calendarList}">
|
||||
<th:block th:if="${not #strings.isEmpty(calendar.dailyId)}">
|
||||
<span th:onclick="formControl.getDetail([[${reqVO.searchMonth}]], [[${calendar.groupNo}]])">
|
||||
No=[[${calendar.groupNo}]], Start=[[${calendar.startDay}]], End=[[${calendar.endDay}]], StartDate=[[${calendar.startDate}]], Id=[[${calendar.dailyId}]]<br/>
|
||||
</span>
|
||||
</th:block>
|
||||
<th:block th:if="${#strings.isEmpty(calendar.dailyId)}">
|
||||
<span th:onclick="formControl.getDetail([[${reqVO.searchMonth}]], [[${calendar.groupNo}]])">
|
||||
No=[[${calendar.groupNo}]], Start=[[${calendar.startDay}]], End=[[${calendar.endDay}]], StartDate=[[${calendar.startDate}]]<br/>
|
||||
</span>
|
||||
</th:block>
|
||||
</th:block>
|
||||
<th:block th:if="${#strings.isEmpty(calendar.dailyId)}">
|
||||
<span th:onclick="formControl.getDetail([[${reqVO.searchMonth}]], [[${calendar.groupNo}]])">
|
||||
No=[[${calendar.groupNo}]], Start=[[${calendar.startDay}]], End=[[${calendar.endDay}]], StartDate=[[${calendar.startDate}]]<br/>
|
||||
</span>
|
||||
</th:block>
|
||||
</th:block>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
<hr/>
|
||||
|
||||
<div id="selectedDay">
|
||||
<div id="selectedDay">
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<section layout:fragment="script">
|
||||
<script th:src="@{/static/ui/page/daily-record.js}"></script>
|
||||
@@ -53,7 +54,7 @@
|
||||
$('#selectedDay').html(rstHtml);
|
||||
},
|
||||
function(code, rstData) {
|
||||
krs.logger.error('Do nothing. code: '+ code, rstData);
|
||||
kri.logger.error('Do nothing. code: '+ code, rstData);
|
||||
},
|
||||
'html'
|
||||
);
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html layout:decorate="~{layout/layout}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
xmlns:th="http://www.thymeleaf.org">
|
||||
<html layout:decorate="~{layout/layout-none}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
xmlns:th="http://www.thymeleaf.org" lang="ko">
|
||||
|
||||
<section layout:fragment="content">
|
||||
<div layout:fragment="content">
|
||||
<main id="content" role="main">
|
||||
<h2>daily Form</h2>
|
||||
<div>
|
||||
reqVO: [[${reqVO}]]
|
||||
@@ -45,8 +46,7 @@
|
||||
<br/><br/>
|
||||
detail: [[${detail}]]
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
</main>
|
||||
|
||||
<style>
|
||||
.content {
|
||||
@@ -82,7 +82,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section layout:fragment="script">
|
||||
<script th:src="@{/static/ui/page/daily-record.js}"></script>
|
||||
@@ -113,9 +113,9 @@
|
||||
console.log(rstData);
|
||||
|
||||
if (f.todayNone.value == 'Y') {
|
||||
krsp.daily.goToMain();
|
||||
krip.daily.goToMain();
|
||||
} else {
|
||||
krsp.daily.goToNext($('input:checked').eq(0).data('target'), searchMonth, groupNo);
|
||||
krip.daily.goToNext($('input:checked').eq(0).data('target'), searchMonth, groupNo);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
<html layout:decorate="~{layout/layout}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<section layout:fragment="content">
|
||||
<div layout:fragment="content">
|
||||
<main id="content" role="main">
|
||||
|
||||
<style>
|
||||
label {
|
||||
display: inline-block;
|
||||
@@ -82,7 +84,8 @@
|
||||
</form>
|
||||
<button onclick="updateUser();">수정하기</button>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<section layout:fragment="script">
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user