2022-01-26 17:58:00 -06:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en" data-theme="dark">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
<style>
|
|
|
|
main {
|
|
|
|
--primary: #d81b60;
|
|
|
|
--primary-hover: #e91e63;
|
|
|
|
--primary-focus: rgba(216, 27, 96, 0.25);
|
|
|
|
--primary-inverse: #FFF;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.classless.min.css">
|
|
|
|
<title># überbot quotes</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<main>
|
2022-01-27 17:44:50 -06:00
|
|
|
<form method="get">
|
2022-01-26 17:58:00 -06:00
|
|
|
<label>
|
|
|
|
Search query
|
|
|
|
<input type="text" name="query" placeholder="Search..." required>
|
|
|
|
</label>
|
|
|
|
<button type="submit">Search</button>
|
|
|
|
</form>
|
2022-01-27 17:44:50 -06:00
|
|
|
{{#if flash}}
|
|
|
|
<p>{{flash}}</p>
|
|
|
|
{{/if}}
|
2022-01-26 17:58:00 -06:00
|
|
|
{{#if quotes}}
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Author</td>
|
|
|
|
<td>Quote</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{#each quotes}}
|
|
|
|
<tr>
|
|
|
|
<td>{{author}}</td>
|
|
|
|
<td>{{quote}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{{/if}}
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|