More UI tweaks

main
Thomas Sileo 2022-07-09 09:33:34 +02:00
parent 809f9cd95d
commit 9fdab48f75
5 changed files with 20 additions and 10 deletions

View File

@ -35,7 +35,9 @@
{% endfor %} {% endfor %}
{% if next_cursor %} {% if next_cursor %}
<div class="box">
<p><a href="{{ request.url._path }}?cursor={{ next_cursor }}{% if request.query_params.filter_by %}&filter_by={{ request.query_params.filter_by }}{% endif %}">See more</a></p> <p><a href="{{ request.url._path }}?cursor={{ next_cursor }}{% if request.query_params.filter_by %}&filter_by={{ request.query_params.filter_by }}{% endif %}">See more</a></p>
</div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -24,7 +24,9 @@
{% endfor %} {% endfor %}
{% if next_cursor %} {% if next_cursor %}
<div class="box">
<p><a href="{{ url_for("admin_outbox") }}?cursor={{ next_cursor }}{% if request.query_params.filter_by %}&filter_by={{ request.query_params.filter_by }}{% endif %}">See more</a></p> <p><a href="{{ url_for("admin_outbox") }}?cursor={{ next_cursor }}{% if request.query_params.filter_by %}&filter_by={{ request.query_params.filter_by }}{% endif %}">See more</a></p>
</div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -15,7 +15,9 @@
{% endif %} {% endif %}
{% if is_admin %} {% if is_admin %}
<div class="box">
<p><a href="{{ url_for("admin_inbox") }}?filter_by=Follow">Manage followers</a></p> <p><a href="{{ url_for("admin_inbox") }}?filter_by=Follow">Manage followers</a></p>
</div>
{% endif %} {% endif %}
</div> </div>

View File

@ -15,7 +15,9 @@
{% endif %} {% endif %}
{% if is_admin %} {% if is_admin %}
<div class="box">
<p><a href="{{ url_for("admin_outbox") }}?filter_by=Follow">Manage follows</a></p> <p><a href="{{ url_for("admin_outbox") }}?filter_by=Follow">Manage follows</a></p>
</div>
{% endif %} {% endif %}
</div> </div>

View File

@ -28,6 +28,7 @@
{% endfor %} {% endfor %}
</div> </div>
<div class="box">
{% if has_previous_page %} {% if has_previous_page %}
<a href="{{ url_for("index") }}?page={{ current_page - 1 }}">Previous</a> <a href="{{ url_for("index") }}?page={{ current_page - 1 }}">Previous</a>
{% endif %} {% endif %}
@ -35,5 +36,6 @@
{% if has_next_page %} {% if has_next_page %}
<a href="{{ url_for("index") }}?page={{ current_page + 1 }}">Next</a> <a href="{{ url_for("index") }}?page={{ current_page + 1 }}">Next</a>
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}