bbb
This commit is contained in:
parent
7731d4ea30
commit
6a61f3be89
3 changed files with 84 additions and 44 deletions
|
@ -476,4 +476,4 @@ def transfers(v):
|
|||
next_exists = len(comments) > 25
|
||||
comments = comments[:25]
|
||||
|
||||
return render_template("home_comments.html", v=v, page=page, comments=comments, standalone=True, next_exists=next_exists)
|
||||
return render_template("transfers.html", v=v, page=page, comments=comments, standalone=True, next_exists=next_exists)
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
{% block content %}
|
||||
<pre></pre>
|
||||
{% if request.path != '/transfers' %}
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
|
||||
<div class="d-flex px-2 align-items-center sortingbarmargin">
|
||||
|
@ -51,7 +50,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
|
||||
|
||||
|
@ -73,14 +71,14 @@
|
|||
<ul class="pagination pagination-sm mb-0">
|
||||
{% if page>1 %}
|
||||
<li class="page-item">
|
||||
<small><a class="page-link" href="?page={{page-1}}&sort={{sort}}&t={{t}}{% if shadowbanned %}&shadowbanned=true{% endif %}" tabindex="-1">Prev</a></small>
|
||||
<small><a class="page-link" href="?page={{page-1}}&sort={{sort}}&t={{t}}" tabindex="-1">Prev</a></small>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="page-item disabled"><span class="page-link">Prev</span></li>
|
||||
{% endif %}
|
||||
{% if next_exists %}
|
||||
<li class="page-item">
|
||||
<small><a class="page-link" href="?page={{page+1}}&sort={{sort}}&t={{t}}{% if shadowbanned %}&shadowbanned=true{% endif %}">Next</a></small>
|
||||
<small><a class="page-link" href="?page={{page+1}}&sort={{sort}}&t={{t}}">Next</a></small>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="page-item disabled"><span class="page-link">Next</span></li>
|
||||
|
|
42
files/templates/transfers.html
Normal file
42
files/templates/transfers.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
{% extends "default.html" %}
|
||||
|
||||
{% block PseudoSubmitForm %}{% endblock %}
|
||||
{% block sortnav %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<pre></pre>
|
||||
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
|
||||
|
||||
<div class="col-12 px-3">
|
||||
|
||||
<div class="posts" id="posts">
|
||||
|
||||
{% include "comments.html" %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block pagenav %}
|
||||
<nav aria-label="Page navigation">
|
||||
<ul class="pagination pagination-sm mb-0">
|
||||
{% if page>1 %}
|
||||
<li class="page-item">
|
||||
<small><a class="page-link" href="?page={{page-1}}" tabindex="-1">Prev</a></small>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="page-item disabled"><span class="page-link">Prev</span></li>
|
||||
{% endif %}
|
||||
{% if next_exists %}
|
||||
<li class="page-item">
|
||||
<small><a class="page-link" href="?page={{page+1}}">Next</a></small>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="page-item disabled"><span class="page-link">Next</span></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue