-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (133 loc) · 4.32 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="keywords"
content="newtab, new tab, new tab page, NTP, chrome, firefox"
/>
<meta
name="description"
content="A new tab page that will never show advertisements or push a political agenda"
/>
<title>New Tab</title>
<link rel="stylesheet" href="./style/style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"
/>
<script type="module" src="./script/main.ts"></script>
</head>
<body>
<div id="gradient" class="background">
<div class="time-container">
<a id="calendar-link" href="#">
<time id="time"></time>
</a>
</div>
<div class="content">
<input
id="search-box"
class="form-control p-3"
type="text"
placeholder="Search the web..."
autocomplete="off"
autofocus
/>
<div id="search-history"></div>
<p id="instant-answer-box"></p>
</div>
<div id="card-container" class="favs container"></div>
<div class="corner">
<a id="settings-toggle-btn" href="#" class="settings-icon">
<i class="fa fa-sliders"></i>
</a>
</div>
<div id="settings-pane" class="settings-pane">
<h2>Settings</h2>
<button id="close-settings-btn" class="close-btn">Close</button>
<div class="divider"></div>
<div class="setting">
<label for="search-engines">
<strong>Search Engine</strong> </label
><br />
<select
id="search-engines"
name="search-engines"
class="settings-dropdown"
>
<option value="https://www.google.com/search?q=" selected>
Google
</option>
<option value="https://www.bing.com/search?q=">Bing</option>
<option value="https://duckduckgo.com/?q=">DuckDuckGo</option>
<option value="https://www.ecosia.org/search?q=">Ecosia</option>
<option value="https://search.brave.com/search?q=">
Brave Search
</option>
</select>
</div>
<div class="setting">
<label for="calendar-providers">
<strong>Calendar Provider</strong> </label
><br />
<select
id="calendar-providers"
name="calendar-providers"
class="settings-dropdown"
>
<option value="https://calendar.google.com" selected>
Google Calendar
</option>
<option value="https://calendar.protonmail.com">
Proton Calendar
</option>
<option value="https://skiff.com/calendar">Skiff Calendar</option>
<option value="https://calendar.yahoo.com">Yahoo Calendar</option>
<option value="https://calendar.live.com">
Microsoft Calendar
</option>
</select>
</div>
<div class="setting">
<label for="background-image-input">
<strong>Background Image URL</strong>
<p>empty for gradient</p>
</label>
<input
id="background-image-input"
name="background-image-input"
type="url"
/>
<button id="update-background-btn">Update</button>
</div>
<div class="setting">
<input
id="show-instant-answers-setting"
name="show-instant-answers-setting"
type="checkbox"
class="checkbox"
checked
/>
<label for="show-instant-answers-setting">
<strong>Show Instant Answers</strong>
</label>
</div>
</div>
<div id="command-pallet-container" class="command-pallet">
<input
id="new-card-url-input"
type="url"
placeholder="Add URL to create cards"
/>
<div class="action-buttons">
<button id="add-card-btn" class="btn--large">
Add Card
</button>
<button id="hide-card-input-btn" class="btn--large">Cancel</button>
</div>
</div>
</div>
</body>
</html>