주문 url 매핑 및 기본 템플릿 추가
This commit is contained in:
@@ -2,8 +2,10 @@ package com.justpickup.ownerfrontendservice;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableEurekaClient
|
||||
public class OwnerFrontendServiceApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.justpickup.ownerfrontendservice.domain.order.web;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@Controller
|
||||
@Slf4j
|
||||
public class OrderController {
|
||||
|
||||
@GetMapping("/order")
|
||||
public String order() {
|
||||
return "/domain/order/order";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko"
|
||||
xmlns:th="http://www.thymeleaf.org"
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
layout:decorate="~{layouts/layout}"
|
||||
>
|
||||
|
||||
|
||||
<head></head>
|
||||
|
||||
<div layout:fragment="content">
|
||||
<!-- Page Heading -->
|
||||
<h1 class="h3 mb-4 text-gray-800">주문</h1>
|
||||
|
||||
<!-- Date Section -->
|
||||
<h5 class="h5 mb-4 text-gray-800">2022년 01년 14일</h5>
|
||||
|
||||
<!-- Card Section -->
|
||||
<div class="row row-cols-md-3">
|
||||
<!-- card start -->
|
||||
<div class="col mb-4">
|
||||
<div class="card">
|
||||
<div class="card-header text-center font-weight-bold">
|
||||
닉네임
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
<span class="d-inline-block text-truncate" style="max-width: 80%;">
|
||||
메뉴1, 메뉴2, 메뉴3
|
||||
</span>
|
||||
</h5>
|
||||
<p class="card-text">
|
||||
<small class="text-muted">오전 11:03</small>
|
||||
</p>
|
||||
<a href="#" class="btn btn-outline-dark btn-sm">상세보기</a>
|
||||
</div>
|
||||
<div class="card-footer rounded bg-primary text-white text-center" role="button">
|
||||
주문접수하기
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- card end -->
|
||||
|
||||
<!-- card start -->
|
||||
<div class="col mb-4">
|
||||
<div class="card">
|
||||
<div class="card-header text-center font-weight-bold">
|
||||
닉네임
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
<span class="d-inline-block text-truncate" style="max-width: 80%;">
|
||||
메뉴1, 메뉴2, 메뉴3, 메뉴4, 메뉴5, 메뉴6
|
||||
</span>
|
||||
</h5>
|
||||
<p class="card-text">
|
||||
<small class="text-muted">오후 04:03</small>
|
||||
</p>
|
||||
<a href="#" class="btn btn-outline-dark btn-sm">상세보기</a>
|
||||
</div>
|
||||
<div class="card-footer rounded bg-dark text-white text-center" role="button">
|
||||
수령완료
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- card end -->
|
||||
|
||||
<!-- card start -->
|
||||
<div class="col mb-4">
|
||||
<div class="card">
|
||||
<div class="card-header text-center font-weight-bold">
|
||||
닉네임
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
<span class="d-inline-block text-truncate" style="max-width: 80%;">
|
||||
메뉴1, 메뉴2
|
||||
</span>
|
||||
</h5>
|
||||
<p class="card-text">
|
||||
<small class="text-muted">오후 10:45</small>
|
||||
</p>
|
||||
<a href="#" class="btn btn-outline-dark btn-sm">상세보기</a>
|
||||
</div>
|
||||
<div class="card-footer rounded bg-success text-white text-center" role="button">
|
||||
조리완료
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- card end -->
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
function init() {
|
||||
|
||||
}
|
||||
|
||||
function setEvent() {
|
||||
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user