mirror of https://github.com/r4sas/py-i2phosts
R4SAS
8 years ago
12 changed files with 179 additions and 180 deletions
@ -1,5 +1,5 @@ |
|||||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
<center><h1>404 Not Found</h1></center> |
<center><h1>404 Not Found</h1></center> |
||||||
{% endblock %} |
{% endblock %} |
||||||
|
@ -1,5 +1,5 @@ |
|||||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
<center><h1>500 Internal server error</h1></center> |
<center><h1>500 Internal server error</h1></center> |
||||||
{% endblock %} |
{% endblock %} |
||||||
|
@ -1,28 +1,28 @@ |
|||||||
<div class="pager"> |
<div class="pager"> |
||||||
{% if has_previous %} |
{% if has_previous %} |
||||||
<span class="page"> |
<span class="page"> |
||||||
<a href="?page={{ previous }}">< Prev</a> |
<a href="?page={{ previous }}">< Prev</a> |
||||||
</span> |
</span> |
||||||
{% endif %} |
{% endif %} |
||||||
|
|
||||||
{% if show_first %} |
{% if show_first %} |
||||||
<span class="page"><a href="?page=1">1</a></span> |
<span class="page"><a href="?page=1">1</a></span> |
||||||
<span class="ellipsis">...</span> |
<span class="ellipsis">...</span> |
||||||
{% endif %} |
{% endif %} |
||||||
{% for linkpage in page_numbers %} |
{% for linkpage in page_numbers %} |
||||||
{% ifequal linkpage page %} |
{% ifequal linkpage page %} |
||||||
<span class="current">{{ page }}</span> |
<span class="current">{{ page }}</span> |
||||||
{% else %} |
{% else %} |
||||||
<span class="page"><a href="?page={{ linkpage }}" |
<span class="page"><a href="?page={{ linkpage }}" |
||||||
>{{ linkpage }}</a></span> |
>{{ linkpage }}</a></span> |
||||||
{% endifequal %} |
{% endifequal %} |
||||||
{% endfor %} |
{% endfor %} |
||||||
{% if show_last %} |
{% if show_last %} |
||||||
<span class="ellipsis">...</span> |
<span class="ellipsis">...</span> |
||||||
<span class="page"><a href="?page=last">{{ pages }}</a></span> |
<span class="page"><a href="?page=last">{{ pages }}</a></span> |
||||||
{% endif %} |
{% endif %} |
||||||
{% if has_next %} |
{% if has_next %} |
||||||
<span class="page"><a href="?page={{ next }}">Next ></a></span> |
<span class="page"><a href="?page={{ next }}">Next ></a></span> |
||||||
{% endif %} |
{% endif %} |
||||||
{{ paginator.count }} total |
{{ paginator.count }} total |
||||||
</div> |
</div> |
||||||
|
Loading…
Reference in new issue