<%@ Page Language="C#" MasterPageFile="~/UGCCNG.Master" AutoEventWireup="true" CodeBehind="newrcon.aspx.cs" Inherits="UGCC_Sharp.newrcon" Title="RCON Tool" Async="true" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript" src="js/ugcc.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('textarea').bind("change", scrollBottom());

        });

    </script>
    <div class="form-group form-inline">
    Managing:&nbsp;
    <asp:Label ID="lblRealRcon" runat="server" Visible="False"></asp:Label><asp:Label ID="Label2"
        runat="server" Text="Label"></asp:Label>
        <asp:Label ID="lblRconType" runat="server" Visible="False"></asp:Label>
        <br />
    RCON Password:&nbsp;
    <asp:TextBox ID="txtPw" runat="server" CssClass="form-control"></asp:TextBox>
    </div>

    <asp:TextBox ID="txtOutput" runat="server" Width="99%" CssClass="form-control disabled"
        Height="261px" ReadOnly="True" TextMode="MultiLine" Style="font-family: monospace"></asp:TextBox>
        <br />
        <br />

        <div class="input-group">
      <asp:TextBox ID="txtCmd" runat="server" 
        EnableViewState="False" CssClass="form-control"></asp:TextBox>
      <span class="input-group-btn">
         <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" 
        Text="Send Command" CssClass="btn btn-primary" />
      </span>
    </div><!-- /input-group -->

        <div class="form-group form-inline">
    &nbsp;
   
        </div>
    <asp:Panel ID="PanelConsole" runat="server" Visible="False">
        <p>Console output</p>
        <asp:TextBox ID="txtConsole" runat="server" CssClass="form-control disabled" ReadOnly="true" TextMode="MultiLine" Style="font-family: monospace" Width="99%" Height="261px"></asp:TextBox>
    </asp:Panel>
    <br />
    <asp:Button ID="btnReturn" runat="server" Text="Return" CssClass="btn btn-default" OnClick="btnReturn_Click" />
</asp:Content>
