2021-01-19 16:13:08 +01:00
|
|
|
<!doctype html>
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
2021-03-24 18:52:46 +01:00
|
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2021-01-19 16:13:08 +01:00
|
|
|
{% block head %}
|
|
|
|
<title>{% block full_title %}{% block title %}{% endblock %} - SimpleerTube{% endblock %}</title>
|
|
|
|
{% endblock %}
|
|
|
|
</head>
|
|
|
|
|
2021-03-24 18:52:46 +01:00
|
|
|
<body>
|
2021-07-18 00:52:53 +02:00
|
|
|
<center>
|
2021-07-30 20:04:32 +02:00
|
|
|
|
2021-03-24 18:58:55 +01:00
|
|
|
<h2>{{ instance_name }}</h2>
|
2021-07-30 20:04:32 +02:00
|
|
|
<a href="/">Home</a>
|
|
|
|
<b> | </b>
|
|
|
|
<a href="/{{ domain }}">Instance Home</a>
|
|
|
|
|
2021-01-19 16:13:08 +01:00
|
|
|
<form action="/{{ domain }}/search" method="POST">
|
2021-07-18 01:12:12 +02:00
|
|
|
<input size="45" style="max-width: 100%" type="text" name="query" id="query" placeholder="Search" value="{{ search_term }}"/>
|
2021-01-19 16:13:08 +01:00
|
|
|
<button type="submit">Search</button>
|
|
|
|
</form>
|
|
|
|
|
2021-03-24 18:58:55 +01:00
|
|
|
<br>
|
2021-01-22 04:17:02 +01:00
|
|
|
|
2021-03-24 18:58:55 +01:00
|
|
|
<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>
|
2021-01-23 15:20:10 +01:00
|
|
|
|
2021-03-24 18:58:55 +01:00
|
|
|
{% block head_content %}{% endblock %}
|
2021-01-23 15:20:10 +01:00
|
|
|
|
2021-03-24 18:58:55 +01:00
|
|
|
{% if pagination_url %}
|
|
|
|
{% if pages_total > 1 %}
|
|
|
|
{% if page > 1 %}
|
|
|
|
<a href="{{ pagination_url }}{{ page - 1 }}">Previous</a>
|
|
|
|
<b> | </b>
|
|
|
|
{% endif %}
|
|
|
|
Page {{ page }} of {{ pages_total }}
|
|
|
|
{% if page < pages_total %}
|
|
|
|
<b> | </b>
|
|
|
|
<a href="{{ pagination_url }}{{ page + 1}}">Next</a>
|
|
|
|
{% endif %}
|
2021-01-23 15:20:10 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2021-03-24 18:58:55 +01:00
|
|
|
<br>
|
2021-01-19 16:13:08 +01:00
|
|
|
|
2021-03-24 18:58:55 +01:00
|
|
|
{% block content %}{% endblock %}
|
2021-01-23 15:20:10 +01:00
|
|
|
|
2021-03-24 18:58:55 +01:00
|
|
|
{% if pagination_url %}
|
|
|
|
{% if pages_total > 1 %}
|
|
|
|
{% if page > 1 %}
|
|
|
|
<a href="{{ pagination_url }}{{ page - 1 }}">Previous</a>
|
|
|
|
<b> | </b>
|
|
|
|
{% endif %}
|
|
|
|
Page {{ page }} of {{ pages_total }}
|
|
|
|
{% if page < pages_total %}
|
|
|
|
<b> | </b>
|
|
|
|
<a href="{{ pagination_url }}{{ page + 1}}">Next</a>
|
|
|
|
{% endif %}
|
2021-01-23 15:20:10 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2021-07-18 00:52:53 +02:00
|
|
|
</center>
|
2021-01-19 16:13:08 +01:00
|
|
|
</body>
|
|
|
|
</html>
|