-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
35 lines (31 loc) · 864 Bytes
/
search.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div id="header-container">
<!-- The header will be inserted here -->
</div>
<div id="main-content">
<div id="left-panel" style="width: 100%;">
<!-- Content for the left panel goes here -->
Search
</div>
<div id="right-panel">
<!-- Content for the right panel goes here -->
</div>
</div>
<div id="footer">
<!-- Additional information goes here -->
</div>
<!-- Add the script to insert the header -->
<script>
fetch('header.html')
.then(response => response.text())
.then(data => {
document.getElementById('header-container').innerHTML = data;
});
</script>
</body>
</html>