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 %}
<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 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>
</div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -24,7 +24,9 @@
{% endfor %} {% endfor %}
{% if next_cursor %} {% if next_cursor %}
<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 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>
</div>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

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

View File

@ -28,12 +28,14 @@
{% endfor %} {% endfor %}
</div> </div>
{% if has_previous_page %} <div class="box">
<a href="{{ url_for("index") }}?page={{ current_page - 1 }}">Previous</a> {% if has_previous_page %}
{% endif %} <a href="{{ url_for("index") }}?page={{ current_page - 1 }}">Previous</a>
{% endif %}
{% 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 %}