Spaces:
Runtime error
Runtime error
kootaeng2 commited on
Commit ยท
96b3478
1
Parent(s): 03e7aa0
Feat: Implement user login and registration system
Browse files- src/templates/login.html +90 -11
src/templates/login.html
CHANGED
|
@@ -3,18 +3,97 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>๋ก๊ทธ์ธ</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
</head>
|
| 7 |
<body>
|
| 8 |
-
<
|
| 9 |
-
|
| 10 |
-
<
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</body>
|
| 20 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>๋ก๊ทธ์ธ</title>
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
font-family: "Spoqa Han Sans Neo", Arial, sans-serif;
|
| 9 |
+
padding: 50px;
|
| 10 |
+
background: linear-gradient(135deg, #ece9f7, #cacae0);
|
| 11 |
+
display: flex;
|
| 12 |
+
justify-content: center;
|
| 13 |
+
align-items: center;
|
| 14 |
+
min-height: 100vh;
|
| 15 |
+
margin: 0;
|
| 16 |
+
}
|
| 17 |
+
.container {
|
| 18 |
+
background: white;
|
| 19 |
+
border-radius: 20px;
|
| 20 |
+
padding: 40px;
|
| 21 |
+
box-shadow: 0 8px 32px #0001;
|
| 22 |
+
width: 100%;
|
| 23 |
+
max-width: 450px;
|
| 24 |
+
box-sizing: border-box;
|
| 25 |
+
}
|
| 26 |
+
h1 {
|
| 27 |
+
color: #6598e5;
|
| 28 |
+
margin-bottom: 25px;
|
| 29 |
+
text-align: center;
|
| 30 |
+
font-size: 28px;
|
| 31 |
+
}
|
| 32 |
+
.form-group {
|
| 33 |
+
margin-bottom: 20px;
|
| 34 |
+
}
|
| 35 |
+
label {
|
| 36 |
+
display: block;
|
| 37 |
+
margin-bottom: 8px;
|
| 38 |
+
color: #555;
|
| 39 |
+
font-size: 16px;
|
| 40 |
+
}
|
| 41 |
+
input[type="text"],
|
| 42 |
+
input[type="password"] {
|
| 43 |
+
width: 100%;
|
| 44 |
+
border-radius: 8px;
|
| 45 |
+
border: 1px solid #d0d0e0;
|
| 46 |
+
padding: 14px;
|
| 47 |
+
font-size: 16px;
|
| 48 |
+
background: #f7f7fb;
|
| 49 |
+
box-sizing: border-box;
|
| 50 |
+
}
|
| 51 |
+
button {
|
| 52 |
+
width: 100%;
|
| 53 |
+
background: #6598e5;
|
| 54 |
+
color: white;
|
| 55 |
+
padding: 14px;
|
| 56 |
+
border-radius: 8px;
|
| 57 |
+
border: none;
|
| 58 |
+
font-size: 18px;
|
| 59 |
+
font-weight: bold;
|
| 60 |
+
cursor: pointer;
|
| 61 |
+
transition: 0.2s;
|
| 62 |
+
margin-top: 10px;
|
| 63 |
+
}
|
| 64 |
+
button:hover {
|
| 65 |
+
background: #5540a3;
|
| 66 |
+
}
|
| 67 |
+
p {
|
| 68 |
+
text-align: center;
|
| 69 |
+
margin-top: 20px;
|
| 70 |
+
color: #666;
|
| 71 |
+
}
|
| 72 |
+
a {
|
| 73 |
+
color: #6598e5;
|
| 74 |
+
text-decoration: none;
|
| 75 |
+
font-weight: bold;
|
| 76 |
+
}
|
| 77 |
+
a:hover {
|
| 78 |
+
text-decoration: underline;
|
| 79 |
+
}
|
| 80 |
+
</style>
|
| 81 |
</head>
|
| 82 |
<body>
|
| 83 |
+
<div class="container">
|
| 84 |
+
<h1>๋ก๊ทธ์ธ</h1>
|
| 85 |
+
<form method="post">
|
| 86 |
+
<div class="form-group">
|
| 87 |
+
<label for="username">์ฌ์ฉ์ ์ด๋ฆ</label>
|
| 88 |
+
<input type="text" id="username" name="username" required>
|
| 89 |
+
</div>
|
| 90 |
+
<div class="form-group">
|
| 91 |
+
<label for="password">๋น๋ฐ๋ฒํธ</label>
|
| 92 |
+
<input type="password" id="password" name="password" required>
|
| 93 |
+
</div>
|
| 94 |
+
<button type="submit">๋ก๊ทธ์ธ</button>
|
| 95 |
+
</form>
|
| 96 |
+
<p>๊ณ์ ์ด ์์ผ์ ๊ฐ์? <a href="/signup">ํ์๊ฐ์
</a></p>
|
| 97 |
+
</div>
|
| 98 |
</body>
|
| 99 |
</html>
|