mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 15:00:01 +00:00
Make our HTML actually valid. Fix indentation.
This commit is contained in:
parent
16cfcff846
commit
8d393f5917
|
@ -281,4 +281,8 @@ a.text-purple:hover, a.text-purple:active, a.text-purple:focus { color: #a760e0;
|
|||
.btn.active span.glyphicon-unchecked {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.center {
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<title>{% block title %}{{ config.SITE_NAME }}{% endblock %}</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="shortcut icon" type="image/png" href="/static/favicon.png">
|
||||
<link rel="icon" type="image/png" href="/static/favicon.png">
|
||||
|
@ -167,7 +167,9 @@
|
|||
('5_2', '- Photos', 'Pictures - Photos'),
|
||||
('6_0', 'Software', 'Software'),
|
||||
('6_1', '- Applications', 'Software - Apps'),
|
||||
('6_2', '- Games', 'Software - Games')] %}
|
||||
('6_2', '- Games', 'Software - Games')]
|
||||
%}
|
||||
|
||||
{% set suke_cats = [('1_0', 'Art', 'Art'),
|
||||
('1_1', '- Anime', 'Art - Anime'),
|
||||
('1_2', '- Doujinshi', 'Art - Doujinshi'),
|
||||
|
@ -176,14 +178,15 @@
|
|||
('1_5', '- Pictures', 'Art - Pictures'),
|
||||
('2_0', 'Real Life', 'Real Life'),
|
||||
('2_1', '- Photobooks and Pictures', 'Real Life - Pictures'),
|
||||
('2_2', '- Videos', 'Real Life - Videos')] %}
|
||||
('2_2', '- Videos', 'Real Life - Videos')]
|
||||
%}
|
||||
|
||||
{% if config.SITE_FLAVOR == 'nyaa' %}
|
||||
{% set used_cats = nyaa_cats %}
|
||||
{% elif config.SITE_FLAVOR == 'sukebei' %}
|
||||
{% set used_cats = suke_cats %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="search-container visible-xs visible-sm">
|
||||
{% if user_page %}
|
||||
<form class="navbar-form navbar-right form" action="{{ url_for('view_user', user_name=user.username) }}" method="get">
|
||||
|
@ -270,7 +273,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div> <!-- where is this? in a hurry, will fix later -->
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</nav>
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
{% else %}
|
||||
<a href="/?c={{ cat_id }}" title="{{ torrent.main_category.name }} - {{ torrent.sub_category.name }}">
|
||||
{% endif %}
|
||||
<img src="/static/img/icons/{{ icon_dir }}/{{ cat_id }}.png">
|
||||
<img src="/static/img/icons/{{ icon_dir }}/{{ cat_id }}.png" alt="{{ category_name(cat_id) }}">
|
||||
</a>
|
||||
</td>
|
||||
{% if use_elastic %}
|
||||
|
@ -99,7 +99,7 @@
|
|||
<h3>No results found</h3>
|
||||
{% endif %}
|
||||
|
||||
<center>
|
||||
<div class="center">
|
||||
{% if use_elastic %}
|
||||
{{ pagination.info }}
|
||||
{{ pagination.links }}
|
||||
|
@ -107,4 +107,4 @@
|
|||
{% from "bootstrap/pagination.html" import render_pagination %}
|
||||
{{ render_pagination(torrent_query) }}
|
||||
{% endif %}
|
||||
</center>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue