-
Notifications
You must be signed in to change notification settings - Fork 0
/
registrazione.html
99 lines (98 loc) · 3.79 KB
/
registrazione.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title>Registrazione - D3Games</title>
<meta content="E-Commerce di videogiochi" name="description">
<meta content="#6e00ee" name="theme-color">
<link href="images/favicon.png" rel="icon" type="image/png"/>
<meta content="height=device-height, width=device-width, initial-scale=1.0, viewport-fit=cover" name="viewport">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-icons.min.css" rel="stylesheet">
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/jquery-3.6.0.min.js"></script>
<script defer src="js/scripts.js"></script>
<link href="css/footer.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/registration.css" rel="stylesheet">
<script defer src="js/validators.js"></script>
</head>
<body>
<div class="center">
<h1>Registrazione</h1>
<form action="#" id="signupForm" method="post">
<div id="alertPlaceholder"></div>
<div class="txt_field">
<input id="nome" name="nome" required type="text">
<span></span>
<label for="nome">Nome</label>
</div>
<div class="txt_field">
<input id="cognome" name="cognome" required type="text">
<span></span>
<label for="cognome">Cognome</label>
</div>
<div class="txt_field">
<input id="email" name="email" required type="text">
<span></span>
<label for="email">Email</label>
</div>
<div class="txt_field">
<input id="username" name="username" required type="text">
<span></span>
<label for="username">Username</label>
</div>
<div class="txt_field">
<input id="password" name="password" required type="password">
<span></span>
<label for="password">Password</label>
</div>
<div class="txt_field">
<input id="confirmPassword" name="confirmPassword" required type="password">
<span></span>
<label for="confirmPassword">Conferma password</label>
</div>
<div class="txt_field">
<input id="data" name="data" required type="date">
<span></span>
<label for="data">Data di nascita</label>
</div>
<select class="form-select" id="sesso" name="sesso" required>
<option selected value="Maschio">Maschio</option>
<option value="Femmina">Femmina</option>
<option value="Altro">Altro</option>
</select>
<div class="txt_field">
<input data-bs-placement="top" data-bs-toggle="tooltip" id="indirizzo" name="indirizzo" required
title="Es. Via del Corso 15, Roma" type="text">
<span></span>
<label for="username">Indirizzo</label>
</div>
<div class="txt_field">
<input id="cap" maxlength="5" minlength="5" name="cap" required type="text">
<span></span>
<label for="username">CAP</label>
</div>
<div class="txt_field">
<input id="paese" name="paese" required type="text">
<span></span>
<label for="username">Paese</label>
</div>
<div id="liveAlertPlaceholder"></div>
<input id="register" type="submit" value="Registrati">
<div class="signup_link">
Hai già un account? <a href="login">Accedi</a>
</div>
</form>
</div>
<script>
$(document).ready(function () {
$('#signupForm').submit(false);
$('#register').click(function () {
window.location.href = '/D3Games'
});
});
</script>
</body>
</html>