<%@ Page Language="C#" MasterPageFile="~/UGCCNG.Master" AutoEventWireup="true" CodeBehind="reinstall.aspx.cs" Inherits="UGCC_Sharp.reinstall" Title="Reinstall Center" ValidateRequest="false" meta:resourcekey="PageResource1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="note" runat="server" Visible="True" meta:resourcekey="noteResource1">
        <div class="panel panel-default">
            <div class="panel-heading">
                <asp:Localize ID="Localize1" runat="server" Text="About the reinstall tool" meta:resourcekey="Localize1Resource1"></asp:Localize>
            </div>
            <div class="panel-body" id="updatePnl" runat="server">
            </div>
        </div>
    </asp:Panel>
    <p>
        <asp:TextBox ID="txtStatus" runat="server" Height="344px"
            TextMode="MultiLine" EnableViewState="False"
            ReadOnly="True" CssClass="form-control" meta:resourcekey="TextBox1Resource1"></asp:TextBox>
    </p>
    <div id="spnStatus" runat="server"></div>
    <div class="form-group">
        <asp:Button ID="btnUpdate" runat="server" CssClass="btn btn-primary"
            OnClick="btnUpdate_Click" Text="Reinstall" meta:resourcekey="btnUpdateResource1" />
        <asp:Button ID="btnReturn" runat="server" Text="Return" CssClass="btn btn-default" OnClick="btnReturn_Click" />
        
        <br />
        <span class="checkbox checkbox-inline text-center">
            <asp:CheckBox ID="chkRestart" runat="server" Checked="True" type="checkbox"
                Text="Restart server after reinstall" meta:resourcekey="CheckBox1Resource1" />
        </span>
    </div>
    <script type="text/javascript" src="js/ugcc.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('textarea').bind("change", scrollBottom());
        });
    </script>
</asp:Content>
