{% extends 'layouts/base.html' %}

{% block content %}

<!-- Services Start -->
<div class="container-fluid pt-5 pb-3">
    <div class="container">
        <br />
        <br />
        <br />
        <form method="POST">
            <b>Start Date and Time:</b> {{ session.startdate }}<br/>
            <b>End Date and Time:</b> {{ session.enddate }}<br/>
            <b>Source Schema:</b> {{ session.source }}<br/>
            <b>Target Schema:</b> {{ session.target }}<br/> 
            <h3>Select Table(s) to compare:</h3>
            <h4></h4>
            <select name="tables" id="tables" style="height:400px; width:750px;" multiple>
                <option value="Select Table(s)" SELECTED>Select Table(s)</option>
                {% for result in results %}
                <option value="{{ result[0] }}">{{ result[0] }}</option>
                {% endfor %}
            </select>
            <p> {{ form.submit() }}</p>
            <h5>{{ tablecount }} Tables Listed</h5>                       
        </form>
    </div>
</div>
<!-- Services End -->

{% endblock %}