-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (59 loc) · 2.85 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./res/img/icon.png" type="image/x-icon">
<title>HatespeeChecker</title>
<script defer src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="./NaiveBayes.js" defer></script>
<script src="./res/js/scripts.js" defer></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
integrity="sha384-b6lVK+yci+bfDmaY1u0zE8YYJt0TZxLEAFyYSLHId4xoVvsrQu3INevFKo+Xir8e" crossorigin="anonymous">
<link rel="stylesheet" href="./res/css/styles.css">
</head>
<body>
<main>
<div class="container">
<div class="row w-100">
<div class="col">
<h1>HatespeeChecker</h1>
</div>
<div class="col d-flex justify-content-end">
<i class="bi bi-info-circle-fill fs-1" onclick="showInfo()"></i>
</div>
</div>
<div class="row">
<div class="col">
<form>
<div class="mb-3 d-flex flex-column">
<label for="textarea" class="form-label">Escreva o texto</label>
<textarea class="form-control border border-3" spellcheck="true" id="textarea" rows="5"
placeholder="Escreva aqui"></textarea>
</div>
<div class="m-0 d-flex row w-100 justify-content-between">
<div class="d-flex row w-75">
<button type="button" class="btn btn-primary w-auto me-3" id="send">Detectar</button>
<button type="button" class="btn btn btn-outline-primary w-auto"
id="clear">Limpar</button>
</div>
<div class="w-25 d-flex justify-content-end">
<h2>
<i id="result" class="bi"></i>
</h2>
</div>
</div>
</form>
</div>
</div>
</div>
</main>
<div id="loading"
class="d-flex w-100 h-100 position-absolute bg-white align-items-center justify-content-center flex-column">
<div class="spinner-border spinner-border-lg text-primary" role="status"></div>
<h2>Carregando...</h2>
</div>
</body>
</html>