-
Notifications
You must be signed in to change notification settings - Fork 3
/
preferences.html
65 lines (60 loc) · 3.14 KB
/
preferences.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<title>Preferences</title>
</head>
<body class="bg-gray-800 flex justify-center items-center h-screen">
<form id="settingsForm" class="bg-gray-700 text-white p-8 rounded-lg shadow-lg w-full max-w-md">
<p class="text-lg font-semibold mb-4">Please select which Sci-hub mirror to use:</p>
<div class="mb-4">
<label class="flex items-center mb-2">
<input type="radio" name="scihub-mirror" value="https://sci-hub.se/" class="form-radio text-blue-600">
<span class="ml-2">sci-hub.se</span>
</label>
<label class="flex items-center mb-2">
<input type="radio" name="scihub-mirror" checked value="http://sci-hub.ru/"
class="form-radio text-blue-600">
<span class="ml-2">sci-hub.ru</span>
</label>
<label class="flex items-center mb-2">
<input type="radio" name="scihub-mirror" value="http://sci-hub.st/" class="form-radio text-blue-600">
<span class="ml-2">sci-hub.st</span>
</label>
</div>
<p class="text-lg font-semibold mb-4 mt-6">Please select which Library Genesis mirror to use:</p>
<div class="mb-6">
<label class="flex items-center mb-2">
<input type="radio" name="libgen-mirror" checked value="https://libgen.is/"
class="form-radio text-blue-600">
<span class="ml-2">libgen.is</span>
</label>
<label class="flex items-center mb-2">
<input type="radio" name="libgen-mirror" value="http://libgen.rs/" class="form-radio text-blue-600">
<span class="ml-2">libgen.rs</span>
</label>
<label class="flex items-center mb-2">
<input type="radio" name="libgen-mirror" value="http://libgen.rocks/" class="form-radio text-blue-600">
<span class="ml-2">libgen.rocks</span>
</label>
<label class="flex items-center mb-2">
<input type="radio" name="libgen-mirror" value="http://libgen.lc/" class="form-radio text-blue-600">
<span class="ml-2">libgen.lc</span>
</label>
</div>
<div class="mb-6">
<label class="flex items-center mb-2">
<input type="checkbox" name="annas-archive" value="true" class="form-checkbox text-blue-600">
<span class="ml-2">Use Anna's Archive instead of Library Genesis</span>
</label>
</div>
<button type="submit"
class="w-full bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Save</button>
<div class="notification mt-4 p-2 text-sm text-green-500 hidden">Settings updated!</div>
</form>
<script src="options.js"></script>
</body>
</html>