Merge branch 'master' of https://github.com/LQDJudge/online-judge into pagevote

This commit is contained in:
Zhao-Linux 2022-11-18 02:17:56 +07:00
commit 8108967959
5 changed files with 35 additions and 13 deletions

View file

@ -2,6 +2,14 @@
{% block title_ruler %}{% endblock %}
{% block org_js %}
{% include "actionbar/media-js.html" %}
{% endblock %}
{% block three_col_media %}
{% include "actionbar/media-css.html" %}
{% endblock %}
{% block middle_title %}
<div class="page-title">
<div class="tabs" style="border: none;">
@ -29,10 +37,10 @@
{% if is_member or can_edit %}
{% for post in posts %}
{% include "blog/content.html" %}
{% if posts.paginator.num_pages > 1 %}
<div style="margin-bottom:10px;margin-top:10px">{% include "list-pages.html" %}</div>
{% endif %}
{% endfor %}
{% if posts.paginator.num_pages > 1 %}
<div style="margin-bottom:10px;margin-top:10px">{% include "list-pages.html" %}</div>
{% endif %}
{% else %}
<div class="blog-sidebox sidebox">
<h3>{{ _('About') }}<i class="fa fa-info-circle"></i></h3>