metasearch/index.html

43 lines
1.5 KiB
HTML
Raw Normal View History

2023-10-14 12:41:06 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width, initial-scale=1">
2023-12-14 15:38:09 +00:00
<link rel="search" title="TROM Search" type="application/opensearchdescription+xml" href="opensearchdescription.xml">
2023-10-14 12:41:06 +00:00
<style>
2023-10-18 23:50:10 +00:00
* { margin: 0; }
html, body { width: 100%; height: 100%; }
#search-box {
position: fixed;
left: 50%;
top: 1rem;
transform: translateX(-50%);
}
2023-10-14 12:41:06 +00:00
#info { color: gray; }
#info.error { color: red; }
</style>
<script type="module" src="index.js"></script>
</head>
<body>
2023-10-18 23:50:10 +00:00
<div id="search-box">
2023-10-14 12:41:06 +00:00
<form id="search">
<input name="query" type="text" placeholder="Query">
<input type="submit" value="Search">
2023-12-30 16:39:20 +00:00
<input type="radio" id="search-category-all" name="category" value="all" checked>
<label for="search-category-all">All</label>
<input type="radio" id="search-category-images" name="category" value="images">
<label for="search-category-images">Images</label>
<input type="radio" id="search-category-news" name="category" value="news">
<label for="search-category-news">News</label>
<input type="radio" id="search-category-videos" name="category" value="videos">
<label for="search-category-videos">Videos</label>
2023-10-14 12:41:06 +00:00
</form>
<p id="info"></p>
</div>
</body>
</html>