-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (51 loc) · 1.81 KB
/
Copy pathindex.html
File metadata and controls
55 lines (51 loc) · 1.81 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OPDS Client</title>
<link rel="stylesheet" href="style.css">
<meta name="theme-color" content="#1e1e2e">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<script src="app.js"></script>
</head>
<body>
<div id="app">
<header>
<div class="header-top">
<div class="url-bar">
<input type="url" id="feed-url" placeholder="OPDS catalog URL (e.g. example.com/opds)">
<button id="load-btn">Load</button>
</div>
<select id="proxy-select">
<option value="">No proxy</option>
<option value="https://corsproxy.io/?" selected>corsproxy.io</option>
<option value="https://api.allorigins.win/raw?url=">allorigins.win</option>
<option value="https://corsproxy.nl/?">corsproxy.nl</option>
</select>
</div>
<div class="search-bar hidden" id="search-bar">
<input type="text" id="search-input" placeholder="Search catalog...">
<button id="search-btn">Search</button>
</div>
</header>
<nav id="breadcrumb"></nav>
<div id="loading" class="loading hidden">
<div class="spinner"></div>
</div>
<div id="error" class="error hidden"></div>
<main id="content">
<div class="welcome">
<p>Enter an OPDS catalog URL above to start browsing.</p>
<p class="hint">Examples:</p>
<ul class="examples">
<li><a href="#" data-url="https://www.gutenberg.org/ebooks/search.opds/">Project Gutenberg</a></li>
<li><a href="#" data-url="https://manybooks.net/opds/">ManyBooks</a></li>
<li><a href="#" data-url="https://mayberry.pub">Mayberry</a></li>
</ul>
</div>
</main>
</div>
</body>
</html>