forked from Pedrochem/WellThoughtTweets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
34 lines (34 loc) · 1.25 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>Tweet Thought Ranker Settings</title>
<link rel="stylesheet" type="text/css" href="popup.css">
</head>
<body>
<div class="container">
<h1>Settings</h1>
<label for="apiKey">Google AI Studio API Key: <a href="https://aistudio.google.com/app/apikey" target="_blank" class="link">(Get your API key)</a></label>
<input type="text" id="apiKey" placeholder="Enter your API key" />
<label for="hideLowRankTweets">Hide tweets with rank equal to or below:</label>
<select id="hideLowRankTweets" style="visibility: hidden;">
<option value="0">Do not hide any tweets</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
</select>
<div class="colorful-ranks-container">
<input type="checkbox" id="colorfulRanks" checked />
<label for="colorfulRanks">Use colorful ranks</label>
</div>
<button id="save">Save</button>
<button id="pauseResume">Pause Ranking</button>
</div>
<script src="popup.js"></script>
</body>
</html>