-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (66 loc) · 2.06 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
<!DOCTYPE html>
<html>
<head>
<title>Dat Portal</title>
<link rel="stylesheet" href="/styles.css">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<script async src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script async src="https://cdn.jsdelivr.net/npm/sweetalert2"></script>
<script async type="text/javascript" src="loadMore.js"></script>
<script async type="module" src="script.js"></script>
</head>
<body>
<div class="main" id="test">
<h1>
<span id="page-title"></span>
<span class="subtitle">A way to discover content on dat://</span>
<br />
<button id="forkPage">Create own portal</button>
<button id="aboutbtn">About it & how to add your portal to the web ring</button>
<select id="hops-config">
<option value="0">No hops</option>
<option value="1">1 hop</option>
<option value="2">2 hops</option>
<option value="3">3 hops</option>
</select>
<br />
</h1>
<div id="web-ring"></div>
<div id="global-error"></div>
<div id="links-list"></div>
<!--<h2 id="heading">Web ring</h2>-->
<template id="global-error-template">
<div class="error"></div>
</template>
<template id="links-list-item-template">
<div class="links-list-item" id="lm">
<div class="index"></div>
<div class="content">
<div>
<div class="thumbnail-container">
<div class="thumbnail">
<iframe src="https://beakerbrowser.com" scrolling="no" security="restricted" id="bg-image" frameborder="0" onload="this.style.opacity = 1"></iframe>
</div>
</div>
<hr />
<a class="link title" target="_blank"></a>
</div>
<div>
<span class="origin"></span>
<span class="date"></span>
<span class="domain"></span>
</div>
</div>
</div>
</template>
<button id="loadMore">Load more</button>
<template id="web-ring-member-template">
<div class="web-ring-member">
<a class="link"></a>
</div>
</template>
</div>
</body>
</html>