-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
96 lines (85 loc) · 3.75 KB
/
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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="ROBOTS" content="ALL" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="Copyright" content="" />
<meta name="keywords" content="open-source, search, opensearch" />
<meta name="description" content="" />
<!-- Favicons -->
<link rel="apple-touch-icon" href="/assets/img/icon-touch.png">
<link rel="icon" sizes="192x192" href="/assets/img/icon-touch.png">
<link rel="shortcut icon" href="/assets/img/favicon.ico">
<meta name="msapplication-TileColor" content="#113228">
<meta name="msapplication-TileImage" content="/img/icon-tile.png">
<title> OpenSearch</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<style>
/*.my-container {*/
/* border: 1px solid green;*/
/*}*/
/*.my-row {*/
/* border: 3px solid red;*/
/*}*/
/*.my-col {*/
/* border: 3px dotted blue;*/
/*}*/
.my-card {
margin-bottom: 10px;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-dark">
<div class="container-fluid">
<!-- <a class="navbar-brand" href="#"><h2>OpenSearch</h2></a>-->
<a class="navbar-brand" href="/"><img src="/assets/img/logo-search.svg" border=0></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<p>
</p>
<div class="container my-container">
<div class="row my-row">
<div class="col-md-2 col-lg-1 my-col"></div>
<div class="col-md-8 col-lg-10 my-col">
<form class="d-flex" style="min-height: 70px; margin-bottom: 10px;">
<input class="form-control me-2" type="search" aria-label="Search"
placeholder="Search docs, blogs, webinars, and everything else ..."
id="search_input">
<!-- hack to prevent form submission on pressing enter on search_input field (https://stackoverflow.com/questions/1563062/prevent-form-submission-with-enter-key)-->
<input type="text" style="display: none;" />
<button class="btn btn-outline-primary" type="button" id="search_button"> Search </button>
</form>
<div id="results"></div>
</div>
<div class="col-md-2 col-lg-1 my-col"></div>
</div>
</div>
<!--<div class="user">-->
<!-- <p><img src="${user.avatar}" alt="${user.first_name}"> </p>-->
<!-- <p>Name: ${user.first_name}</p>-->
<!-- <p>Email: ${user.email}</p>-->
<!--</div>-->
<!--<div class="card border-info my-card " >-->
<!-- <h5 class="card-header">${user.first_name}-->
<!-- <span class="badge rounded-pill bg-warning text-dark" style="float: right;">DOC</span>-->
<!-- </h5>-->
<!-- <div class="card-body">-->
<!-- <h6 class="card-subtitle mb-2 text-muted">${user.email}</h6>-->
<!-- <p class="card-text">${lorem}</p>-->
<!-- </div>-->
<!--</div>-->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous">
</script>
<script src="assets/search.js"></script>
</body>
</html>