This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/templates/layout.html

67 lines
3.2 KiB
HTML
Raw Normal View History

2019-11-29 14:04:32 +00:00
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="Xefir's animes search engine (っ^‿^)っ">
2019-12-12 13:37:56 +00:00
<title>PyNyaaTa - {% block title %}{% endblock %}</title>
2019-11-29 14:04:32 +00:00
<link rel="shortcut icon" href="{{ url_for('static', filename='favicons/favicon.ico') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma-tooltip.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/font-awesome.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body>
<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
<div class="navbar-start">
2019-12-11 17:43:14 +00:00
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Home" href="{{ url_for('home') }}">
2019-12-12 13:37:56 +00:00
𝛑 😼 た
2019-12-02 20:50:00 +00:00
</a>
2019-12-11 17:43:14 +00:00
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Latest torrents" href="{{ url_for('latest') }}">
2019-11-30 15:52:13 +00:00
<i class="fa fa-newspaper-o"></i><i>&nbsp;</i><span class="is-hidden-mobile">Latest torrents</span>
</a>
2019-12-11 17:43:14 +00:00
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="My seeded torrents"
2019-11-30 15:52:13 +00:00
href="{{ url_for('list_animes') }}">
<i class="fa fa-cloud-download"></i><i>&nbsp;</i><span class="is-hidden-mobile">My seeded torrents</span>
</a>
{% if request.args.get('q') %}
2019-12-11 17:43:14 +00:00
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="TVDB"
2019-11-30 15:52:13 +00:00
href="https://www.thetvdb.com/search?menu%5Btype%5D=TV&query={{ request.args.get('q') }}"
target="_blank">
<i class="fa fa-television"></i><i>&nbsp;</i><span class="is-hidden-mobile">TVDB</span>
</a>
2019-12-11 17:43:14 +00:00
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Nautiljon"
2019-11-30 15:52:13 +00:00
href="https://www.nautiljon.com/search.php?q={{ request.args.get('q') }}" target="_blank">
<i class="fa fa-rss"></i><i>&nbsp;</i><span class="is-hidden-mobile">Nautiljon</span>
</a>
2019-12-11 17:43:14 +00:00
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Animes-Mangas-DDL"
2019-11-30 15:52:13 +00:00
href="https://animemangaddl.com/?s={{ request.args.get('q') }}" target="_blank">
<i class="fa fa-adn"></i><i>&nbsp;</i><span class="is-hidden-mobile">A-M-DDL</span>
</a>
{% endif %}
2019-11-29 14:04:32 +00:00
</div>
<div class="navbar-end">
<form action="{{ url_for('search') }}" class="navbar-item">
<div class="field has-addons">
<div class="control">
2019-12-10 21:19:31 +00:00
{{ search_form.q(placeholder='Search ...', class='input') }}
2019-11-29 14:04:32 +00:00
</div>
<div class="control">
<button type="submit" class="button is-info">
<i class="fa fa-search"></i>
</button>
</div>
</div>
</form>
</div>
</nav>
<section class="section" role="main">
{% block body %}{% endblock %}
</section>
</body>
</html>