Skip to content

Commit

Permalink
Merge pull request #57 from Tekken-Supporter/feature/newjinlee
Browse files Browse the repository at this point in the history
mod: charinfo review char dropbox
  • Loading branch information
newjinlee authored Nov 29, 2023
2 parents 8d58f4d + 34fd427 commit ca7b2b0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
42 changes: 40 additions & 2 deletions charinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,52 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300&display=swap" rel="stylesheet">


</head>

<body>
<div id="reviews-container">
<form onsubmit="return submitReview" action="#">
<label >캐릭터 이름:</label>
<input type="text" id="cName" name="c_name"></input><br>
<select class="input_champion" id="cName" name="c_name">
<option value="" disabled selected hidden>캐릭터를 선택하세요</option>
<option value="AKUMA">AKUMA</option>
<option value="ALISA">ALISA</option>
<option value="ARMOR KING">ARMOR KING</option>
<option value="ASUKA">ASUKA</option>
<option value="BOB">BOB</option>
<option value="BRYAN">BRYAN</option>
<option value="CLAUDIO">CLAUDIO</option>
<option value="DEVIL JIN">DEVIL JIN</option>
<option value="DRAGUNOV">DRAGUNOV</option>
<option value="EDDY">EDDY</option>
<option value="FENG">FENG</option>
<option value="GIGAS">GIGAS</option>
<option value="HEIHACHI">HEIHACHI</option>
<option value="HWARANG">HWARANG</option>
<option value="JACK-7">JACK-7</option>
<option value="JIN">JIN</option>
<option value="JOSIE">JOSIE</option>
<option value="KATARINA">KATARINA</option>
<option value="KAZUMI">KAZUMI</option>
<option value="KAZUYA">KAZUYA</option>
<option value="KING">KING</option>
<option value="KUMA">KUMA</option>
<option value="LARS">LARS</option>
<option value="LAW">LAW</option>
<option value="LEE">LEE</option>
<option value="LEO">LEO</option>
<option value="LILI">LILI</option>
<option value="LUCKY CHLOE">LUCKY CHLOE</option>
<option value="MASTER RAVEN">MASTER RAVEN</option>
<option value="MIGUEL">MIGUEL</option>
<option value="NINA">NINA</option>
<option value="PANDA">PANDA</option>
<option value="PAUL">PAUL</option>
<option value="SHAHEEN">SHAHEEN</option>
<option value="STEVE">STEVE</option>
<option value="XIAOYU">XIAOYU</option>
<option value="YOSHIMITSU">YOSHIMITSU</option>
</select><br>

<label>사용자 ID:</label>
<input type="text" id="userId" name="id"></input><br>
Expand Down
4 changes: 2 additions & 2 deletions charinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ function deleteReviewFunction(reviewId) {

function deleteReview(reviewId) {
var xhr4 = new XMLHttpRequest();
var url = "http://34.127.90.191:3000/character/review?number=${review.number}";
var url = "http://34.127.90.191:3000/character/review";

xhr4.open("DELETE", url + "?reviewId=" + reviewId, true);
xhr4.open("DELETE", url + "?number" + reviewId, true);

xhr4.onreadystatechange = function () {
if (xhr4.readyState == 4) {
Expand Down

0 comments on commit ca7b2b0

Please sign in to comment.