init
This commit is contained in:
44
templates/results.html.hbs
Normal file
44
templates/results.html.hbs
Normal file
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Meta Search</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='style.css'>
|
||||
<script src='main.js' defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="search-area">
|
||||
<h1>Meta Search</h1>
|
||||
<form method="post">
|
||||
<input value="{{ last_search }}" name="query" type="text" spellcheck="false" autofocus autocomplete="off">
|
||||
<button type="submit">🔎</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<h2>📚 Results</h2>
|
||||
|
||||
<div class="carousel">
|
||||
<div class="result">
|
||||
<h3>Duck Duck Go</h3>
|
||||
{{ #each ddg }}
|
||||
<div class="line-item">
|
||||
<a href="{{ this.a }}">{{this.title}}</a>
|
||||
<p>{{ this.desc }}</p>
|
||||
</div>
|
||||
{{ /each }}
|
||||
</div>
|
||||
|
||||
<div class="result">
|
||||
<h3>Google</h3>
|
||||
{{ #each google }}
|
||||
<div class="line-item">
|
||||
<a href="{{ this.a }}">{{this.title}}</a>
|
||||
<p>{{ this.desc }}</p>
|
||||
</div>
|
||||
{{ /each }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user