
<?php $__env->startSection('content'); ?>
    <div class="page-header">
        <h1>Shows</h1>
    </div>

    <div class="panel panel-default">
        <?php /* PANEL */ ?>
        <div class="panel-heading">
            <b>
                Showing <?php echo $shows->getFrom(); ?> - <?php echo $shows->getTo(); ?> of <?php echo $shows->getTotal(); ?> total shows
            </b>
        </div>

        <?php /* CONTENT */ ?>
        <table class="table table-striped">
            <?php if (count($shows)): ?>
                <thead>
                    <tr>
                        <th>Name</th>
                        <th>Venue</th>
                        <th>Download</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach ($shows as $show): ?>
                        <tr>
                            <td><?php echo $show; ?></td>
                            <td><?php echo $show->venue; ?></td>
                            <td>
                                <?php if (!empty($show->download_url)): ?>
                                    <?php echo HTML::link($show->download_url, 'Download', ['target' => '_blank']); ?>
                                <?php endif; ?>
                            </td>
                        </tr>
                    <?php endforeach; ?>
                </tbody>
            <?php else: ?>
                <tbody><tr><td>No Results</td></tr></tbody>
            <?php endif; ?>
        </table>
    </div>

    <div class="row text-center">
        <?php echo $shows->links(); ?>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>