The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojolicious::Plugin::BootstrapPagination - Page Navigator plugin for Mojolicious This module has derived from Mojolicious::Plugin::PageNavigator

SYNOPSIS

# Mojolicious::Lite
plugin 'bootstrap_pagination'

# Mojolicious
$self->plugin( 'bootstrap_pagination' );

DESCRIPTION

Mojolicious::Plugin::BootstrapPagination generates standard page navigation bar, like

<< 1 2 ... 11 12 13 14 15 ... 85 86 >>

HELPERS

bootstrap_pagination

%= bootstrap_pagination( $current_page, $total_pages, $opts );

Options

Options is a optional ref hash.

%= bootstrap_pagination( $current_page, $total_pages, {
    round => 4,
    outer => 2,
    class => 'pagination-lg',
    param => 'page' } );

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicio.us,Mojolicious::Plugin::PageNavigator.

Repository

https://github.com/dokechin/Mojolicious-Plugin-BootstrapPagination

LICENSE

Copyright (C) dokechin.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

dokechin <>