forked from ReuseTech/aplicacao_reusetech
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
135 lines (121 loc) · 3.74 KB
/
index.php
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
126
127
128
129
130
131
132
133
134
135
<?php
declare(strict_types=1);
session_start();
if(!isset($_SESSION["login"])){
header("location:login.php");
exit();
}
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aplicativo ReuseTech</title>
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/responsive.css">
<style>
body {
background-color: #ffffff;
color: #000000;
font-family: Arial, sans-serif;
margin: 0; /* Remove a margem padrão do corpo */
display: flex;
flex-direction: column;
min-height: 100vh; /* Garante que o corpo ocupa toda a altura da tela */
}
header {
background-color: #000000;
padding: 10px;
text-align: center;
border-radius: 10px 10px 0 0;
flex-shrink: 0; /* Não permite que o cabeçalho encolha */
}
header h1 {
color: #00ff00;
}
main {
padding: 20px;
border-radius: 0 0 10px 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #f7f7f7;
flex-grow: 1; /* Permite que o conteúdo principal cresça e ocupe o espaço disponível */
}
.conteudo {
max-width: 500px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.rodape {
background-color: #000000;
height: 50px;
padding: 0 10px;
border-radius: 0 0 10px 10px;
text-align: center;
color: #00ff00;
margin-top: auto; /* Mantém o rodapé na parte inferior */
}
.sair {
text-align: center;
}
.sair input[type="button"] {
background-color: #333;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
font-weight: bold;
transition: background-color 0.3s ease;
}
#funcoes a {
background-color: transparent;
color: #000;
padding: 8px 16px;
border-radius: 5px;
text-decoration: none;
display: block; /* Alterado de inline-block para block */
margin: 10px auto; /* Centralizar os botões */
font-size: 16px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
text-align: center;
width: 400px; /* Largura fixa para todos os botões */
}
#funcoes a:hover {
background-color: gray;
}
</style>
</head>
<body>
<header>
<img src="images/reusetech.png" alt="ReuseTech">
<h1>ReuseTech</h1>
</header>
<main>
<div class="conteudo">
<!-- Conteúdo principal aqui -->
<div id="funcoes">
<a href="visualizar.php">
<h1>Visualizar Estoque</h1>
<p>Clique aqui para visualizar o nosso estoque de peças</p>
</a>
<a href="adicionar.php">
<h1>Adicionar Peça ao Estoque</h1>
<p>Clique aqui para adicionar peças ao nosso estoque</p>
</a>
</div>
<div class="sair">
<a href="sair.php"><input type="button" value="Sair"></a>
</div>
</div>
</main>
<div class="rodape">
© ReuseTech 2021-2023. Todos os direitos reservados.
</div>
</body>
</html>