-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
57 lines (57 loc) · 1.92 KB
/
popup.html
File metadata and controls
57 lines (57 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>ServiceNow Image Previewer</title>
<link rel="stylesheet" href="popup.css" />
</head>
<body>
<div class="container">
<div class="header">
<img src="icons/icon48.png" class="logo" alt="logo" />
<h1 id="title"></h1>
</div>
<div class="info-section">
<h3 id="helpTitle"></h3>
<ul>
<li id="helpText"></li>
</ul>
</div>
<div class="controls-section toggle-section">
<label for="globalEnableSwitch" id="enableLabel"></label>
<label class="switch">
<input type="checkbox" id="globalEnableSwitch">
<span class="slider round"></span>
</label>
</div>
<div class="controls-section">
<label for="langSelect" id="langLabel"></label>
<select id="langSelect">
<option value="auto">Auto</option>
<option value="en">English</option>
<option value="zh">中文</option>
</select>
<label for="themeSelect" id="themeLabel"></label>
<select id="themeSelect">
<option value="auto">Auto</option>
<option value="dark">Dark</option>
<option value="light">Light</option>
</select>
</div>
<div class="controls-section">
<label for="sitesInput" id="sitesLabel"></label>
<input id="sitesInput" type="text" style="flex:2;" placeholder="service-now.com,example.com">
<button class="btn primary" id="saveSitesButton"></button>
</div>
<div class="controls-section">
<button class="btn primary" id="manualInjectButton"></button>
</div>
<div class="footer">
<p id="version"></p>
</div>
</div>
<script src="config.js"></script>
<script src="i18n.js"></script>
<script src="popup.js"></script>
</body>
</html>