-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (102 loc) · 4.24 KB
/
index.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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sistema de Cadastro Avançado</title>
<!-- Favicon -->
<link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon">
<!-- Estilo CSS -->
<link rel="stylesheet" href="css/global.css">
<link rel="stylesheet" href="css/FormCadastro/FormCadastro.module.css">
<link rel="stylesheet" href="css/ListRegisters/ListRegisters.module.css">
<link rel="stylesheet" href="css/CardDetails/CardDetails.module.css">
<!-- Biblioteca de icons Phosphor -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
</head>
<body>
<header>
<div class="logo-title">
<img id="logo-jase" src="assets/LOGO.png" alt="Logo JA Solutions Engine" width="50px">
<h1 class="title-header">
Data Control
</h1>
</div>
<!-- Tema claro ou escuro -->
<button id="themeButton" title="Alterar tema">
<i class="ph ph-moon"></i>
</button>
</header>
<main>
<section id="form-section">
<h1 class="title-form" title="Adicione os dados no formulário."><i class="ph ph-form"></i> Sistema de Cadastro</h1>
<div id="formContainer">
<form id="cadastro-form">
<label for="nome">
<i class="ph ph-user-circle"></i> Nome:
</label>
<input type="text" placeholder="Ex: Jonh Alex" id="nome" required>
<label for="idade">
<i class="ph ph-calendar"></i> Idade:
</label>
<input type="number" placeholder="Ex: 20" min="1" id="idade" required>
<label for="email">
<i class="ph ph-envelope-simple"></i> Email:
</label>
<input type="email" placeholder="Ex: [email protected]" id="email" required>
<button type="submit" id="submitButton">
<i class="ph ph-user-plus"></i> Cadastrar
</button>
<!-- Input de capturar ID anônimo -->
<input type="hidden" id="id" value="">
</form>
</div>
</section>
<section id="details-section">
<h2 class="title-details"><i class="ph ph-list"></i> Cadastros</h2>
<div
id="listContainer"
title="Aqui serão exibidos os cadastros, clique para ver os detalhes."
>
</div>
</section>
<section id="card-details-container" style="display: none;">
<div class="card-details"></div>
</section>
<section id="export">
<h3>Exporte os dados para um arquivo CSV</h3>
<button id="exportButton" title="Clique para baixar os dados dos seus cadastros.">
<i class="ph ph-download-simple"></i> Exportar Dados
</button>
<div id="exportMessage" class="export-message" style="display: none;"></div>
</section>
</main>
<footer>
<div class="div_footer sponsors">
<ul>
<li>
<a href="https://github.com/sponsors/Jonhvmp" target="_blank" title="Apoie o desenvolvedor">
<i class="ph ph-heart"></i> Apoie o desenvolvedor no GitHub Sponsors <strong>Jonhvmp</strong>
</a>
</li>
</ul>
</div>
<div class="div_footer">
<ul class="socialLinks">
<strong>Redes Sociais:</strong>
<li>
<a href="https://github.com/Jonhvmp" target="_blank" title="GitHub">
<i class="ph ph-github-logo"></i> GitHub
</a>
</li>
<li>
<a href="https://www.linkedin.com/in/jonhvmp/" target="_blank" title="LinkedIn">
<i class="ph ph-linkedin-logo"></i> LinkedIn
</a>
</li>
</ul>
</div>
</footer>
<script src="./js/main.js" type="module"></script>
</body>
</html>