aboutsummaryrefslogtreecommitdiffstats
path: root/templates/pagination.html
blob: ed11d4f61d23450f5197899218a9969764c0b99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends 'base.html' %}

{% load bootstrap3 %}

{% block title %}
    Pagination
{% endblock %}

{% block content %}

    <table class="table">
        {% for line in lines %}
            <tr>
                <td>{{ line }}</td>
            </tr>
        {% endfor %}
    </table>

    <hr>

    {% bootstrap_pagination lines url="/pagination?page=1&flop=flip" extra="q=foo" size="small" %}

    {% bootstrap_pagination lines url="/pagination?page=1" size="large" %}

{% endblock %}