-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
26 lines (22 loc) · 1.13 KB
/
test.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mastodon thread viewer test</title>
<script src="mastoview.js"></script>
<link rel="stylesheet" href="mastoview.css">
</head>
<body>
<div>
<input type="text" id="mastodon_url" value="https://neuromatch.social/@neuralreckoning/112225106987973156" style="width: 100%"><br/>
<button onclick="mastoview_load_and_render(document.getElementById('mastodon_url').value, render_masto_thread_linear)">Linear threaded view</button>
<button onclick="mastoview_load_and_render(document.getElementById('mastodon_url').value, render_masto_thread_table_vertical)">Table view (vertical)</button>
<button onclick="mastoview_load_and_render(document.getElementById('mastodon_url').value, render_masto_thread_table_horizontal)">Table view (horizontal)</button>
</div>
<div id="mastoview-thread"></div>
<script>
mastoview_load_and_render('https://neuromatch.social/@neuralreckoning/112225106987973156', render_masto_thread_linear);
</script>
</body>
</html>