-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
101 lines (83 loc) · 3.97 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
<html lang="pt-BR">
<head>
<title>Palavras_PT-BR - AlfredoFilho</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Palavras_PT-BR" />
<meta name="keywords" content="Brazil, Brasil, Words, Palavras, PT-BR" />
<meta name="description" content="Brazilian Portuguese words" />
<meta name=”twitter:card” content=”summary” />
<meta name=”twitter:site” content=”@Alfredo_Albelis“ />
<meta name=”twitter:creator” content=”@Alfredo_Albelis“ />
<meta name="twitter:image" content="https://alfredofilho.github.io/Palavras_PT-BR/assets/preview.png" />
<meta name="twitter:image:url" content="https://alfredofilho.github.io/Palavras_PT-BR/assets/preview.png" />
<meta name="twitter:image:secure_url" content="https://alfredofilho.github.io/Palavras_PT-BR/assets/preview.png" />
<meta name="twitter:title" content="Palavras_PT-BR" />
<meta name="twitter:description" content="Brazilian Portuguese words" />
<meta property="og:type" content="profile" />
<meta property="og:locale" content="pt_BR" />
<meta property="og:url" content="https://github.com/AlfredoFilho/Palavras_PT-BR" />
<meta property="og:image" content="https://alfredofilho.github.io/Palavras_PT-BR/assets/preview.png" />
<meta property="og:image:url" content="https://alfredofilho.github.io/Palavras_PT-BR/assets/preview.png" />
<meta property="og:image:secure_url" content="https://alfredofilho.github.io/Palavras_PT-BR/assets/preview.png" />
<meta property="og:title" content="Palavras_PT-BR" />
<meta property="og:description" content="Brazilian Portuguese words" />
<!-- CSS Stylesheets -->
<link rel="stylesheet" href="./assets/css/styles.css">
<link rel="stylesheet" href="./assets/css/highlight_dracula.css">
<!-- JavaScript Resources -->
<script src="./assets/js/sql-wasm.js"></script>
<script src="./assets/js/highlight.min.js"></script>
<script src="./assets/js/scripts.js"></script>
<!-- Highlight.js Initialization -->
<script>
document.addEventListener("DOMContentLoaded", function () {
hljs.highlightAll();
});
</script>
<!-- favicon -->
<link rel="icon" href="./assets/favicon.svg" type="image/svg+xml">
</head>
<body>
<h3 id="wordsTitle">Palavras do português brasileiro</h3>
<script>
const locale = navigator.language;
if (locale !== 'pt-BR') {
const h3Element = document.getElementById('wordsTitle');
h3Element.textContent = 'Brazilian Portuguese words';
}
</script>
<table>
<tr>
<th>Table: words <span id="totalRows"></span></th>
</tr>
<tr>
<th>id</th>
<th>word</th>
</tr>
<tr>
<td>INTEGER</td>
<td>TEXT</td>
</tr>
</table>
<p>
<label style="display: block;">Enter query:</label>
<input id="inputQuery" type="text" value='SELECT * FROM words WHERE word LIKE "%lho"'
placeholder="SELECT COUNT(*) as totalRows FROM words"><br>
<button id="buttonExecute" onclick='executeWithLoader()' disabled>Execute</button><br>
Because the database is very large, queries on the website have a LIMIT of 100000, to perform the complete query, use the <a href="https://github.com/AlfredoFilho/Palavras_PT-BR/tree/master/scripts" target="_blank">scripts in the repository</a>.
</p>
<pre class="preCodes notranslate" id="preContent" style="display: none;">
<span class="titleLang">Result query</span>
<code id="content" class="language-json"></code>
</pre>
<div id="errorModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeErrorModal()">×</span>
<p id="errorMessage"></p>
</div>
</div>
<div id="loader"></div>
</body>
</html>