index.html
887 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<h1>대문 페이지</h1>
이름: {{user}}
레벨: {{data.level}}
포인트: {{data.point}}
경험치: {{data.exp}}
<form action="/" method="post">
다음이름: <input type="text" name='user'>
<input type="submit" value='전송하기'>
</form>
<form action="http://localhost:5000/uploadFace" method="POST"
enctype="multipart/form-data"
>
<input type="file" name="file">
<input type="submit"/>
</form>
<form action="http://localhost:5000/uploadVideo" method="POST"
enctype="multipart/form-data"
>
<input type="file" name='video'>
<input type="submit">
</form>
</body>
</html>