forked from EuanRiggans/BulkURLOpener-Firefox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.html
104 lines (100 loc) · 5.43 KB
/
settings.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Settings</title>
<link href="css/bootstrap.min.css" rel="stylesheet" id="bootstrap">
<link href="css/font-awesome.min.css" rel="stylesheet" id="font-awesome">
<link href="css/style.css" rel="stylesheet" id="styles">
<link href="css/modalstyles.css" rel="stylesheet">
</head>
<body>
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Settings</h4>
<button type="button" class="close" id="closeModal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="tabCreationDelayGroup">
<p class="setting-title">Tab Creation Delay:</p>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text" id="delay-addon">Tab creation delay (Seconds):</span>
</div>
<input type="number" class="form-control" placeholder="Delay in seconds" id="tabCreationDelay"
aria-describedby="delay-addon">
</div>
</div>
<hr>
<div id="autoOpenListsGroup">
<p class="setting-title">Automatically open lists:</p>
<!-- Checkbox has to be loaded dynamically due to styling differences between custom styles -->
</div>
<hr>
<div id="defaultListGroup">
<p class="setting-title">Default list to display:</p>
<label for="defaultList">The list that will be displayed when you open the extension:</label>
<select class="form-control" id="defaultList">
<option id="-1" value="" selected>Currently opened tabs</option>
</select>
</div>
<hr>
<div id="nightModeGroup">
<p class="setting-title">Enable night theme:</p>
<!-- Checkbox has to be loaded dynamically due to styling differences between custom styles -->
</div>
<hr>
<div id="customThemeGroup">
<p class="setting-title">Custom theme:</p>
<label for="customTheme">Custom themes to change the look of Bulk URL Opener:</label>
<select class="form-control" id="customTheme">
<option id="defaultBoostrap" value="" selected>Default Bootstrap</option>
<option id="fluentDesignBootstrap" value="">Fluent Design Bootstrap</option>
</select>
</div>
<hr>
<div id="currentlyOpenedTabsSettingGroup">
<p class="setting-title">Currently opened tabs display:</p>
<label for="currentlyOpenedSetting">Which URLS should be shown as 'currently opened':</label>
<select class="form-control" id="currentlyOpenedSetting">
<option id="currentWindow" value="" selected>Current window tabs</option>
<option id="allOpenedTabs" value="">All opened tabs</option>
</select>
</div>
<hr>
<div id="nonURLHandler">
<p class="setting-title">How to handle non-urls:</p>
<label for="nonURLHandlerSetting">What should happen if a string is detected as not being a
url:</label>
<select class="form-control" id="nonURLHandlerSetting">
<option id="searchForString" value="" selected>Open in a search window</option>
<option id="ignoreString" value="">Completely ignore the string</option>
<option id="attemptToExtractURL" value="">Attempt to extract a url from the string</option>
</select>
</div>
<hr>
<div id="selectedSearchEngine">
<p class="setting-title">Search Engine Selection:</p>
<label for="selectedSearchEngineSetting">If a non-url is to be searched for (depending on the above
setting), which search engine should be used:</label>
<select class="form-control" id="selectedSearchEngineSetting">
<option id="googleEngine" value="" selected>Google</option>
<option id="duckduckgoEngine" value="">DuckDuckGo</option>
<option id="bingEngine" value="">Bing</option>
</select>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-outline-primary" id="saveSettings" type="button">Save settings</button>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/settings.js"></script>
<script type="text/javascript" src="js/lists.js"></script>
<script type="text/javascript" src="js/custom-styles.js" id="tempStylesheetLoader"></script>
</body>
</html>