This commit is contained in:
Michel Roux 2019-12-12 14:37:56 +01:00
parent 57dd8d6a2f
commit ae8c53b278
7 changed files with 8 additions and 8 deletions

2
app.py
View File

@ -34,7 +34,7 @@ def colorify(model):
@app.route('/')
def home():
return render_template('layout.html', search_form=SearchForm())
return render_template('layout.html', search_form=SearchForm(), title='Animes torrents search engine')
@app.route('/search')

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %}
{% block title %} - Admin Edit {{ link.name }}{% endblock %}
{% block title %}Admin Edit for "{{ link.name }}"{% endblock %}
{% block body %}
<form method="post" action="{{ url_for('admin_save') }}">
{{ edit_form.csrf_token }}

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %}
{% block title %} - Admin List{% endblock %}
{% block title %}Admin List{% endblock %}
{% block body %}
<p id="quick_scroll">
Quick Scroll :

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %}
{% block title %} - Latest torrents{% endblock %}
{% block title %}Latest torrents{% endblock %}
{% block body %}
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable is-size-7">
<thead>

View File

@ -5,7 +5,7 @@
<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 (っ^‿^)っ">
<title>𝛑 =^._.^= た{% block title %}{% endblock %}</title>
<title>PyNyaaTa - {% block title %}{% endblock %}</title>
<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') }}">
@ -17,7 +17,7 @@
<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
<div class="navbar-start">
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Home" href="{{ url_for('home') }}">
𝛑 =^._.^=
𝛑 😼
</a>
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Latest torrents" href="{{ url_for('latest') }}">
<i class="fa fa-newspaper-o"></i><i>&nbsp;</i><span class="is-hidden-mobile">Latest torrents</span>

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %}
{% block title %} - My seeded torrents{% endblock %}
{% block title %}My seeded torrents{% endblock %}
{% block body %}
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable is-size-7">
<thead>

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %}
{% block title %} - {{ request.args.get('q') }}{% endblock %}
{% block title %}Search for "{{ request.args.get('q') }}"{% endblock %}
{% block body %}
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable">
<thead>