-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfirm_form.html
127 lines (106 loc) · 6 KB
/
confirm_form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Confirm Forms</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- 구글웹폰트 font-family: 'Jua', sans-serif; font-family: 'Nanum Gothic', sans-serif; -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Jua&family=Nanum+Gothic:wght@800&display=swap" rel="stylesheet">
<!-- 부가적인 테마 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<!-- w3 -->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<style>
.header {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 1;
}
.font {
font-family: 'Nanum Gothic', sans-serif;
}
h1,h3,h4,h5,p{
font-family: 'Nanum Gothic', sans-serif;
}
</style>
</head>
<body>
<nav class="navbar navbar-light bg-white border-bottom shadow-sm font">
<div class="container-fluid">
<a class="navbar-brand" href="#"><i class="fa fa-chevron-left" aria-hidden="true"></i>
</a><b class="navbar-brand">최종확인</b>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarText">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">홈</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">마이페이지</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container mt-5 text-center" style="float: right; display: block;">
<p align="right" class="bg-primary pb-1 pt-1" style="color: white; border-radius: 30px; display:inline-block; padding-right: 10px; margin-right: 20px"> 발행수량 /
<span class="badge rounded-pill bg-light text-dark">30</span> 개
</p>
<p align="right" class="bg-primary pb-1 pt-1" style="color: white; border-radius: 30px; display:inline-block; padding-right: 10px"> 추가된 친구 /
<span class="badge rounded-pill bg-light text-dark">박은혜</span>
<span class="badge rounded-pill bg-light text-dark">정소연</span>
<span class="badge rounded-pill bg-light text-dark">+3</span>
</p>
</div>
<div class="container mb-3 font" style="background-color: antiquewhite; margin-top: 100px;" >
<div class="p-5 m-3 " style="border: 3px solid #5F4C0B;">
<h5 class="mt-3">제 <span id="num">dfsf</span> 호</h5>
<h1 id="myname" class="text-center">자격증의 이름</h1>
<h4>성명 : 김뵤블 </h4>
<h4 style="display:inline;">과정명 : </h4>
<h4 id="processName" style="display:inline;">보안제품개발트랙</h4>
<h4 >이수일자 : <span id="date"></span></h4>
<h4 style="display:inline;">주관 : </h4>
<h4 id="Organization" style="display:inline;">한국정보기술원 </h4>
<h4>교육장소 : <span id="issuer"></span></h4>
<h3 class="mt-5 text-center" id="content">위 사람은 2020년 ~를 하였기에 이 증서를 수여함.</h3>
<h4 class="mt-5 text-center" id="mintDate"></h4>
</div>
</div>
<div class="container text-center mt-5 font">
<h4>이대로 진행하시겠습니까? </h4>
</div>
<div class="container text-center pb-5 font">
<button class="btn bg-primary mt-4 w-25" style="display:inline; color: white;" onclick="make3()">확인완료</button>
</div>
<script>
let obj ={
tokenId: "5464654-331231", // '고유'한 카드 번호
name: "교육이수증", // 자격증의 이름
num: "21326554657", // 자격증 no.
issuer: "서울특별시 금천구 서부샛길 606 가산 대성디폴리스 A동 27층", // 발행자의 주소
imgurl: "123123", // IPFS 자격증 발행 숫자
holder: "경기도 의정부시 민락동 123번지 456", // 소유자의 주소
date: "2020. 05. 13 - 2021. 03. 02" , // 행사 날짜
mintDate: "2021. 07. 13", // 발행 날짜
exchangable: true, // 교환 가능여부
authorized: true // 검증 된 발행자인가
}
document.getElementById("myname").innerHTML = obj.name;
document.getElementById("num").innerHTML = obj.num;
document.getElementById("date").innerHTML = obj.date;
document.getElementById("issuer").innerHTML = obj.issuer;
document.getElementById("mintDate").innerHTML = obj.mintDate;
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
</body>
</html>