-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
133 lines (126 loc) · 7.32 KB
/
Copy pathpopup.html
File metadata and controls
133 lines (126 loc) · 7.32 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title data-i18n="extensionName"></title>
<link rel="icon" type="image/svg+xml" href="icons/icon.svg">
<link rel="stylesheet" href="popup.css">
</head>
<body>
<div class="container">
<header>
<div class="header-main">
<div class="title-container">
<h1 data-i18n="extensionName"></h1>
<span class="version" id="versionInfo"></span>
</div>
<div class="header-controls">
<button type="button" id="themeToggle" class="theme-toggle" title="" aria-label="">
<svg class="theme-icon theme-icon-sun" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="4" fill="currentColor"/>
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"/>
</svg>
<svg class="theme-icon theme-icon-moon" viewBox="0 0 24 24" aria-hidden="true">
<path fill="currentColor" d="M20.35 13.4A8 8 0 1 1 10.6 3.65a6.5 6.5 0 0 0 9.75 9.75z"/>
</svg>
<svg class="theme-icon theme-icon-auto" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="2"/>
<path fill="currentColor" d="M12 3a9 9 0 0 1 0 18z"/>
</svg>
</button>
<label class="switch-toggle" data-i18n-aria-label="toggleExtension" aria-label="Toggle Extension">
<input type="checkbox" id="extensionEnabledToggle" checked>
<span class="slider-round"></span>
</label>
</div>
</div>
<a href="#" id="openOptions" class="options-button" data-i18n-aria-label="openExtensionSettings" aria-label="Open extension settings">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path fill="currentColor" d="M19.14 12.94a7.49 7.49 0 0 0 .05-1.94 7.49 7.49 0 0 0-.05-1.94l2.03-1.58a.5.5 0 0 0 .12-.64l-1.92-3.32a.5.5 0 0 0-.6-.22l-2.39.96a7.03 7.03 0 0 0-1.68-.97l-.36-2.54a.5.5 0 0 0-.5-.42h-3.84a.5.5 0 0 0-.5.42l-.36 2.54c-.59.24-1.15.56-1.68.97l-2.39-.96a.5.5 0 0 0-.6.22L2.7 7.84a.5.5 0 0 0 .12.64l2.03 1.58a7.49 7.49 0 0 0-.05 1.94 7.49 7.49 0 0 0 .05 1.94L2.82 15.52a.5.5 0 0 0-.12.64l1.92 3.32a.5.5 0 0 0 .6.22l2.39-.96c.53.41 1.09.73 1.68.97l.36 2.54a.5.5 0 0 0 .5.42h3.84a.5.5 0 0 0 .5-.42l.36-2.54c.59-.24 1.15-.56 1.68-.97l2.39.96a.5.5 0 0 0 .6-.22l1.92-3.32a.5.5 0 0 0-.12-.64l-2.03-1.58zM12 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z"/>
</svg>
<span data-i18n="settings"></span>
<svg class="chevron" viewBox="0 0 24 24" aria-hidden="true">
<path fill="currentColor" d="M9.29 6.71a1 1 0 0 0 0 1.41L13.17 12l-3.88 3.88a1 1 0 1 0 1.41 1.41l4.59-4.58a1 1 0 0 0 0-1.42L10.7 6.7a1 1 0 0 0-1.41 0z"/>
</svg>
</a>
</header>
<details class="stats hidden-details" id="hiddenDetails" hidden>
<summary class="hidden-details-summary">
<span id="hiddenSummary"><span id="hiddenCount">0</span> items hidden on this page</span>
</summary>
<div class="hidden-details-content" id="hiddenDetailsContent">
<p class="empty-state" data-i18n="openHiddenSection"></p>
</div>
</details>
<section class="muted-list-section">
<h2 data-i18n="mutedUsers"></h2>
<input type="search" id="mutedSearch" class="muted-search" data-i18n-placeholder="mutedSearchPlaceholder" data-i18n-aria-label="mutedSearchPlaceholder" placeholder="Search muted users" aria-label="Search muted users" hidden>
<div id="mutedList" class="muted-list">
<p class="empty-state" data-i18n="noMutedUsers"></p>
</div>
</section>
<section class="add-user-section">
<h2 data-i18n="addUserManually"></h2>
<form id="addUserForm">
<input type="text" id="userName" data-i18n-placeholder="enterUsername" placeholder="Enter username" required>
<select id="muteDuration">
<option value="permanent" data-i18n="permanently"></option>
<option value="1" data-i18n="oneDay"></option>
<option value="3" data-i18n="threeDays"></option>
<option value="7" selected data-i18n="sevenDays"></option>
<option value="14" data-i18n="fourteenDays"></option>
<option value="30" data-i18n="thirtyDays"></option>
<option value="90" data-i18n="ninetyDays"></option>
</select>
<button type="submit" data-i18n="mute"></button>
</form>
</section>
<footer>
<p class="footer-license">
<span class="copyright" data-i18n="copyright"></span>
</p>
<p class="footer-license warranty-sentence">
<span data-i18n="warranty"></span>
<button type="button" class="legal-link" data-legal-doc="license" data-i18n="license"></button>
<span data-i18n="forMoreDetails"></span>
</p>
<p class="footer-license">
<a href="https://github.com/nichu42/haiilo-enhancer/issues" target="_blank" rel="noopener" data-i18n="reportIssue"></a>
</p>
<p class="footer-license footer-donate">
<span class="donate-label" data-i18n="support"></span>
<a class="donate-link donate-liberapay" href="https://liberapay.com/nichu42/" target="_blank" rel="noopener" data-i18n-aria-label="donateLiberapay" aria-label="Donate on Liberapay">
<svg class="donate-icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="2" y="2" width="20" height="20" rx="4" fill="#f6c915"/><text x="12" y="16" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif" font-weight="800" font-size="11" fill="#1a171b">lp</text></svg>
<span data-i18n="liberapay"></span>
</a>
<a class="donate-link donate-kofi" href="https://ko-fi.com/nichu42" target="_blank" rel="noopener" data-i18n-aria-label="donateKofi" aria-label="Donate on Ko-fi">
<svg class="donate-icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="2" y="2" width="20" height="20" rx="4" fill="#FF5E5B"/><path d="M6 10h11v1a5 5 0 0 1-5 5H11a5 5 0 0 1-5-5v-1zm0-2a1 1 0 0 1 1-1h11a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1z" fill="#ffffff"/></svg>
<span data-i18n="koFi"></span>
</a>
</p>
</footer>
</div>
<div id="undoToast" class="undo-toast" role="status" hidden>
<span id="undoToastMessage" class="undo-toast-message"></span>
<button type="button" id="undoButton" class="undo-toast-btn" data-i18n="undo"></button>
</div>
<div class="legal-overlay" id="legalModal" hidden>
<div class="legal-dialog" role="dialog" aria-modal="true" aria-labelledby="legalModalTitle">
<div class="legal-dialog-header">
<h2 id="legalModalTitle"></h2>
<button type="button" class="legal-close" data-legal-close aria-label="Close">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path fill="currentColor" d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>
</svg>
</button>
</div>
<div class="legal-dialog-body" id="legalModalBody"></div>
</div>
</div>
<script src="shared.js"></script>
<script src="i18n.js"></script>
<script src="legal.js"></script>
<script src="popup.js"></script>
</body>
</html>