-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (40 loc) · 2.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@ElDuvelle Twitter archive</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="wrapper">
<div class="flex-wrap">
<h1>Welcome to the @ElDuvelle Twitter archive!</h1>
<p>This is a page where you can search or view my tweets (2020-2022). This does not include replies to other people. It does have (broken) links to twitter posts, which I'll remove soon. Polls are also not shown, at least for now. <br />
If you'd like to do the same, check the instructions <a href="https://github.com/elduvelle/elduvelle.github.io/blob/main/README.md">on my Github. </a><br />
If you have questions, ask me on <a href="https://neuromatch.social/@elduvelle">Mastodon :). </a></p>
<div class="tweet">
<p id="tabs">
<button class="tab" id="search-tab" onclick="searchTab()">Search</button><button class="tab active" id="browse-tab" onclick="browseTab()">Browse</button>
</p>
<hr class="hr">
<p id="loading">Loading search...</p>
<div id="search" hidden>
<input id="search-input" type="search" />
<div id="sorting">Sort by: <button class="sort-button" onclick="sortResults('most-relevant')">most relevant</button> | <button class="sort-button" onclick="sortResults('oldest-first')">oldest first</button> | <button class="sort-button" onclick="sortResults('newest-first')">newest first</button> | <button class="sort-button" onclick="sortResults('most-popular')">most popular</button></div>
<div id="output"></div>
</div>
<div id="browse" hidden>
<div id="browse-sort">Sort by: <button class="sort-button-browse" onclick="sortResults('oldest-first-browse')">oldest first</button> | <button class="sort-button-browse" onclick="sortResults('newest-first-browse')">newest first</button> | <button class="sort-button" onclick="sortResults('most-popular-browse')">most popular</button></div>
<p id="paging">Page <input id="page-num" type="number" /> of <span id="page-total">...</span> </p>
<div id="browse-output"></div>
</div>
</div>
<p>This site was made with <a href="https://tinysubversions.com/twitter-archive/make-your-own/">this Twitter archiving tool</a>.</p>
</div>
</div>
</body>
<script src="searchDocuments.js"></script>
<script src="https://cdn.jsdelivr.net/gh/nextapps-de/flexsearch@0.7.31/dist/flexsearch.bundle.js"></script>
<script src="app.js"></script>
</html>