Spaces:
Build error
Build error
Create web/index.html
Browse files- web/index.html +71 -0
web/index.html
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8" />
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6 |
+
<title>HelpingAI Search</title>
|
7 |
+
<link rel="stylesheet" href="styles.css">
|
8 |
+
</head>
|
9 |
+
<body>
|
10 |
+
<div class="container">
|
11 |
+
<header>
|
12 |
+
<div class="logo">
|
13 |
+
<span>H</span><span>e</span><span>l</span><span>p</span><span>i</span
|
14 |
+
><span>ng</span><span>AI</span>
|
15 |
+
</div>
|
16 |
+
<button class="settings-icon" onclick="toggleSettings()">
|
17 |
+
<svg>
|
18 |
+
</svg>
|
19 |
+
</button>
|
20 |
+
<div class="settings-menu" id="settings-menu">
|
21 |
+
<h4>Time Limit</h4>
|
22 |
+
<select id="timelimit">
|
23 |
+
<option value="none">All Time</option>
|
24 |
+
<option value="d">Day</option>
|
25 |
+
<option value="w">Week</option>
|
26 |
+
<option value="m">Month</option>
|
27 |
+
<option value="y">Year</option>
|
28 |
+
</select>
|
29 |
+
<h4>Safe Search</h4>
|
30 |
+
<select id="safesearch">
|
31 |
+
<option value="off">Off</option>
|
32 |
+
<option value="moderate">Moderate</option>
|
33 |
+
<option value="on">On</option>
|
34 |
+
</select>
|
35 |
+
</div>
|
36 |
+
</header>
|
37 |
+
<div class="sidebar" id="sidebar">
|
38 |
+
<div id="about-section" style="display: none">
|
39 |
+
<h2>About</h2>
|
40 |
+
<p id="about-description"></p>
|
41 |
+
</div>
|
42 |
+
<div id="people-also-search-section" style="display: none">
|
43 |
+
<h3>People Also Search For</h3>
|
44 |
+
<ul id="people-also-search-list"></ul>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
<div class="main-content">
|
48 |
+
<div class="search-container">
|
49 |
+
<form id="search-form">
|
50 |
+
<div class="search-box">
|
51 |
+
<input
|
52 |
+
type="text"
|
53 |
+
id="search-query"
|
54 |
+
placeholder="Search the web"
|
55 |
+
autocomplete="off"
|
56 |
+
/>
|
57 |
+
<button type="submit">
|
58 |
+
<svg>
|
59 |
+
</svg>
|
60 |
+
</button>
|
61 |
+
</div>
|
62 |
+
</form>
|
63 |
+
<div id="suggestions"></div>
|
64 |
+
</div>
|
65 |
+
<div id="results"></div>
|
66 |
+
</div>
|
67 |
+
</div>
|
68 |
+
|
69 |
+
<script src="eel.js"></script> <script src="script.js"></script>
|
70 |
+
</body>
|
71 |
+
</html>
|