<%@ Page Language="C#" MasterPageFile="~/Layout.Master" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="ACS.WebUpdater.Update" %>


<asp:Content ID="UpdateContent" ContentPlaceHolderId="mainContent" runat="server">

    <script>
        document.Really = '<asp:Literal runat="server" Text="<%$ Resources:eradix, ID_VERSIONS_UPDATEDURCHFUEHRENFRAGE%>" />';
    </script>
 
    <span runat="server" id="welcome"></span>
    
    <table>
        <tr>
            <td class="title">
                <asp:Label ID="lblApplication" runat="server" Text="application"/>
            </td>
        </tr>        
    </table>
    <fieldset class="uploader">
        <fieldset title="File Location" class="chooser">
            <label><input type="radio" name="location" id="locationLocal" runat="Server" class="locationLocal" /> <asp:Literal runat="server" Text="<%$ Resources:eradix, ID_DATEI %>" /></label>
            <label><input type="radio" name="location" id="locationFTP" runat="Server" checked="true" class="locationFTP" /> <asp:Literal runat="server" Text="<%$ Resources:eradix, ID_FTP_UEBERTRAGUNG %>" /></label>
        </fieldset>
        <fieldset id="locationContainer"  class="locationContainer" >
            <label> <asp:FileUpload  runat="Server" id="file"  class="fileLocation" /></label>
        </fieldset>
        <fieldset id="confirmUpload"  class="confirmer" >
            <asp:Button ID="btnUpdate" runat="server" Text="Update" onclick="btnUpdate_Click" CssClass="confirmButton"/>
            <asp:Button ID="btnUpdatePortal" runat="server" Text="Update Portal" onclick="btnUpdate_Click" CssClass="confirmButtonPortal"/>
            <asp:Button ID="btnUpdateBeta" runat="server" Text="Update Beta" onclick="btnUpdateBeta_Click" CssClass="confirmPwdButton"/>
        </fieldset>
    </fieldset>
    
    <table>
        <tr>
            <td style="padding-right: 8px">
                <asp:Label ID="lbUpdateConfig" runat="server" Text="Update Configuration"></asp:Label>
            </td>
            <td style="padding-right: 8px" class="auto-style2">
                <asp:Button ID="btnUpdateConfiguration" runat="server" Text="Update Configuration" onclick="btnUpdateConfig_Click" />
            </td>
            <td style="padding-right: 8px">
                <asp:Label ID="lbChangeConfig" runat="server" Text="Change Configuration"></asp:Label>
            </td>
            <td style="padding-right: 8px" class="auto-style2">
                <asp:Button ID="btnChangeConfig" runat="server" Text="Change Configuration" onclick="btnChangeConfig_Click"/>
            </td>
        </tr>
        <tr>
            <td style="padding-right: 8px">
               <asp:LinkButton ID="LinkButton1" runat="server" style="text-align: right" OnClick="lbBack_Click" >Back</asp:LinkButton>
            </td>
        </tr>
    </table>

    <!--<div id="notifications"  style="height: 500px; width:100%; margin-top: 73px" >
    </div>-->
    <asp:TextBox ID="meResult" runat="server" Height="272px" TextMode="MultiLine" 
                Width="100%" style="margin-top: 73px" ClientIDMode="Static"></asp:TextBox>

    <asp:LinkButton ID="lbBack" runat="server" style="text-align: right" OnClick="lbBack_Click" >Back</asp:LinkButton>

</asp:Content>