내정보 메인 : 화면 추가, 일부 개인정보 추가. 링크
This commit is contained in:
92
front/src/main/resources/templates/info/main.html
Normal file
92
front/src/main/resources/templates/info/main.html
Normal file
@@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html>
|
||||
<html layout:decorate="~{layout/layout}" 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="${isUnregisteredDate}"> <!-- TODO Controller 단에서 처리 필요. 임시 -->
|
||||
<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="${latestRegisteredDate != null or !#strings.isEmpty(latestRegisteredDate)}" th:text="${'최근등록: '+latestRegisteredDate}"></dd>
|
||||
</dl>
|
||||
|
||||
<a href="/info/notice/1" class="notice-box"><!-- TODO 공지사항 작성후 처리 필요 -->
|
||||
<p class="tit">공지사항</p>
|
||||
<p class="txt">2025 임가경제조사 실시 안내</p>
|
||||
</a>
|
||||
|
||||
</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>
|
||||
Reference in New Issue
Block a user