<%@ Page Title="" Language="C#" MasterPageFile="~/Application.Master" AutoEventWireup="true" CodeBehind="DataArchive.aspx.cs" Inherits="ICDAS_3_0_Web_App.ICDAS_3_0.Administrator.DataArchive" %>
<%@ Register Src="~/User_Controls/ucDropDown.ascx" TagPrefix="ucDropDown" TagName="ucDropDown" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        .row .x_panel{
            background-color:#f5f5f5;
        }
    </style>

    <style type="text/css">
        body {
            margin: 0;
            padding: 0;
            font-family: Arial;
        }

        .loadingmodal {
            position: fixed;
            z-index: 999 !important;
            height: 100%;
            width: 100%;
            top: 0;
            background-color: white;
            filter: alpha(opacity=60);
            opacity: 0.8;
            -moz-opacity: 1;
        }

        .loadingcenter {
            z-index: 1000 !important;
            width: 200px;
            height: 100px;
            position: absolute;
            left: 45%;
            top: 60%;
            margin-left: -150px;
            margin-top: -150px;
            opacity: 1;
            /*-moz-opacity: 1;*/
            background: url("Images/loading.gif") no-repeat;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upnlwzDataArchive">
        <ProgressTemplate>
            <div class="loadingmodal">
                <div class="loadingcenter">
                </div>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="upnlwzDataArchive" UpdateMode="Always" runat="server">
        <ContentTemplate>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_content">
                            <asp:HiddenField ID="hdnRecordId" Value="0" runat="server" />
                            <div class="x_title">
                                <h4>
                                    <asp:Label ID="lblFormTitle" runat="server"></asp:Label></h4>
                                <div class="clearfix"></div>
                            </div>
                            <div class="col-xs-12 col-sm-12 col-lg-12">


                                <div class="row">
                                    <div class="col-xs-12 col-sm-12 col-lg-8">
                                        <div class="input-group">
                                            <span class="input-group-addon">Department Name*</span>
                                           <%-- <ucDropDown:ucDropDown runat="server" ID="ddlDepartmentName"  />--%>
                                            <asp:DropDownList ID="ddlDepartmentName" MaxLength="100" runat="server" class="form-control" AutoCompleteType="Disabled" autocomplete="off" OnSelectedIndexChanged="ddlDepartmentName_SelectedIndexChanged" AutoPostBack="true"
                                                placeholder="Enter Department Name" required />
                                        </div>
                                    </div>
                                     <div class="col-xs-12 col-sm-12 col-lg-4">
                                    </div>
                                </div>

                                 <div class="row">
                                    <div class="col-xs-12 col-sm-12 col-lg-8">
                                        <div class="input-group">
                                            <span class="input-group-addon">Data Archive Date <=</span>
                                            <asp:TextBox ID="txtDataArchiveDate" MaxLength="100" runat="server" class="form-control" ReadOnly="true" AutoCompleteType="Disabled" autocomplete="off"
                                                placeholder="Enter Date" required  />
                                        </div>
                                    </div>
                                     <div class="col-xs-12 col-sm-12 col-lg-4">
                                    </div>
                                </div>


                                <div class="row">
                                    <div class="col-xs-12 col-sm-12 col-lg-12">

                                        <div class="text-center">
                                            <asp:Button ID="btnArchiveButton" runat="server" Text="Archive" OnClick="btnArchiveButton_Click" ToolTip="ARCHIVE" CssClass="btn btn-primary btn-sm" />
                                        </div>

                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12 col-sm-12 col-lg-12">

                                        <img src="Images/DataArchiveBG.png" class="img-responsive center-block" border="0">
                                    </div>

                                </div>

                               
                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </ContentTemplate>
        <Triggers>
        </Triggers>
    </asp:UpdatePanel>

</asp:Content>
