<div class="row">
    <div class="col-md-12">
        <h1>Production Scheduler: <%=channels["advvfdipp.sch_enabled"].value %></h1>
        <h2>Upcoming Schedule</h2>
        <div class="table table-responsive">
            <form>
                <table>
                    <thead>
                        <tr>
                            <th>ID</th>
                            <th>Control Mode</th>
                            <th>Completion Parameter</th>
                            <th></th>
                            <th>Target Value</th>
                            <th>Actual Value</th>
                        </tr>
                    </thead>
                    <tbody id="upcoming_schedule">
                        <tr>
                            <td><input id="ps_id_1" type="number"></td>
                            <td><input id="ps_controlmode_1" type="number"></td>
                            <td><input id="ps_complparam_1" type="number"></td>
                            <td><input id="ps_complcomp_1" type="number"></td>
                            <td><input id="ps_target_1" type="number"></td>
                            <td><input id="ps_actual_1" type="number"></td>
                            <td><input id="ps_totalbbl_1" type="number"></td>
                        </tr>


                    </tbody>
                </table>
            </form>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-md-12">
        <h2>Previously Scheduled Runs</h2>
        <div class="table table-responsive">
            <table>
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>Control Mode</th>
                        <th>Completion Parameter</th>
                        <th></th>
                        <th>Target Value</th>
                        <th>Actual Value</th>
                        <th>Total BBL</th>
                    </tr>
                </thead>
                <tbody id="past_schedule"></tbody>
            </table>
        </div>
    </div>
</div>

<script type="text/javascript">
//Get values of run_schedule_x
var run_schedule = [];

for


</script>
