-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartpage.html
190 lines (151 loc) · 6.89 KB
/
startpage.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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StyTab</title>
<link rel="icon" type="image/x-icon" href="icons/Dizzy.svg">
<link rel="stylesheet" href="styles/animations.css">
<link rel="stylesheet" href="styles/base.css">
<link rel="stylesheet" href="styles/gradient.css">
<link rel="stylesheet" href="styles/quick-links.css">
<link rel="stylesheet" href="styles/search-bar.css">
<link rel="stylesheet" href="styles/settings.css">
<link rel="stylesheet" href="styles/weather.css">
</head>
<body>
<!-- Weather Widget -->
<div class="weather-widget" id="weather-widget">
<div class="weather-details">
<div id="weather-temperature">Loading...</div>
<div id="weather-description"></div>
</div>
</div>
<!-- Weather Settings Modal (hidden by default) -->
<div class="modal" id="weather-settings-modal">
<div class="modal-content">
<div class="modal-header">
<h2>Weather Settings</h2>
<span class="close-btn" id="close-weather-modal">×</span>
</div>
<label for="api-key"><a href="https://developer.accuweather.com/" target="_blank">Accuweather API Key</a>:</label>
<input type="text" id="api-key" placeholder="Enter API Key" value="">
<label for="city-id"><a href="https://www.accuweather.com/" target="_blank">City ID</a>:</label>
<input type="text" id="city-id" placeholder="Enter City ID" value="">
<label for="temp-unit">Temperature Unit:</label>
<select id="temp-unit">
<option value="C">Celsius</option>
<option value="F">Fahrenheit</option>
</select>
<button id="save-weather-settings">Save</button>
</div>
</div>
<!-- Clock section -->
<div class="clock" id="clock">Loading time...</div>
<!-- Search box -->
<div class="search-box">
<form id="search-form" action="https://www.google.com/search" method="get">
<input type="text" id="search-query" name="q" placeholder="Search the web...">
<input type="submit" value="Search">
</form>
</div>
<!-- Quick links section -->
<div class="quick-links" id="quick-links-section"></div>
<!-- Settings icon -->
<div class="settings" id="settings-icon">
<img src="icons/Cog-wheel-icon.svg" alt="⚙" style="width: 25px; height: 25px;">
</div>
<!-- QuickLinks icon -->
<div class="quicklinks" id="quicklinks-icon">
<img src="icons/Newtab-icon.svg" alt="#" style="width: 20px; height: 20px;">
</div>
<!-- Settings Sidebar -->
<div class="settings-sidebar" id="settings-sidebar">
<div class="settings" id="close-settings">
<img src="icons/Setting-close-icon.svg" alt="Close Settings" style="width: 24px; height: 24px;">
</div>
<h2>Settings</h2>
<label for="greeting">Custom Greeting:</label>
<input type="text" id="greeting" placeholder="Hello!">
<label for="background" title="Supported formats: Images (.jpg, .png, .gif, etc) and MP4 videos">Background Image URL:</label>
<input type="text" id="background" placeholder="Background URL">
<label for="text-color">Custom Text Color (Hex):</label>
<input type="text" id="text-color" placeholder="#FFFFFF">
<label for="search-engine">Search Engine:</label>
<select id="search-engine">
<option value="https://www.google.com/search">Google</option>
<option value="https://duckduckgo.com">DuckDuckGo</option>
<option value="https://www.bing.com/search">Bing</option>
<option value="https://search.yahoo.com/search">Yahoo</option>
<option value="https://www.qwant.com/">Qwant</option>
<option value="https://www.startpage.com/search">StartPage</option>
<option value="https://priv.au/search">Priv.au</option>
<option value="https://search.brave.com/search">Brave Search</option>
<option value="https://www.mojeek.com/search">Mojeek</option>
<option value="https://metager.org/meta/meta.ger3">MetaGer</option>
<option value="https://searx.be/search">Searx.be</option>
<option value="https://search.unlocked.link/search">Unlocked.link</option>
<option value="https://searx.tiekoetter.com/search">Tiekoetter</option>
<option value="https://searx.dresden.network/search">Dresden.network</option>
</select>
<label for="time-format">Time Format:</label>
<select id="time-format">
<option value="12">12-hour</option>
<option value="24">24-hour</option>
</select>
<h2>Display Settings</h2>
<div class="toggle-container">
<label for="toggle-time">Show Time:</label>
<label class="switch">
<input type="checkbox" id="toggle-time">
<span class="slider"></span>
</label>
</div>
<!-- Styled toggle switch for search bar -->
<div class="toggle-container">
<label for="toggle-search">Show Search Bar:</label>
<label class="switch">
<input type="checkbox" id="toggle-search">
<span class="slider"></span>
</label>
</div>
<div class="toggle-container">
<label for="toggle-quick-links">Show Quick Links:</label>
<label class="switch">
<input type="checkbox" id="toggle-quick-links">
<span class="slider"></span>
</label>
</div>
<div class="toggle-container">
<label for="toggle-weather">Show Weather:</label>
<label class="switch">
<input type="checkbox" id="toggle-weather">
<span class="slider"></span>
</label>
</div>
<button class="save-settings" id="save-settings">Save</button>
</div>
<!-- QuickLinks Sidebar -->
<div class="quicklinks-sidebar" id="quicklinks-sidebar">
<div class="quicklinks" id="close-quicklinks">
<img src="icons/Setting-close-icon.svg" alt="Close QuickLinks" style="width: 24px; height: 24px;">
</div>
<h2>QuickLinks</h2>
<label for="quicklink-name">Link Name:</label>
<input type="text" id="quicklink-name" placeholder="Link Name">
<label for="quicklink-url">Link URL:</label>
<input type="url" id="quicklink-url" placeholder="https://....">
<button id="add-link-button">Add Link</button>
<!-- Quick links section -->
<div class="quick-links-sidebar" id="quick-links-sidebar"></div>
<p class="footer"><span id="github-link">✨ Make sure to star it on GitHub!</span></p>
</div>
<div class="modal-overlay" id="modal-overlay"></div>
<script src="Scripts/clock.js"></script>
<script src="Scripts/settings.js"></script>
<script src="Scripts/quicklinks.js"></script>
<script src="Scripts/weather.js"></script>
<script src="Scripts/color.js"></script>
<script src="Scripts/no_highlight.js"></script>
</body>
</html>