<div class="col-lg-10 col-md-10 col-sm-10 col-xs-10 bodyitem">
    <fieldset style="margin-bottom: 0px; padding-bottom: 0px; border-radius: 10px 10px 0px 0px ">
        <div class="row">
            <div class="report-button pull-right">
                <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 text-center text-uppercase btn btn-large btn-info">Print</div>
            </div>
        </div>
        <div class="clearfix" style="margin: 5px 0px 5px 0px"></div>
        <div class="row">
            <table class="table table-responsive table-bordered">
                <tr class="table-bg-color">
                    <th>Log Date</th>
                    <th>Task</th>
                    <th>From</th>
                </tr>
                <?php if (!empty($logs)): ?>
                    <?php foreach ($logs as $log): ?>
                        <tr class="table-bg-color-white">
                            <td><?php print date('F j, Y H:i:a', strtotime($log->access_time)) ?></td>
                            <td><?php echo $log->activity ?></td>
                            <td><?php echo $log->login_ip ?></td>
                        </tr>
                    <?php endforeach; ?>
                <?php else: ?>
                    <tr class="table-bg-color-white">
                        <td colspan="3">No Logs Found Yet</td>
                    </tr>
                <?php endif; ?>

            </table>
        </div>
    </fieldset>  
</div>
<script>
    $(document).ready(function () {
        manageWindowHeight();
    });
</script>
