-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (49 loc) · 2.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>debates legislativas 2024</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<link rel="stylesheet" href="main.css">
</head>
<body>
<ul id="list"><li>a carregar...</li></ul>
<div id="search" style="display: none">
<label for="search-input">palavra</label>
<input type="search" id="search-input" value="" placeholder="palavra a pesquisar. mín 2 letras">
<label for="search-exact-word">exata</label>
<input type="checkbox" name="search-exact-word" id="search-exact-word" value="">
<label for="search-speaker">orador</label>
<select name="search-speaker" id="search-speaker"></select>
<label for="search-debate">debate</label>
<select name="search-debate" id="search-debate"></select>
<p id="search-results-count"></p>
<div id="search-results">
</div>
</div>
<div id="ui">
<span id="ui1">
<span id="time-col">
<span id="time">0:00</span> / <span id="duration">0:00</span>
</span>
<span id="controls-col">
<button id="to-menu">📚</button><button id="rew-15">⏪</button><button id="toggle-play">⏯️</button><button id="ffw-15">⏩</button>
</span>
</span>
<input id="progress" type="range" step="1" value="0">
</div>
<div id="content"></div>
<a href="https://github.com/josepedrodias/leg24" id="github">código fonte do projeto</a>
<script type="module">
import { main } from './index.mjs';
import { populateList } from './list.mjs';
import { search } from './search.mjs';
const run = main();
if (!location.hash) {
populateList(run);
search();
}
</script>
</body>
</html>