-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathpopup.html
More file actions
103 lines (103 loc) · 5.43 KB
/
popup.html
File metadata and controls
103 lines (103 loc) · 5.43 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="color-scheme" content="light dark">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>XKit Control Panel</title>
<link rel="icon" href="../icons/128.png" type="image/png">
<link rel="stylesheet" href="../lib/coloris.css">
<link rel="stylesheet" href="../lib/modern-normalize.css">
<link rel="stylesheet" href="../lib/remixicon/remixicon.css">
<link rel="stylesheet" href="./backup.css">
<link rel="stylesheet" href="./configuration.css">
<link rel="stylesheet" href="./links.css">
<link rel="stylesheet" href="./popup.css">
<script defer src="../browser_polyfill.js"></script>
<script defer src="../lib/jquery.slim.min.js"></script>
<script defer src="./popup.js"></script>
<script defer src="./render_backup.js"></script>
<script type="module" src="./components/sponsor-progress/index.js"></script>
<script type="module" src="./render_features.js"></script>
</head>
<body>
<header id="permissions-banner" hidden>
⚠️ XKit Rewritten needs additional permissions in order to apply its enhancements automatically.
<button id="grant-host-permission">Always allow on www.tumblr.com</button>
</header>
<header id="embedded-banner" hidden>
ℹ️ XKit Rewritten can also be configured via the button in the browser toolbar.
</header>
<main>
<div role="tablist" aria-label="Navigation">
<button id="configuration-tab" role="tab" aria-controls="configuration-panel" aria-selected="true" tabindex="0">Configuration</button>
<button id="backup-tab" role="tab" aria-controls="backup-panel" aria-selected="false" tabindex="-1">Backup</button>
<button id="links-tab" role="tab" aria-controls="links-panel" aria-selected="false" tabindex="-1">Links</button>
</div>
<section id="configuration-panel" role="tabpanel" aria-labelledby="configuration-tab" tabindex="0">
<div class="finder">
<input id="search" type="text" placeholder="Search" autocomplete="off" spellcheck="false">
<label for="filter">Filter by</label>
<select id="filter">
<option value="all" selected>All</option>
<option value="enabled">Enabled</option>
<option value="disabled">Disabled</option>
</select>
</div>
<div class="no-results">
<p>No results found.</p>
</div>
<div class="features"></div>
<sponsor-progress></sponsor-progress>
</section>
<section id="backup-panel" role="tabpanel" aria-labelledby="backup-tab" tabindex="0" hidden>
<section aria-labelledby="export-heading">
<h4 id="export-heading">Export</h4>
<form id="export" aria-labelledby="export-heading">
<textarea id="export-value" rows="10" spellcheck="false" readonly></textarea>
<fieldset>
<button id="export-copy" type="submit">Copy All</button>
<button id="export-download" type="submit">Download</button>
</fieldset>
</form>
</section>
<section aria-labelledby="import-heading">
<h4 id="import-heading">Import</h4>
<form id="import" aria-labelledby="import-heading">
<label for="import-value">Paste the contents of your saved backup here.</label>
<textarea id="import-value" rows="10" spellcheck="false"></textarea>
<button id="import-submit" type="submit">Restore</button>
<div id="import-warning">⚠️ Warning: Existing data will be overwritten!</div>
</form>
</section>
</section>
<section id="links-panel" role="tabpanel" aria-labelledby="links-tab" tabindex="0" hidden>
<h4>Help & information</h4>
<ul>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten/wiki" target="_blank">User guide</a></li>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten/discussions" target="_blank">Support & discussion</a></li>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten/releases" target="_blank">Changelog</a><small id="version"></small></li>
</ul>
<h4>Donate</h4>
<ul>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten?sponsor=1#readme" target="_blank">Sponsor the project</a></li>
</ul>
<h4>Get involved</h4>
<ul>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten" target="_blank">Source code</a></li>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten/issues" target="_blank">Issue tracker</a></li>
<ul>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten/issues?q=is%3Aopen+is%3Aissue+label%3Abug" target="_blank">Known bugs</a></li>
<li><a href="https://github.com/AprilSylph/XKit-Rewritten/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement" target="_blank">Suggested features</a></li>
</ul>
</ul>
<h4>Related projects</h4>
<ul>
<li><a href="https://github.com/AprilSylph/Palettes-for-Tumblr#readme" target="_blank">Palettes for Tumblr</a></li>
<li><a href="https://github.com/AprilSylph/Outbox-for-Tumblr#readme" target="_blank">Outbox for Tumblr</a></li>
<li><a href="https://github.com/AprilSylph/Filtering-Plus#readme" target="_blank">Filtering+ for Tumblr</a></li>
</ul>
</section>
</main>
</body>
</html>