tutorial - webapplayers

Laravel 4 Pagination bug with Twitter Bootstrap 3 (3)

When using Laravel Pagination, I believe that the css classes generated are relevant to bootstrap 2 and not bootstrap 3.

{{ $products->links() }} generates

<div class="pagination">
        <?php echo $presenter->render(); ?>

However I would like it to generate:

    <ul class="pagination">
        <?php echo $presenter->render(); ?>

Without changing the framework code laravel/framework/src/illuminate/pagination/views/slider.php, is there a better / proper way of overriding the CSS / code generated by {{ $products->links() }}?

Bootstrap 3: How to keep pagination on one line?

Set the width of the <ul> to a big value seems to work:

<div class="container">
    <div class="row">
        <div class="col-xs-12">
            <ul class="pagination" style="width:100000px;">

Maybe calculate the real width with javascript / jquery.

Also consider to not display all values but something like : < 1 2 3 ... 1007 >