little-hesinde/little-hesinde/templates/base.html
Sebastian Hugentobler 55d3364b0e
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 27m24s
implement html & opds search
2024-06-26 13:53:00 +02:00

54 lines
1.9 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark" />
<link rel="stylesheet" href="/static/pico.min.css" />
<link rel="stylesheet" href="/static/style.css" />
<title>Little Hesinde</title>
</head>
<body>
<header class="container fixed">
<nav>
<ul>
<li>
<form action="/search">
<fieldset class="nav-input" role="search">
<input
type="search"
name="query"
placeholder="Search..."
aria-label="Search"
/>
<input type="submit" value="🔍" />
</fieldset>
</form>
</li>
</ul>
<ul>
<li>{% block title %}<strong>{{ title }}</strong>{% endblock title %}</li>
</ul>
<ul>
<li {% if nav == "recent" %}class = "nav-active"{% endif %}><a href="/">Recent</a></li>
<li {% if nav == "authors" %}class = "nav-active"{% endif %}><a href="/authors">Authors</a></li>
<li {% if nav == "books" %}class = "nav-active"{% endif %}><a href="/books">Books</a></li>
<li {% if nav == "series" %}class = "nav-active"{% endif %}><a href="/series">Series</a></li>
</ul>
</nav>
</header>
<main class="container">
{% block content %}{% endblock content %}
</main>
<footer class="container">
<hr />
<small>
From <a class="secondary" href="https://code.vanwa.ch/shu/little-hesinde">https://code.vanwa.ch</a>
under <a class="secondary" href="https://www.gnu.org/licenses/agpl-3.0.txt">AGPL-3</a> //
<a class="secondary" href="/archive">source code</a> //
<a class="secondary" href="/opds">opds feed</a>
</small>
</footer>
</body>
</html>