<?php $__env->startSection('page_title'); ?>
    OSAA - Dance/Drill Music
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_sub_title'); ?>    
    
    OSAA Dance/Drill Music Files

<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    @parent

    
    <style type="text/css">
    
        h3 {
      		color: #990000 !important;
      	} 

        table {
            border-collapse: collapse;
            width: 50%;
        }

        table thead th {
            text-align: left;
        }

        table tbody tr {
            line-height: 2em;
        }

        .odd {
            background-color: #dddddd;
        }   	

    </style>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('jquery_init'); ?>
    
    $('.back_button')
        .button({'icons':{'primary' : 'ui-icon-arrowthick-1-w'}})
        .css({'font-size':'9pt'});

<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_functions'); ?>

    <a href="<?php echo url('/activities/dnc/management'); ?>" class="back_button">Dance/Drill</a>

<?php $__env->stopSection(); ?>


<?php $__env->startSection('main_content'); ?>    		  

   	<br />
    <h1>Music Files by Team</h1>

    <table>
        <thead>
            <tr>
                <th>File</th>
                <th>Size</th>
                <th>Updated</th>
            </tr>
        </thead>

        <tbody>

            <?php foreach ($music_files as $i => $file): ?>

                <tr <?php if ($i % 2 == 1): ?> class="odd" <?php endif; ?>>
                    <td><a href="<?php echo $file->asset_path; ?>"><?php echo $file->name; ?></a></td>
                    <td><?php echo $file->size; ?></td>
                    <td><?php echo $file->updated_at; ?></td>
                </tr>

            <?php endforeach; ?>

        </tbody>

    </table>


    
<?php $__env->stopSection(); ?>
