@{
    ViewData["Title"] = "Planning Reports | Mesa Reporting Services";
}

<div aria-label="breadcrumb">
    <ol class="breadcrumb">
        <li class="breadcrumb-item"><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li>
        <li class="breadcrumb-item active" aria-current="page">Planning Reports</li>
    </ol>
</div>
<br />

<div class="row">
    <div class="col-3 d-grid">
        <button class="btn btn-outline-secondary text-start" data-bs-toggle="modal" data-bs-target="#chooseDateRange"><span class="float-start"><i class="fa-regular fa-file-alt fa-4x buttonImage align-middle"></i> Weekly Part Changes Report</span></button>
    </div>
</div>

<div class="modal fade" id="chooseDateRange" tabindex="-1" aria-labelledby="chooseDateRangeLabel" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h1 class="modal-title fs-5" id="exampleModalLabel">Choose Date Range</h1>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <form method="post" action="PlanningReport/WeeklyPartChangesReport" autocomplete="off">
                <div class="modal-body" style="padding-top: 15px; padding-bottom: 10px">
                    <div class="row">
                        <div class="col-6">Start Date:</div>
                        <div class="col-6"><input type="text" name="startDate" id="StartDate" /></div>
                    </div>
                    <div class="row" style="padding-top: 10px; padding-bottom: 10px">
                        <div class="col-6">End Date:</div>
                        <div class="col-6"><input type="text" name="endDate" id="EndDate" /></div>
                    </div>
                    <div class="row" style="padding-top: 10px; padding-bottom: 10px">
                        <div class="col text-center">
                            <button class="btn btn-outline-secondary" onclick="displayBusyIndicator()" data-bs-dismiss="modal" type="submit">Go To Report</button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<partial name="_LoadingPartial" />