SimpleerTube/templates/base.html
2021-01-22 04:17:02 +01:00

34 lines
991 B
HTML

<!doctype html>
<html>
<head>
{% block head %}
<title>{% block full_title %}{% block title %}{% endblock %} - SimpleerTube{% endblock %}</title>
{% endblock %}
</head>
<body>
<form action="/{{ domain }}/search" method="POST">
<label for="query"><b>{{ instance_name }}</b></label>
<input type="text" name="query" id="query" placeholder="Search" value="{{ search_term }}"/>
<button type="submit">Search</button>
</form>
<br>
<a href="/{{ domain }}/videos/local">Local</a>
<b> | </b>
<a href="/{{ domain }}/videos/trending">Trending</a>
<b> | </b>
<a href="/{{ domain }}/videos/most-liked">Most Liked</a>
<b> | </b>
<a href="/{{ domain }}/videos/recently-added">Recently Added</a>
<br>
<br>
{% block content %}{% endblock %}
<footer>
<a href="https://codeberg.org/simple-web/peertube/src/commit/{{ commit }}">Commit: {{ commit }}</a>
</footer>
</body>
</html>