-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregistration.html
83 lines (82 loc) · 3.82 KB
/
registration.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Войти или Регистрация</title>
<link rel="stylesheet" href="login.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav>
<div class="logo">Kametay Events</div>
<ul>
<li><a href="Event%20Management%20System.html">Главная</a></li>
<li><a href="#">О Нас</a></li>
<li><a href="#">Контакты</a></li>
</ul>
</nav>
<h1>Добро пожаловать!</h1>
</header>
<main>
<div class="form-container">
<form id="login-form">
<h2>Войти</h2>
<div class="input-group">
<label for="email">Email:</label>
<input type="email" id="email" required>
</div>
<div class="input-group">
<label for="password">Пароль:</label>
<input type="password" id="password" required>
</div>
<button type="submit" class="button">ВОЙТИ</button>
<p>Нет аккаунта? <a href="#" id="show-register-form">Регистрация</a></p>
</form>
<form id="register-form" style="display: none;">
<h2>Регистрация</h2>
<div class="input-group">
<label for="firstName">Имя:</label>
<input type="text" id="firstName" name="firstName" required>
</div>
<div class="input-group">
<label for="lastName">Фамилия:</label>
<input type="text" id="lastName" name="lastName" required>
</div>
<div class="input-group">
<label for="age">Возраст:</label>
<input type="number" id="age" name="age" required>
</div>
<div class="input-group">
<label for="register-email">Email:</label>
<input type="email" id="register-email" name="email" required>
</div>
<div class="input-group">
<label for="register-password">Пароль:</label>
<input type="password" id="register-password" name="password" required>
</div>
<div class="input-group">
<label for="confirm-password">Подтвердите пароль:</label>
<input type="password" id="confirm-password" name="confirm-password" required>
</div>
<button type="submit" class="button">Регистрация</button>
<p>Уже есть аккаунт? <a href="#" id="show-login-form">Войти</a></p>
</form>
</div>
</main>
<footer>
<p>© 2024 Система управления мероприятиями. Все права защищены.</p>
</footer>
<script>
document.getElementById('show-register-form').addEventListener('click', function() {
document.getElementById('login-form').style.display = 'none';
document.getElementById('register-form').style.display = 'block';
});
document.getElementById('show-login-form').addEventListener('click', function() {
document.getElementById('login-form').style.display = 'block';
document.getElementById('register-form').style.display = 'none';
});
</script>
</body>
</html>