Showing
4 changed files
with
344 additions
and
100 deletions
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | -<head> | 3 | + <head> |
4 | - <meta charset="UTF-8"> | 4 | + <meta charset="UTF-8" /> |
5 | <script src="https://apis.google.com/js/platform.js" async defer></script> | 5 | <script src="https://apis.google.com/js/platform.js" async defer></script> |
6 | - <meta name="google-signin-client_id" content="94679084723-s5f0686p2porp9mkakrp1p89a48n24nj.apps.googleusercontent.com"> | 6 | + <meta |
7 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 7 | + name="google-signin-client_id" |
8 | + content="94679084723-s5f0686p2porp9mkakrp1p89a48n24nj.apps.googleusercontent.com" | ||
9 | + /> | ||
10 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
8 | <title>first</title> | 11 | <title>first</title> |
9 | - <link rel="stylesheet" href="stylesheets/bootstrap.css"> | 12 | + <link |
10 | - <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" rel="stylesheet"> | 13 | + rel="stylesheet" |
14 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" | ||
15 | + integrity="undefined" | ||
16 | + crossorigin="anonymous" | ||
17 | + /> | ||
18 | + <link | ||
19 | + href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" | ||
20 | + rel="stylesheet" | ||
21 | + /> | ||
11 | 22 | ||
12 | <style> | 23 | <style> |
13 | - img{ | 24 | + img { |
14 | max-width: 100%; | 25 | max-width: 100%; |
15 | height: 100% !important; | 26 | height: 100% !important; |
16 | } | 27 | } |
17 | - h1{font-family: 'Noto Sans KR', sans-serif;} | 28 | + h1 { |
18 | - h4{font-family: 'Noto Sans KR', sans-serif;} | 29 | + font-family: "Noto Sans KR", sans-serif; |
19 | - h2{font-family: 'Noto Sans KR', sans-serif;} | 30 | + } |
20 | - h3{font-family: 'Noto Sans KR', sans-serif;} | 31 | + h4 { |
21 | - h5{font-family: 'Noto Sans KR', sans-serif;} | 32 | + font-family: "Noto Sans KR", sans-serif; |
22 | - .center{ | 33 | + } |
34 | + h2 { | ||
35 | + font-family: "Noto Sans KR", sans-serif; | ||
36 | + } | ||
37 | + h3 { | ||
38 | + font-family: "Noto Sans KR", sans-serif; | ||
39 | + } | ||
40 | + h5 { | ||
41 | + font-family: "Noto Sans KR", sans-serif; | ||
42 | + } | ||
43 | + .center { | ||
23 | background-color: #848484; | 44 | background-color: #848484; |
24 | margin-right: 20%; | 45 | margin-right: 20%; |
25 | margin-left: 20%; | 46 | margin-left: 20%; |
26 | margin-top: 5%; | 47 | margin-top: 5%; |
27 | - text-align:center; | 48 | + text-align: center; |
28 | } | 49 | } |
29 | - .g-signin2{ | 50 | + .g-signin2 { |
30 | width: 100%; | 51 | width: 100%; |
31 | } | 52 | } |
32 | 53 | ||
33 | - .g-signin2 > div{ | 54 | + .g-signin2 > div { |
34 | margin: 0 auto; | 55 | margin: 0 auto; |
35 | } | 56 | } |
36 | </style> | 57 | </style> |
58 | + </head> | ||
37 | 59 | ||
38 | -</head> | 60 | + <body> |
39 | - | 61 | + <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> |
40 | -<body> | 62 | + <a class="navbar-brand" href="/" |
41 | -<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> | 63 | + ><img src="images/home.png" width="40" height="40" alt="" /> |
42 | - <a class="navbar-brand" href="/"><img src="images/home.png" width="40" height="40" alt=""> | ||
43 | </a> | 64 | </a> |
44 | - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | 65 | + <button |
66 | + class="navbar-toggler" | ||
67 | + type="button" | ||
68 | + data-toggle="collapse" | ||
69 | + data-target="#navbarSupportedContent" | ||
70 | + aria-controls="navbarSupportedContent" | ||
71 | + aria-expanded="false" | ||
72 | + aria-label="Toggle navigation" | ||
73 | + > | ||
45 | <span class="navbar-toggler-icon"></span> | 74 | <span class="navbar-toggler-icon"></span> |
46 | </button> | 75 | </button> |
47 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> | 76 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
48 | - <a class="navbar-brand" href="/" ><strong>Home</strong></a> | 77 | + <a class="navbar-brand" href="/"><strong>Home</strong></a> |
49 | <ul class="navbar-nav mr-auto mt-2 mt-lg-0"> | 78 | <ul class="navbar-nav mr-auto mt-2 mt-lg-0"> |
50 | - | ||
51 | <li class="nav-item active"> | 79 | <li class="nav-item active"> |
52 | - <a class="nav-link" style="color:#ffffff" href="/" onclick="signOut();">Logout<span class="sr-only">(current)</span></a> | 80 | + <a |
81 | + class="nav-link" | ||
82 | + style="color: #ffffff" | ||
83 | + href="/" | ||
84 | + onclick="signOut();" | ||
85 | + >Logout<span class="sr-only">(current)</span></a | ||
86 | + > | ||
53 | </li> | 87 | </li> |
54 | - | ||
55 | </ul> | 88 | </ul> |
56 | </div> | 89 | </div> |
57 | -</nav> | 90 | + </nav> |
58 | -<br><br> | 91 | + <br /><br /> |
59 | - <div class ="center" > | 92 | + <div class="center"> |
60 | - <br> | 93 | + <br /> |
61 | - <h5 class="display-5 font-weight-bold" style="color: white">Cafe Recommend</h5> | 94 | + <h5 class="display-5 font-weight-bold" style="color: white"> |
62 | - <br><br> | 95 | + Cafe Recommend |
63 | - <div class="g-signin2" data-onsuccess="onSignIn" -theme="light" data-width="300" data-height="50" data-longtitle="true">button</div> | 96 | + </h5> |
64 | - <br><br> | 97 | + <br /><br /> |
98 | + <div | ||
99 | + class="g-signin2" | ||
100 | + data-onsuccess="onSignIn" | ||
101 | + -theme="light" | ||
102 | + data-width="300" | ||
103 | + data-height="50" | ||
104 | + data-longtitle="true" | ||
105 | + > | ||
106 | + button | ||
65 | </div> | 107 | </div> |
66 | -</body> | 108 | + <br /><br /> |
67 | - | 109 | + </div> |
110 | + </body> | ||
68 | 111 | ||
69 | -<script> | 112 | + <script> |
70 | function onSignIn(googleUser) { | 113 | function onSignIn(googleUser) { |
71 | var id_token = googleUser.getAuthResponse().id_token; | 114 | var id_token = googleUser.getAuthResponse().id_token; |
72 | var xhr = new XMLHttpRequest(); | 115 | var xhr = new XMLHttpRequest(); |
73 | - xhr.open('POST', '/index'); | 116 | + xhr.open("POST", "/index"); |
74 | - xhr.setRequestHeader('Content-Type', 'application/json'); | 117 | + xhr.setRequestHeader("Content-Type", "application/json"); |
75 | - xhr.onload = function() { | 118 | + xhr.onload = function () { |
76 | - console.log('Signed in as: ' + xhr.responseText); | 119 | + console.log("Signed in as: " + xhr.responseText); |
77 | - if(xhr.responseText == 'success'){ | 120 | + if (xhr.responseText == "success") { |
78 | signOut(); | 121 | signOut(); |
79 | - location.assign('/login'); | 122 | + location.assign("/login"); |
80 | } | 123 | } |
81 | }; | 124 | }; |
82 | - xhr.send(JSON.stringify({token : id_token})); | 125 | + xhr.send(JSON.stringify({ token: id_token })); |
83 | } | 126 | } |
84 | -</script> | 127 | + </script> |
85 | -<script src="javascripts/bootstrap.js"></script> | 128 | + <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
86 | -<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 129 | + <script |
130 | + src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" | ||
131 | + integrity="undefined" | ||
132 | + crossorigin="anonymous" | ||
133 | + ></script> | ||
87 | </html> | 134 | </html> |
88 | - | ... | ... |
... | @@ -6,7 +6,12 @@ | ... | @@ -6,7 +6,12 @@ |
6 | 6 | ||
7 | <title>logined</title> | 7 | <title>logined</title> |
8 | 8 | ||
9 | - <link rel="stylesheet" href="stylesheets/bootstrap.css" /> | 9 | + <link |
10 | + rel="stylesheet" | ||
11 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" | ||
12 | + integrity="undefined" | ||
13 | + crossorigin="anonymous" | ||
14 | + /> | ||
10 | <link | 15 | <link |
11 | href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" | 16 | href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" |
12 | rel="stylesheet" | 17 | rel="stylesheet" |
... | @@ -43,14 +48,28 @@ | ... | @@ -43,14 +48,28 @@ |
43 | <a class="navbar-brand" href="/" | 48 | <a class="navbar-brand" href="/" |
44 | ><img src="images/home.png" width="40" height="40" alt="" /> | 49 | ><img src="images/home.png" width="40" height="40" alt="" /> |
45 | </a> | 50 | </a> |
46 | - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | 51 | + <button |
52 | + class="navbar-toggler" | ||
53 | + type="button" | ||
54 | + data-toggle="collapse" | ||
55 | + data-target="#navbarSupportedContent" | ||
56 | + aria-controls="navbarSupportedContent" | ||
57 | + aria-expanded="false" | ||
58 | + aria-label="Toggle navigation" | ||
59 | + > | ||
47 | <span class="navbar-toggler-icon"></span> | 60 | <span class="navbar-toggler-icon"></span> |
48 | </button> | 61 | </button> |
49 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> | 62 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
50 | <a class="navbar-brand" href="/"><strong>Home</strong></a> | 63 | <a class="navbar-brand" href="/"><strong>Home</strong></a> |
51 | <ul class="navbar-nav mr-auto mt-2 mt-lg-0"> | 64 | <ul class="navbar-nav mr-auto mt-2 mt-lg-0"> |
52 | <li class="nav-item active"> | 65 | <li class="nav-item active"> |
53 | - <a class="nav-link" style="color: #ffffff" href="/" onclick="signOut();">Logout<span class="sr-only">(current)</span></a> | 66 | + <a |
67 | + class="nav-link" | ||
68 | + style="color: #ffffff" | ||
69 | + href="/" | ||
70 | + onclick="signOut();" | ||
71 | + >Logout<span class="sr-only">(current)</span></a | ||
72 | + > | ||
54 | </li> | 73 | </li> |
55 | </ul> | 74 | </ul> |
56 | </div> | 75 | </div> |
... | @@ -64,115 +83,280 @@ | ... | @@ -64,115 +83,280 @@ |
64 | <div class="row"> | 83 | <div class="row"> |
65 | <div class="col-2"></div> | 84 | <div class="col-2"></div> |
66 | <div class="col-8"> | 85 | <div class="col-8"> |
67 | - <hr class="my-2" style="background-color: white"> | 86 | + <hr class="my-2" style="background-color: white" /> |
68 | <form method="post"> | 87 | <form method="post"> |
69 | <div class="form-group"> | 88 | <div class="form-group"> |
70 | <label for="id_input">닉네임을 입력하세요</label> | 89 | <label for="id_input">닉네임을 입력하세요</label> |
71 | - <input type="text" class="form-control form-control-lg" name="nickname" aria-describedby="idHelp" placeholder="ID"> | 90 | + <input |
72 | - <small id="idHelp" class="form-text text-muted">중복이 허용되지 않습니다.</small> | 91 | + type="text" |
92 | + class="form-control form-control-lg" | ||
93 | + name="nickname" | ||
94 | + aria-describedby="idHelp" | ||
95 | + placeholder="ID" | ||
96 | + /> | ||
97 | + <small id="idHelp" class="form-text text-muted" | ||
98 | + >중복이 허용되지 않습니다.</small | ||
99 | + > | ||
73 | </div> | 100 | </div> |
74 | - <hr class="my-3" style="background-color: white" > | 101 | + <hr class="my-3" style="background-color: white" /> |
75 | <div class="form-group"> | 102 | <div class="form-group"> |
76 | <label for="age_input">나이를 입력하세요</label> | 103 | <label for="age_input">나이를 입력하세요</label> |
77 | - <input class="form-control form-control-lg" type="number" name="age" placeholder="Age"> | 104 | + <input |
105 | + class="form-control form-control-lg" | ||
106 | + type="number" | ||
107 | + name="age" | ||
108 | + placeholder="Age" | ||
109 | + /> | ||
78 | </div> | 110 | </div> |
79 | - <hr class="my-3" style="background-color: white" > | 111 | + <hr class="my-3" style="background-color: white" /> |
80 | 112 | ||
81 | <label for="gender" class="form-label">성별을 입력하세요</label> | 113 | <label for="gender" class="form-label">성별을 입력하세요</label> |
82 | - <select class="form-select form-select-lg" id="gender" name="gender" required> | 114 | + <select |
115 | + class="form-select form-select-lg" | ||
116 | + id="gender" | ||
117 | + name="gender" | ||
118 | + required | ||
119 | + > | ||
83 | <option selected disabled value="">Choose...</option> | 120 | <option selected disabled value="">Choose...</option> |
84 | <option value="male">Male</option> | 121 | <option value="male">Male</option> |
85 | <option value="female">Female</option> | 122 | <option value="female">Female</option> |
86 | </select> | 123 | </select> |
87 | - <hr class="my-3" style="background-color: white"> | 124 | + <hr class="my-3" style="background-color: white" /> |
88 | <hr class="my-2" /> | 125 | <hr class="my-2" /> |
89 | - <hr class="my-2" style="background-color: white"> | 126 | + <hr class="my-2" style="background-color: white" /> |
90 | - <div class="pricing-header px-3 py-1 pt-md-3 pb-md-1 mx-auto text-center"> | 127 | + <div |
91 | - <h5 class="display- ">PREFERENCE</h5> | 128 | + class=" |
92 | - <hr class="my-1" style="background-color: white"> | 129 | + pricing-header |
93 | - <p>카페를 선택할 떄 중요하게 여기는 요소들의 순위를 매겨주세요.</p> | 130 | + px-3 |
131 | + py-1 | ||
132 | + pt-md-3 | ||
133 | + pb-md-1 | ||
134 | + mx-auto | ||
135 | + text-center | ||
136 | + " | ||
137 | + > | ||
138 | + <h5 class="display-">PREFERENCE</h5> | ||
139 | + <hr class="my-1" style="background-color: white" /> | ||
140 | + <p> | ||
141 | + 카페를 선택할 떄 중요하게 여기는 요소들의 순위를 매겨주세요. | ||
142 | + </p> | ||
94 | <p>[ 순위가 중복되면 안됩니다. ex) 가격 1순위, 친절 1순위(X) ]</p> | 143 | <p>[ 순위가 중복되면 안됩니다. ex) 가격 1순위, 친절 1순위(X) ]</p> |
95 | </div> | 144 | </div> |
96 | <div class="text-center"> | 145 | <div class="text-center"> |
97 | - <label for="price_form" class="form-label font-weight-bold" style="margin-right: 15px">가격</label> | 146 | + <label |
147 | + for="price_form" | ||
148 | + class="form-label font-weight-bold" | ||
149 | + style="margin-right: 15px" | ||
150 | + >가격</label | ||
151 | + > | ||
98 | <div class="form-check form-check-inline" id="price_form"> | 152 | <div class="form-check form-check-inline" id="price_form"> |
99 | - <input class="form-check-input" type="radio" name="price" id="price1" value="1" checked> | 153 | + <input |
154 | + class="form-check-input" | ||
155 | + type="radio" | ||
156 | + name="price" | ||
157 | + id="price1" | ||
158 | + value="1" | ||
159 | + checked | ||
160 | + /> | ||
100 | <label class="form-check-label" for="price1">1순위</label> | 161 | <label class="form-check-label" for="price1">1순위</label> |
101 | </div> | 162 | </div> |
102 | <div class="form-check form-check-inline"> | 163 | <div class="form-check form-check-inline"> |
103 | - <input class="form-check-input" type="radio" name="price" id="price2" value="2"> | 164 | + <input |
165 | + class="form-check-input" | ||
166 | + type="radio" | ||
167 | + name="price" | ||
168 | + id="price2" | ||
169 | + value="2" | ||
170 | + /> | ||
104 | <label class="form-check-label" for="price2">2순위</label> | 171 | <label class="form-check-label" for="price2">2순위</label> |
105 | </div> | 172 | </div> |
106 | <div class="form-check form-check-inline"> | 173 | <div class="form-check form-check-inline"> |
107 | - <input class="form-check-input" type="radio" name="price" id="price3" value="3" > | 174 | + <input |
175 | + class="form-check-input" | ||
176 | + type="radio" | ||
177 | + name="price" | ||
178 | + id="price3" | ||
179 | + value="3" | ||
180 | + /> | ||
108 | <label class="form-check-label" for="price3">3순위</label> | 181 | <label class="form-check-label" for="price3">3순위</label> |
109 | </div> | 182 | </div> |
110 | <div class="form-check form-check-inline"> | 183 | <div class="form-check form-check-inline"> |
111 | - <input class="form-check-input" type="radio" name="price" id="price4" value="4" > | 184 | + <input |
185 | + class="form-check-input" | ||
186 | + type="radio" | ||
187 | + name="price" | ||
188 | + id="price4" | ||
189 | + value="4" | ||
190 | + /> | ||
112 | <label class="form-check-label" for="price4">4순위</label> | 191 | <label class="form-check-label" for="price4">4순위</label> |
113 | </div> | 192 | </div> |
114 | <hr class="my-1" style="background-color: white" /> | 193 | <hr class="my-1" style="background-color: white" /> |
115 | 194 | ||
116 | - <label for="kindness_form" class="form-label font-weight-bold" style="margin-right: 5px">친절도</label> | 195 | + <label |
196 | + for="kindness_form" | ||
197 | + class="form-label font-weight-bold" | ||
198 | + style="margin-right: 5px" | ||
199 | + >친절도</label | ||
200 | + > | ||
117 | <div class="form-check form-check-inline" id="kindness_form"> | 201 | <div class="form-check form-check-inline" id="kindness_form"> |
118 | - <input class="form-check-input" type="radio" name="kindness" id="kindness1" value="1"> | 202 | + <input |
203 | + class="form-check-input" | ||
204 | + type="radio" | ||
205 | + name="kindness" | ||
206 | + id="kindness1" | ||
207 | + value="1" | ||
208 | + /> | ||
119 | <label class="form-check-label" for="kindness">1순위</label> | 209 | <label class="form-check-label" for="kindness">1순위</label> |
120 | </div> | 210 | </div> |
121 | <div class="form-check form-check-inline"> | 211 | <div class="form-check form-check-inline"> |
122 | - <input class="form-check-input" type="radio" name="kindness" id="kindness2" value="2" checked> | 212 | + <input |
213 | + class="form-check-input" | ||
214 | + type="radio" | ||
215 | + name="kindness" | ||
216 | + id="kindness2" | ||
217 | + value="2" | ||
218 | + checked | ||
219 | + /> | ||
123 | <label class="form-check-label" for="kindness2">2순위</label> | 220 | <label class="form-check-label" for="kindness2">2순위</label> |
124 | </div> | 221 | </div> |
125 | <div class="form-check form-check-inline"> | 222 | <div class="form-check form-check-inline"> |
126 | - <input class="form-check-input" type="radio" name="kindness" id="kindness3" value="3" > | 223 | + <input |
224 | + class="form-check-input" | ||
225 | + type="radio" | ||
226 | + name="kindness" | ||
227 | + id="kindness3" | ||
228 | + value="3" | ||
229 | + /> | ||
127 | <label class="form-check-label" for="kindness3">3순위</label> | 230 | <label class="form-check-label" for="kindness3">3순위</label> |
128 | </div> | 231 | </div> |
129 | <div class="form-check form-check-inline"> | 232 | <div class="form-check form-check-inline"> |
130 | - <input class="form-check-input" type="radio" name="kindness" id="kindness4" value="4" > | 233 | + <input |
234 | + class="form-check-input" | ||
235 | + type="radio" | ||
236 | + name="kindness" | ||
237 | + id="kindness4" | ||
238 | + value="4" | ||
239 | + /> | ||
131 | <label class="form-check-label" for="kindness4">4순위</label> | 240 | <label class="form-check-label" for="kindness4">4순위</label> |
132 | </div> | 241 | </div> |
133 | 242 | ||
134 | <hr class="my-1" style="background-color: white" /> | 243 | <hr class="my-1" style="background-color: white" /> |
135 | 244 | ||
136 | - <label for="noise_form" class="form-label font-weight-bold" style="margin-right: 15px">소음</label> | 245 | + <label |
246 | + for="noise_form" | ||
247 | + class="form-label font-weight-bold" | ||
248 | + style="margin-right: 15px" | ||
249 | + >소음</label | ||
250 | + > | ||
137 | <div class="form-check form-check-inline" id="noise_form"> | 251 | <div class="form-check form-check-inline" id="noise_form"> |
138 | - <input class="form-check-input" type="radio" name="noise" id="noise1" value="1"> | 252 | + <input |
253 | + class="form-check-input" | ||
254 | + type="radio" | ||
255 | + name="noise" | ||
256 | + id="noise1" | ||
257 | + value="1" | ||
258 | + /> | ||
139 | <label class="form-check-label" for="noise">1순위</label> | 259 | <label class="form-check-label" for="noise">1순위</label> |
140 | </div> | 260 | </div> |
141 | <div class="form-check form-check-inline"> | 261 | <div class="form-check form-check-inline"> |
142 | - <input class="form-check-input" type="radio" name="noise" id="noise2" value="2"> | 262 | + <input |
263 | + class="form-check-input" | ||
264 | + type="radio" | ||
265 | + name="noise" | ||
266 | + id="noise2" | ||
267 | + value="2" | ||
268 | + /> | ||
143 | <label class="form-check-label" for="kindness2">2순위</label> | 269 | <label class="form-check-label" for="kindness2">2순위</label> |
144 | </div> | 270 | </div> |
145 | <div class="form-check form-check-inline"> | 271 | <div class="form-check form-check-inline"> |
146 | - <input class="form-check-input" type="radio" name="noise" id="noise3" value="3" checked> | 272 | + <input |
273 | + class="form-check-input" | ||
274 | + type="radio" | ||
275 | + name="noise" | ||
276 | + id="noise3" | ||
277 | + value="3" | ||
278 | + checked | ||
279 | + /> | ||
147 | <label class="form-check-label" for="noise3">3순위</label> | 280 | <label class="form-check-label" for="noise3">3순위</label> |
148 | </div> | 281 | </div> |
149 | <div class="form-check form-check-inline"> | 282 | <div class="form-check form-check-inline"> |
150 | - <input class="form-check-input" type="radio" name="noise" id="noise4" value="4" > | 283 | + <input |
284 | + class="form-check-input" | ||
285 | + type="radio" | ||
286 | + name="noise" | ||
287 | + id="noise4" | ||
288 | + value="4" | ||
289 | + /> | ||
151 | <label class="form-check-label" for="noise4">4순위</label> | 290 | <label class="form-check-label" for="noise4">4순위</label> |
152 | </div> | 291 | </div> |
153 | 292 | ||
154 | <hr class="my-1" style="background-color: white" /> | 293 | <hr class="my-1" style="background-color: white" /> |
155 | 294 | ||
156 | - <label for="accessibility_form" class="form-label font-weight-bold" style="margin-right: 5px">접근성</label> | 295 | + <label |
296 | + for="accessibility_form" | ||
297 | + class="form-label font-weight-bold" | ||
298 | + style="margin-right: 5px" | ||
299 | + >접근성</label | ||
300 | + > | ||
157 | <div class="form-check form-check-inline" id="accessibility_form"> | 301 | <div class="form-check form-check-inline" id="accessibility_form"> |
158 | - <input class="form-check-input" type="radio" name="accessibility" id="accessibility1" value="1"> | 302 | + <input |
159 | - <label class="form-check-label" for="accessibility">1순위</label> | 303 | + class="form-check-input" |
304 | + type="radio" | ||
305 | + name="accessibility" | ||
306 | + id="accessibility1" | ||
307 | + value="1" | ||
308 | + /> | ||
309 | + <label class="form-check-label" for="accessibility" | ||
310 | + >1순위</label | ||
311 | + > | ||
160 | </div> | 312 | </div> |
161 | <div class="form-check form-check-inline"> | 313 | <div class="form-check form-check-inline"> |
162 | - <input class="form-check-input" type="radio" name="accessibility" id="accessibility2" value="2"> | 314 | + <input |
163 | - <label class="form-check-label" for="accessibility2">2순위</label> | 315 | + class="form-check-input" |
316 | + type="radio" | ||
317 | + name="accessibility" | ||
318 | + id="accessibility2" | ||
319 | + value="2" | ||
320 | + /> | ||
321 | + <label class="form-check-label" for="accessibility2" | ||
322 | + >2순위</label | ||
323 | + > | ||
164 | </div> | 324 | </div> |
165 | <div class="form-check form-check-inline"> | 325 | <div class="form-check form-check-inline"> |
166 | - <input class="form-check-input" type="radio" name="accessibility" id="accessibility3" value="3" > | 326 | + <input |
167 | - <label class="form-check-label" for="accessibility3">3순위</label> | 327 | + class="form-check-input" |
328 | + type="radio" | ||
329 | + name="accessibility" | ||
330 | + id="accessibility3" | ||
331 | + value="3" | ||
332 | + /> | ||
333 | + <label class="form-check-label" for="accessibility3" | ||
334 | + >3순위</label | ||
335 | + > | ||
168 | </div> | 336 | </div> |
169 | <div class="form-check form-check-inline"> | 337 | <div class="form-check form-check-inline"> |
170 | - <input class="form-check-input" type="radio" name="accessibility" id="accessibility4" value="4" checked> | 338 | + <input |
171 | - <label class="form-check-label" for="accessibility4">4순위</label> | 339 | + class="form-check-input" |
340 | + type="radio" | ||
341 | + name="accessibility" | ||
342 | + id="accessibility4" | ||
343 | + value="4" | ||
344 | + checked | ||
345 | + /> | ||
346 | + <label class="form-check-label" for="accessibility4" | ||
347 | + >4순위</label | ||
348 | + > | ||
172 | </div> | 349 | </div> |
173 | </div> | 350 | </div> |
174 | <hr class="my-3" style="background-color: white" /> | 351 | <hr class="my-3" style="background-color: white" /> |
175 | - <button type="submit" style="float: right" class="btn btn-primary btn-lg" id="please">Submit</button> | 352 | + <button |
353 | + type="submit" | ||
354 | + style="float: right" | ||
355 | + class="btn btn-primary btn-lg" | ||
356 | + id="please" | ||
357 | + > | ||
358 | + Submit | ||
359 | + </button> | ||
176 | </form> | 360 | </form> |
177 | </div> | 361 | </div> |
178 | <div class="col-2"></div> | 362 | <div class="col-2"></div> |
... | @@ -186,18 +370,14 @@ | ... | @@ -186,18 +370,14 @@ |
186 | "다른 NICKNAME을 입력하여 주세요" | 370 | "다른 NICKNAME을 입력하여 주세요" |
187 | ); | 371 | ); |
188 | </script> | 372 | </script> |
189 | - <%}%> | 373 | + <%}%> <%if (message=='need data'){%> |
190 | - | ||
191 | - <%if (message=='need data'){%> | ||
192 | <script type="text/javascript"> | 374 | <script type="text/javascript"> |
193 | alert( | 375 | alert( |
194 | "입력하시지 않은 정보가 있습니다." + | 376 | "입력하시지 않은 정보가 있습니다." + |
195 | "모든 정보를 입력해주시길 바라겠습니다." | 377 | "모든 정보를 입력해주시길 바라겠습니다." |
196 | ); | 378 | ); |
197 | </script> | 379 | </script> |
198 | - <%}%> | 380 | + <%}%> <%if (message=='wrong preference'){%> |
199 | - | ||
200 | - <%if (message=='wrong preference'){%> | ||
201 | <script type="text/javascript"> | 381 | <script type="text/javascript"> |
202 | alert( | 382 | alert( |
203 | "중복된 선호도 순위가 있습니다." + | 383 | "중복된 선호도 순위가 있습니다." + |
... | @@ -214,6 +394,10 @@ | ... | @@ -214,6 +394,10 @@ |
214 | }); | 394 | }); |
215 | } | 395 | } |
216 | </script> | 396 | </script> |
217 | - <script src="javascripts/bootstrap.js"></script> | ||
218 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 397 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
398 | + <script | ||
399 | + src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" | ||
400 | + integrity="undefined" | ||
401 | + crossorigin="anonymous" | ||
402 | + ></script> | ||
219 | </html> | 403 | </html> | ... | ... |
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <link rel="stylesheet" href="stylesheets/bootstrap.css" /> | 4 | + <link |
5 | + rel="stylesheet" | ||
6 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" | ||
7 | + integrity="undefined" | ||
8 | + crossorigin="anonymous" | ||
9 | + /> | ||
5 | <title>Cafe Map</title> | 10 | <title>Cafe Map</title> |
6 | <style> | 11 | <style> |
7 | .navbar { | 12 | .navbar { |
... | @@ -378,8 +383,12 @@ | ... | @@ -378,8 +383,12 @@ |
378 | placeOverlay.setMap(map); | 383 | placeOverlay.setMap(map); |
379 | } | 384 | } |
380 | </script> | 385 | </script> |
381 | - <script src="javascripts/bootstrap.js"></script> | ||
382 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 386 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
387 | + <script | ||
388 | + src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" | ||
389 | + integrity="undefined" | ||
390 | + crossorigin="anonymous" | ||
391 | + ></script> | ||
383 | 392 | ||
384 | <!-- 모달 바디 --> | 393 | <!-- 모달 바디 --> |
385 | <div | 394 | <div | ... | ... |
... | @@ -5,7 +5,12 @@ | ... | @@ -5,7 +5,12 @@ |
5 | 5 | ||
6 | <title>Enroll Review</title> | 6 | <title>Enroll Review</title> |
7 | 7 | ||
8 | - <link rel="stylesheet" href="/stylesheets/bootstrap.css"> | 8 | + <link |
9 | + rel="stylesheet" | ||
10 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" | ||
11 | + integrity="undefined" | ||
12 | + crossorigin="anonymous" | ||
13 | + /> | ||
9 | <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" rel="stylesheet"> | 14 | <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" rel="stylesheet"> |
10 | 15 | ||
11 | <style> | 16 | <style> |
... | @@ -123,6 +128,6 @@ | ... | @@ -123,6 +128,6 @@ |
123 | </div> | 128 | </div> |
124 | </section> | 129 | </section> |
125 | </body> | 130 | </body> |
126 | -<script src="/javascripts/bootstrap.js"></script> | ||
127 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 131 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
132 | +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="undefined" crossorigin="anonymous"></script> | ||
128 | </html> | 133 | </html> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment