-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.com.html
162 lines (135 loc) · 7.05 KB
/
index.com.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Meu vocabulário</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<!-- bootstrap icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
<!-- meu css -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<div class="container">
<div class="cabecalho">
<button onclick="fileXLSX.saveFile()" class="btn btn-outline-secondary" type="button" id="inputGroupFileAddon04">
<i class="bi bi-save"></i>
</button>
<div class="input-group">
<input type="file" class="form-control" id="file-selector" multiple aria-describedby="inputGroupFileAddon04" aria-label="Upload">
</div>
<div class="input-group ">
<input id="myInput" type="text" class="form-control" placeholder= "Pesquise por uma palavra aqui"
onkeyup="table_interaction.filterWords()" aria-label="Text input with segmented dropdown button">
<div class="input-group-prepend">
<button type="button" class="btn btn-outline-secondary">
<i class="bi bi-search"></i>
</button>
<button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only"></span>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">histórico</a>
<a class="dropdown-item" href="#">histórico</a>
<a class="dropdown-item" href="#">histórico</a>
<div role="separator" class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
</div>
<button onclick="table_interaction.openWordTable()" type="button" class="btn btn-outline-secondary" ><i class="bi bi-file-earmark-plus"></i> </button>
<button onclick="reportView.reportView()" type="button" class="btn btn-outline-secondary" ><i class="bi bi-graph-up"></i> </button>
</div>
</div>
</header>
<section class="vocabulario" id="vocabularioView">
<table class="table table-hover " id="tableView">
<thead class="thead">
<tr>
<th scope="col">#</th>
<th scope="col">Palavras</th>
<th scope="col">Significado</th>
<th scope="col">Pronuncia GG</th>
<th scope="col">Pronuncia BR</th>
<th scope="col">Data aprendizado</th>
<th scope="col">Excluir</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</section>
<section class="addPalavra" id="painelPalavra" >
<div class="container">
<form>
<div class="row">
<div class="col">
<input type="text" id="inputPalavra" class="form-control" placeholder="Palavra">
</div>
<div class="col">
<input type="text" id="inputSignificado" class="form-control" placeholder="Significado">
</div>
</div>
<div class="row">
<div class="col">
<input type="text" id="inputPronunciaGG" class="form-control" placeholder="Pronúncia GG">
</div>
<div class="col">
<input type="text" id="inputPronunciaBR" class="form-control" placeholder="Pronúncia BR">
</div>
</div>
<div class="row">
<div class="col">
<button onclick="table_interaction.closeAddWord()" type="button" class="btn btn-outline-secondary" >
Cancelar
</button>
</div>
<div class="col">
<button onclick="table_interaction.addWordTable()" type="button" class="btn btn-outline-secondary" >
Salvar
</button>
</div>
</div>
</form>
</div>
</section>
<section class="relatorio" id="relatorioId">
<div class="container">
<p><b>Total</b> <i id="showTotal"></i></p>
<table class="table table-hover" id="tableReport">
<thead class="thead">
<tr>
<th scope="col">#</th>
<th scope="col">Dia</th>
<th scope="col">Quantidade Palavras Aprendidas</th>
</tr>
</thead>
<tbody></tbody>
</table>
<button onclick="reportView.closeReportView()" type="button" class="btn btn-outline-secondary" >
Fechar Relatório
</button>
</div>
</section>
</body>
</html>
<!-- Scripts from Bootstrap -->
<script src="http://code.jquery.com/jquery-3.3.1.slim.js" integrity="sha256-fNXJFIlca05BIO2Y5zh1xrShK3ME+/lYZ0j+ChxX2DA=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- Scripts para ler arquivos XLSX -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.9/xlsx.full.min.js" integrity="sha512-wBcFatf7yQavHQWtf4ZEjvtVz4XkYISO96hzvejfh18tn3OrJ3sPBppH0B6q/1SHB4OKHaNNUKqOmsiTGlOM/g==" crossorigin="anonymous"></script>
<script src="js/arquivo/Excel/binario/FileXLSX.js"></script>
<!--Script para salvar arquivo -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.0/FileSaver.min.js" integrity="sha512-csNcFYJniKjJxRWRV1R7fvnXrycHP6qDR21mgz1ZP55xY5d+aHLfo9/FcGDQLfn2IfngbAHd8LdfsagcCqgTcQ==" crossorigin="anonymous"></script>
<!-- script Json to table -->
<script src="js/table/JsonToView.js"></script>
<!-- script para eventos na tabela -->
<script src="js/table/TableMethods.js"></script>
<!-- script para relatorio -->
<script src="js/relatorio/DataCollector.js"></script>
<script src="js/relatorio/ReportView.js"></script>
<!--- script main -->
<script src="js/index.js"></script>