-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
97 lines (86 loc) · 3.43 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro&family=Open+Sans:wght@400;500;700&display=swap" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Simple homepage for any browser, with customizable search engine."/>
<title>Homepage</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png">
</head>
<body>
<div class="layout">
<!-- Begins the settings part -->
<div id="settings" onclick="showSettings(event)" title="Open the settings">
<div class="menuline"></div>
<div class="menuline"></div>
<div class="menuline"></div>
</div>
<div id="settings_open" onclick="showSettings(event)" title="Close the settings">
<div class="line1">
</div>
<div class="line2">
</div>
</div>
<div class="settings_menu">
<div class="settings_text">
<h1>Settings</h1>
<br>
<div class="settings_header">
Default search engine
</div>
<select id="settings_engine" title="Choose the search engine">
<option value="DuckDuckGo">DuckDuckGo</option>
<option value="Google">Google</option>
<option value="Ecosia">Ecosia</option>
<option value="Brave">Brave</option>
<option value="Bing">Bing</option>
<option value="Yahoo">Yahoo</option>
</select>
<br>
<br>
<button id="apply" onclick="applySettings()" title="Apply the new settings">
Apply
</button>
<br>
<div id="settings_applied">
Settings successfully applied
</div>
</div>
<br>
</div>
<!-- Ends the settings part -->
<!-- Begins the start page -->
<div class="mainscreen">
<noscript class="text headers">
<h1>This page requires JavaScript to work</h1>
<br>
<br>
</noscript>
<h1 class="headers">Homepage</h1>
<input id="searchbar" type="text" placeholder="Search with DuckDuckGo" title="Search the web" autofocus>
<div class="icons">
<a href="https://github.com"><img
width=30 height=30 src="assets/icons/github.svg" title="GitHub"></a><a href="https://youtube.com"><img
width=30 height=30 src="assets/icons/youtube.svg" title="YouTube"></a><a href="https://reddit.com"><img
width=30 height=30 src="assets/icons/reddit.svg" title="Reddit"></a><a href="https://stackoverflow.com"><img
width=30 height=30 src="assets/icons/stack-overflow.svg" title="Stack Overflow"></a><a href="https://twitch.tv"><img
width=30 height=30 src="assets/icons/twitch.svg" title="Twitch"><a href="https://twitter.com"><img
width=30 height=30 src="assets/icons/twitter.svg" title="Twitter"><a href="https://wikipedia.org"><img
width=30 height=30 src="assets/icons/wikipedia.svg" title="Wikipedia">
</a>
</div>
<hr id="hrfocus">
<br>
</div>
<footer class="text">
Made by <a class="hoverlink" href="https://github.com/anic17">anic17</a>.<br>
</footer>
</div>
<script src="index.js"></script>
</body>
</html>