티스토리 뷰
Client Technologies/Bootstrap
Bootstrap : jsp form 정보 card에 보여주기 예제 template
Korean Eagle 2020. 6. 8. 03:21728x90
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<title>Flight Reservation Confirm</title>
</head>
<body>
<div class="container">
<h1 class="text-center mb-5">Flight Reservation Details</h1>
<div class="row">
<div class="col-2"></div>
<div class="col-8">
<div class="card">
<h5 class="card-header">Flight Information</h5>
<div class="card-body">
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Operating Aline</h5>
<span class="card-text">${ flight.operatingAirlines }</span>
</div>
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Departure City</h5>
<span class="card-text">${ flight.departureCity }</span>
</div>
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Arrival City</h5>
<span class="card-text">${ flight.arrivalCity }</span>
</div>
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Date Of Deaprture</h5>
<span class="card-text">${ flight.deteOfDeparture }</span>
</div>
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Estimated Departure Time</h5>
<span class="card-text">${ flight.estimatedDepartureTime }</span>
</div>
</div>
</div>
<div class="card">
<h5 class="card-header">Passenger Information</h5>
<div class="card-body">
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">First Name</h5>
<span class="card-text">${ passenger.firstName }</span>
</div>
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Last Name</h5>
<span class="card-text">${ passenger.lastName }</span>
</div>
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Email</h5>
<span class="card-text">${ passenger.email }</span>
</div>
<div class="row d-flex justify-content-between">
<h5 class="card-title mr-3">Phone</h5>
<span class="card-text">${ passenger.phone }</span>
</div>
</div>
</div>
<div class="card">
<h5 class="card-header">Checkin Form</h5>
<form:form modelAttribute="update" action="processCheckIn" method="POST">
<form:input type="hidden" path="id" />
<div class="card-body">
<div class="row d-flex justify-content-between">
<h5 class="card-title mr3">Number Of Bags</h5>
<form:input class="form-control-inline" type="text" path="numberOfBags" />
</div>
<div class="form-group mt-2 text-center">
<input type="submit" value="Check In" class="btn btn-primary">
</div>
</div>
</form:form>
</div>
</div>
<div class="col-2"></div>
</div>
</div>
<div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous">
</script>
</body>
</html>
728x90
'Client Technologies > Bootstrap' 카테고리의 다른 글
BootStrap : WebJars (0) | 2020.08.03 |
---|---|
Bootstrap : jsp table List template (0) | 2020.06.07 |
Bootstrap : jsp form input template (0) | 2020.06.07 |
Bootstrap : Grid Layout (0) | 2020.06.02 |
Bootstrap : Responsive Breakpoint, Display (0) | 2020.06.02 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
- 도커 개발환경 참고
- AWS ARN 구조
- Immuability에 관한 설명
- 자바스크립트 멀티 비동기 함수 호출 참고
- WSDL 참고
- SOAP 컨슈머 참고
- MySql dump 사용법
- AWS Lambda with Addon
- NFC 드라이버 linux 설치
- electron IPC
- mifare classic 강의
- go module 관련 상세한 정보
- C 메모리 찍어보기
- C++ Addon 마이그레이션
- JAX WS Header 관련 stackoverflow
- SOAP Custom Header 설정 참고
- SOAP Custom Header
- SOAP BindingProvider
- dispatcher 사용하여 설정
- vagrant kvm으로 사용하기
- git fork, pull request to the …
- vagrant libvirt bridge network
- python, js의 async, await의 차이
- go JSON struct 생성
- Netflix Kinesis 활용 분석
- docker credential problem
- private subnet에서 outbound IP 확…
- 안드로이드 coroutine
- kotlin with, apply, also 등
- 안드로이드 초기로딩이 안되는 경우
- navigation 데이터 보내기
- 레이스 컨디션 navController
- raylib
TAG
- 자바
- crud
- 설정하기
- one-to-one
- Spring
- one-to-many
- spring boot
- login
- Rest
- 매핑
- form
- RestTemplate
- WebMvc
- 로그인
- Security
- jsp
- 설정
- 스프링부트
- 하이버네이트
- 스프링
- Many-To-Many
- hibernate
- 상속
- mapping
- 외부파일
- Validation
- Spring Security
- XML
- MYSQL
- Angular
250x250