-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
76 lines (65 loc) · 2.55 KB
/
index.php
File metadata and controls
76 lines (65 loc) · 2.55 KB
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
<!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>Help Desk</title>
<!--Icone que fica do lado do title-->
<link rel="icon" href="./images/icon.png">
<!--Icones usados do Phospor Icons-->
<script src="https://unpkg.com/phosphor-icons"></script>
<!--Fontes usadas-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<!--Css externo-->
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/page-landing.css">
<link rel="stylesheet" href="./css/animation.css">
</head>
<body>
<div id="page-landing">
<div id="container">
<header>
<img
id="logo"
class="animate-up"
src="./images/Logo_Help_Desk.svg"
alt="Logomarca Help Desk"
>
<h1 class="animate-up">Bem-vindo! Faça seu login</h1>
</header>
<main>
<form action="valida_login.php" method="POST">
<div class="login_input animate-up">
<label for="email">Seu e-mail</label>
<i class="ph-envelope-simple input-icon"></i>
<input type="email" name="email" id="email">
</div>
<div class="login_input animate-up">
<label for="senha">Senha</label>
<i class="ph-lock-simple input-icon"></i>
<input type="password" name="senha" id="senha">
</div>
<?php
if( isset($_GET['login']) && $_GET['login'] == 'erro' ){
?>
<div class="text-danger animate-up">
Usuário ou senha inválido(s)!
</div>
<?php } ?>
<?php
if( isset($_GET['login']) && $_GET['login'] == 'erro2' ){
?>
<div class="text-danger animate-up">
Faça login antes de acessar as páginas!
</div>
<?php } ?>
<button class="animate-up" type="submit">Entrar na plataforma</button>
</form>
</main>
</div>
</div>
</body>
</html>