43 lines
1.5 KiB
HTML
Raw Normal View History

2023-10-14 14:41:06 +02: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 16:38:09 +01:00
<link rel="search" title="TROM Search" type="application/opensearchdescription+xml" href="opensearchdescription.xml">
2023-10-14 14:41:06 +02:00
<style>
2023-10-19 01:50:10 +02:00
* { margin: 0; }
html, body { width: 100%; height: 100%; }
#search-box {
position: fixed;
left: 50%;
top: 1rem;
transform: translateX(-50%);
}
2023-10-14 14:41:06 +02:00
#info { color: gray; }
#info.error { color: red; }
</style>
<script type="module" src="index.js"></script>
</head>
<body>
2023-10-19 01:50:10 +02:00
<div id="search-box">
2023-10-14 14:41:06 +02:00
<form id="search">
<input name="query" type="text" placeholder="Query">
<input type="submit" value="Search">
2023-12-30 17:39:20 +01: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 14:41:06 +02:00
</form>
<p id="info"></p>
</div>
</body>
</html>