<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebFormsClient._Default" %>

<asp:Content runat="server" ID="HeadContent" ContentPlaceHolderID="HeadContent">
    <script src="Scripts/Booking/AvailabilityRequest.Classic.js"></script>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <div class="content-container-wrapper">
        <div class="content-container" id="availability-request">
            <h3>
                <asp:Literal runat="server" Text="<%$ Resources: Common, H_AvailabilityRequest %>" /></h3>

            <div class="alert alert-danger" id="invalid-parameters">
                <asp:Literal runat="server" Text="<%$ Resources: Common, Error_InvalidParameters %>" />
            </div>
            <div>
                <p class="form-label">
                    <asp:Literal runat="server" Text="<%$ Resources: Common, Origin %>" />
                </p>
                <asp:DropDownList runat="server" ID="ddlOrigin" AutoPostBack="False" ClientIDMode="Static" CssClass="combo" />
            </div>
            <div>
                <p class="form-label">
                    <asp:Literal runat="server" Text="<%$ Resources: Common, Destination %>" />
                </p>
                <asp:DropDownList runat="server" ID="ddlDestination" AutoPostBack="False" ClientIDMode="Static" CssClass="combo" />
            </div>

            <div>
                <p class="form-label">
                    <asp:Literal runat="server" Text="<%$ Resources: Common, Dates %>" />
                </p>

                <div class="input-daterange input-group" id="dp-return">
                    <input type="text" class="input-sm form-control" name="departure" />
                    <span class="input-group-addon">
                        <asp:Literal runat="server" Text="<%$ Resources: Common, To %>" /></span>
                    <input type="text" class="input-sm form-control" name="return" />
                </div>
            </div>
            <div class="button-container">
                <button class="btn btn-primary" id="btnGetAvailability">
                    <asp:Literal runat="server" Text="<%$ Resources: Common, BTN_CheckAvailability%>" />
                </button>
                <button class="btn btn-primary" id="btnLastRequests">
                    <asp:Literal runat="server" Text="<%$ Resources: Common, BTN_LastRequests%>" />
                </button>
            </div>

        </div>
        <div class="content-container" id="availability-response">
            <h3>
                <asp:Literal runat="server" Text="<%$ Resources: Common, H_AvailableBookings %>" /></h3>
            <div id="journey-content-wrapper">
                <h4>
                    <asp:Literal runat="server" Text="<%$ Resources: Common, H_InboundJourneys %>" /></h4>
                <div id="inbound-journey-wrapper">
                </div>
                <h4>
                    <asp:Literal runat="server" Text="<%$ Resources: Common, H_OutboundJourneys %>" /></h4>
                <div id="outbound-journey-wrapper">
                </div>
            </div>
            <div class="button-container">
                <button class="btn btn-primary" id="btnNewSearch">
                    <asp:Literal runat="server" Text="<%$ Resources: Common, BTN_NewSearch%>" />
                </button>
            </div>
        </div>
        <div class="content-container" id="last-requests">
            <h3>
                <asp:Literal runat="server" Text="<%$ Resources: Common, H_LastRequests %>" /></h3>
            <div id="last-request-wrapper">
            </div>
            <div class="button-container">
                <button class="btn btn-primary" id="btnBackLastRequests">
                    <asp:Literal runat="server" Text="<%$ Resources: Common, BTN_BackLastRequests%>" />
                </button>
            </div>
        </div>
        <div class="btn-group" id="version-selector">
            <button type="button" class="btn btn-info active">Classic</button>
            <button type="button" class="btn btn-info" onclick="window.location.href='Angular.aspx'">Angular</button>
            <button type="button" class="btn btn-info" onclick="window.location.href='Knockout.aspx'">Knockout</button>
        </div>
    </div>



</asp:Content>
