Skip to content

Commit

Permalink
feature:#102 쿠폰 조회 테이블 뷰 조절
Browse files Browse the repository at this point in the history
  • Loading branch information
joohyun1996 committed May 15, 2024
1 parent e3e1674 commit 66da90a
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions src/main/resources/templates/main/page/coupon.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,21 @@

<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout(categoryList)"
layout:decorate="main/layout/layout">
layout:decorate="main/layout/mypageLayout">

<th:block layout:fragment="content" th:method="get">
<div>
<h2>사용 가능한 할인권: <span id="available-coupons">0 개</span></h2>
<h2>미사용할인권 24시간 이내: <span id="unused-coupons">0 개</span></h2>
</div>
<div>
<label for="coupon-code">할인권 코드 입력:</label>
<input type="text" id="coupon-code" name="coupon-code">
<button type="button">적용하기</button>
<p>* 공백없이 바코드번호만 입력해주세요.</p>
</div>
<div>
<label for="payment">결제하기:</label>
<input type="text" id="payment" name="payment">
<div>
<input type="radio" id="credit-card" name="payment-method">
<label for="credit-card">신용카드(일반)</label><br>
<input type="radio" id="gift-card" name="payment-method">
<label for="gift-card">신용카드 / 기프트카드</label><br>
</div>
<div class="container mt-5">
<h1>보유 쿠폰 조회</h1>
<table class="table">
<tbody>
<tr>
<th scope="row">쿠폰명</th>
<th scope="row">할인액(율)</th>
<th scope="row">유효기간</th>
<th scope="row">쿠폰종류</th>
</tr>
</tbody>
</table>
</div>
</th:block>
</html>
</html>

0 comments on commit 66da90a

Please sign in to comment.