-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
125 lines (109 loc) · 5.38 KB
/
login.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RL Games - login</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link rel="stylesheet" href="css/estilo.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="index.html"><img src="img/logo.png" alt=""></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Promoções</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Console</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Jogos</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">Login</a>
</li>
</ul>
<form class="d-flex" role="search">
<input class="form-control me-2" type="search" placeholder="O que deseja buscar?" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Buscar</button>
</form>
</div>
</div>
</nav>
</header>
<main>
<section id="section-login">
<h1>Login</h1>
<div class="d-flex justify-content-center">
<form method="post" action="" id="login">
<p>
<label for="usuario">Nome: </label>
<input id="usuario" name="usuario" required="required" type="text"
placeholder="Insira o seu usuário" class="form-control" />
</p>
<p>
<label for="senha">Senha: </label>
<input id="senha" name="senha" required="required" type="password"
placeholder="Insira a sua senha" class="form-control" />
</p>
<p>
<input type="button" value="login" class="btn btn-primary" id="bt-login" onclick="login()" />
</p>
</form>
</div>
</section>
<section id="section-cadastro">
<div id="botao-cadastrar">
<button type="button" class="btn btn-info">Não é cadastrado ainda? Cadastre-se</button>
</div>
<div id="form-cadastrar">
<h1>Criar minha conta</h1>
<p>Informe os seus dados abaixo para criar sua conta.</p>
<div class="d-flex justify-content-center">
<form method="post" action="" id="login">
<p>
<label for="usuario">Usuário: </label>
<input id="usuario" name="usuario" required="required" type="text"
placeholder="ex. nome de usuário" class="form-control" />
</p>
<p>
<label for="email">E-mail: </label>
<input id="email" name="email" required="required" type="email"
placeholder="[email protected]" class="form-control" />
</p>
<p>
<label for="senha">Senha: </label>
<input id="senha" name="senha" required="required" type="password"
placeholder="mínimo de 6 caracteres" class="form-control" />
</p>
<p>
<input type="button" value="Cadastrar" class="btn btn-primary" id="bt-cadastrar"
onclick="cadastro()" />
</p>
</form>
</div>
</div>
</section>
</main>
<footer>
<p>© RL Games</p>
</footer>
<button id="voltar-topo" type="button" class="btn btn-outline-primary">↑ Voltar ao topo</button>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<script src="https://code.jquery.com/jquery-3.6.1.js"
integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI=" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/jquery-script.js"></script>
</body>
</html>