better upload
This commit is contained in:
parent
0e6fd271f6
commit
6bd1805521
6 changed files with 82 additions and 23 deletions
|
|
@ -43,21 +43,34 @@ body {
|
||||||
|
|
||||||
.lang {
|
.lang {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 15px;
|
top: 20px;
|
||||||
right: 20px;
|
right: 15px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
writing-mode: vertical-lr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 15px;
|
top: 20px;
|
||||||
left: 20px;
|
right: 37.5px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
writing-mode: vertical-lr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prd {
|
||||||
|
position: fixed;
|
||||||
|
top: 20px;
|
||||||
|
right: 40px;
|
||||||
|
z-index: 2;
|
||||||
|
writing-mode: vertical-lr;
|
||||||
|
}
|
||||||
|
|
||||||
.sub {
|
.sub {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 15px;
|
bottom: 15px;
|
||||||
left: 20px;
|
left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list2 {
|
.list2 {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 15px;
|
bottom: 15px;
|
||||||
|
|
@ -204,6 +217,49 @@ button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.soundinfo {
|
||||||
|
position: fixed;
|
||||||
|
width: 500px;
|
||||||
|
height: auto;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
background: rgba(0, 0, 0, 0.7);
|
||||||
|
transition: opacity 500ms;
|
||||||
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
z-index: 900;
|
||||||
|
background-color: white;
|
||||||
|
opacity: 0.5;
|
||||||
|
color: white;
|
||||||
|
padding: 15px 15px 5px 15px;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
.soundinfo:target {
|
||||||
|
visibility: visible;
|
||||||
|
opacity: 1;
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
.roomsel {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.intro {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%);
|
||||||
|
font-size: 15px;
|
||||||
|
margin-bottom: 50px;
|
||||||
|
writing-mode: vertical-lr;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 700px) {
|
@media screen and (max-width: 700px) {
|
||||||
|
|
||||||
.notice {
|
.notice {
|
||||||
|
|
|
||||||
|
|
@ -222,6 +222,7 @@ function draw() {
|
||||||
if (x < exit_x) {
|
if (x < exit_x) {
|
||||||
img.remove();
|
img.remove();
|
||||||
snd.stop();
|
snd.stop();
|
||||||
|
delete snd;
|
||||||
arr.splice(i, 1);
|
arr.splice(i, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -240,9 +240,8 @@ fastify.post("/entry", async function (request, reply) {
|
||||||
pass: audiofile.fields.pass.value
|
pass: audiofile.fields.pass.value
|
||||||
})));
|
})));
|
||||||
|
|
||||||
// res.writeHead(301, {"Location": "/submit"});
|
//reply.send('done!');
|
||||||
// return res.end();
|
//reply.redirect('/submit');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//socket.io
|
//socket.io
|
||||||
|
|
|
||||||
|
|
@ -236,15 +236,15 @@
|
||||||
//
|
//
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.open("POST", "/entry");
|
request.open("POST", "/entry");
|
||||||
|
request.onload = () => {
|
||||||
|
alert('Thank you!');
|
||||||
|
//location.reload();
|
||||||
|
location.assign("/en/submit");
|
||||||
|
}
|
||||||
request.send(fd);
|
request.send(fd);
|
||||||
|
|
||||||
//
|
//
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
//
|
|
||||||
alert('Thank you!');
|
|
||||||
//location.reload();
|
|
||||||
location.assign("/en/submit");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const form = document.getElementById('form');
|
const form = document.getElementById('form');
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="bg"></div>
|
<div class="bg"></div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="lang"><a href="/en/entry">EN</a></div>
|
<div class="lang"><a href="/en/entry">EN</a></div>
|
||||||
<div class="list"><a href="/list">목록</a></div>
|
<div class="prd"><a href="/" target="_blank">퍼레이드</a></div>
|
||||||
<div class="notice">
|
<div class="notice">
|
||||||
<section>
|
<section>
|
||||||
<h1>흐름을 향하여 걷는</h1>
|
<h1>흐름을 향하여 걷는</h1>
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
장소<br/>
|
장소<br/>
|
||||||
<a href="https://walkingtowardstheflow.xyz">walkingtowardstheflow.xyz</a>, <a href="https://www.youtube.com/c/franceencoree">주한프랑스대사관 문화과 유튜브 채널</a>
|
<a href="https://walkingtowardstheflow.xyz">walkingtowardstheflow.xyz</a><br><a href="https://www.youtube.com/c/franceencoree">주한프랑스대사관 문화과 유튜브 채널</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
퍼레이드 구성<br/>
|
퍼레이드 구성<br/>
|
||||||
|
|
@ -109,15 +109,16 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>6. 비밀번호 숫자 2개_삭제시 필요</h3>
|
<h3>6. 비밀 번호</h3>
|
||||||
<input id="pass" name="pass" type="text" maxlength="2" pattern="^\d{2}$" title="암호는 숫자x2개로 해주세요." required />
|
<input id="pass" name="pass" type="text" maxlength="2" pattern="^\d{2}$" title="암호는 숫자x2개로 해주세요." required />
|
||||||
</li>
|
<small>두 자리 숫자를 입력해주세요. 업로드한 소리를 삭제할 때 쓰입니다.</sma </li>
|
||||||
<li>
|
<li>
|
||||||
<input id="submit" type="submit" value="제출하기" />
|
<input id="submit" type="submit" value="제출하기" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div><!-- div class="notice" -->
|
</div><!-- div class="notice" -->
|
||||||
</div><!-- div class="content" -->
|
</div><!-- div class="content" -->
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -237,15 +238,15 @@
|
||||||
//
|
//
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.open("POST", "/entry");
|
request.open("POST", "/entry");
|
||||||
|
request.onload = () => {
|
||||||
|
alert('감사합니다!');
|
||||||
|
//location.reload();
|
||||||
|
location.assign("/submit");
|
||||||
|
}
|
||||||
request.send(fd);
|
request.send(fd);
|
||||||
|
|
||||||
//
|
//
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
//
|
|
||||||
alert('감사합니다!');
|
|
||||||
//location.reload();
|
|
||||||
location.assign("/submit");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const form = document.getElementById('form');
|
const form = document.getElementById('form');
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,9 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="bg"></div>
|
<div class="bg"></div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<div class="notice">
|
||||||
|
<h1> 흐름을 향하여 걷는</h1>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue