104 lines
3.0 KiB
HTML
104 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html layout:decorate="~{layout/layout-subar}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
|
xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
|
<div layout:fragment="content" th:classappend="'mypage-wrap bg-gray'">
|
|
<main id="content" role="main">
|
|
<!--/* alert-box 클래스 리스트
|
|
fail : 실패(빨강)
|
|
warning : 경고(노랑)
|
|
success : 성공(초록)
|
|
info : 인포(파랑)
|
|
*/-->
|
|
<article class="alert-box warning"
|
|
th:if="${dailyDataNone}">
|
|
<p class="tit"><strong th:text="${userInfo?.ownerName}">홍길동</strong>님,</p>
|
|
<span class="txt">
|
|
일계부를 등록하지 않은 날짜가 있습니다. <br>
|
|
정확한 조사를 위해 꾸준히 입력해 주세요.
|
|
</span>
|
|
</article>
|
|
|
|
<section class="info-top-area">
|
|
<div class="inner">
|
|
<dl class="info-card">
|
|
<dt class="name" th:text="${userInfo?.ownerName}"></dt>
|
|
<dd class="location" th:text="${userInfo?.address}"></dd><!-- TODO 임가 주소 위치 임시로 . 처리함. -->
|
|
<dd class="date" th:if="${not #strings.isEmpty(dailyLatest)}">
|
|
최근등록 : <span th:text="${dailyLatest}"></span></dd>
|
|
<dd class="date" th:if="${#strings.isEmpty(dailyLatest)}">등록된 일계부가 없습니다.</dd>
|
|
</dl>
|
|
<!--/* TODO : 2차 오픈 */-->
|
|
<th:block th:if="${@systemProperties['spring.profiles.active'] eq 'local'}">
|
|
<th:block th:if="${notice != null}">
|
|
<a th:href="@{'/info/notice/' + ${notice.id}}" class="notice-box">
|
|
<p class="tit">공지사항</p>
|
|
<p class="txt" th:text="${notice.title}"></p>
|
|
</a>
|
|
</th:block>
|
|
<div class="notice-box nodata"
|
|
th:unless="${notice != null}">
|
|
<a href="/info/notice" class="tit">공지사항</a>
|
|
<a href="javascript:void(0)" class="txt">등록된 공지사항이 없습니다</a>
|
|
</div>
|
|
</th:block>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="info-bottom-area bg-white bg-lround">
|
|
<ul class="btn-link-list">
|
|
<li>
|
|
<a href="/info/user/password">
|
|
<i class="ico-privacy ico-normal" aria-hidden="true"></i>
|
|
<dl>
|
|
<dt>개인정보 변경</dt>
|
|
<dd>이름, 주소, 연락처를 수정할 수 있어요</dd>
|
|
</dl>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="/info/monthly">
|
|
<i class="ico-chart ico-normal" aria-hidden="true"></i>
|
|
<dl>
|
|
<dt>임산물 현황</dt>
|
|
<dd>이번 달 생산한 임산물을 입력해 주세요</dd>
|
|
</dl>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="/info/bank">
|
|
<i class="ico-bank ico-normal" aria-hidden="true"></i>
|
|
<dl>
|
|
<dt>은행 자동이체 내역</dt>
|
|
<dd>자동으로 입금·출금된 금액을 <br>
|
|
기록해 주세요
|
|
</dd>
|
|
</dl>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
|
|
</div>
|
|
|
|
<section layout:fragment="script">
|
|
<script th:inline="javascript">
|
|
let ENV = {
|
|
httpUrl: {
|
|
root: /*[[#{uri.front.info.path}]]*/'rootUrl',
|
|
},
|
|
submitted: false,
|
|
};
|
|
|
|
let formControl = {
|
|
createValid() {
|
|
|
|
}
|
|
};
|
|
</script>
|
|
</section>
|
|
|
|
|
|
</html> |