<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Svr_Add.aspx.cs" Inherits="helpdesk.helpdesk.Svr_Add" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> 
 
       <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" />     
    <link href="../bootstrap/css/common.css" rel="stylesheet" />
    <link href="../bootstrap/css/nav.css" rel="stylesheet" />
    <link href="../bootstrap/css/helpdesk.css" rel="stylesheet" />
    <script src="../Javascript/jquery-1.9.1.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>
    <script src="../javascript/layer/layer.js" type="text/javascript"></script>   
    <script src="../javascript/common.js" type="text/javascript"></script>
    <script src="../javascript/laydate/laydate.js" type="text/javascript"></script>   
    <script src="../tinymce/js/tinymce/tinymce.min.js"></script>
    <script src="../Javascript/contextmenu/jquery.contextmenu.r2.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table class="table">
        <tr>
            <th width="120">服务器IP</th>
            <td width="250px">
                <asp:TextBox runat="server" ID="txt_ip" CssClass="form-control" Width="200"></asp:TextBox>
            </td>
            <td>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txt_ip"  ForeColor="Red"  runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>

            </td>

        </tr>


            <tr>
            <th>服务器友好名称</th>
            <td>
               <asp:TextBox runat="server" ID="txt_friendname" CssClass="form-control" Width="200"></asp:TextBox>
               
            </td>
                <td>
                    可以为服务器起一个容易理解的名称
                </td>

        </tr>



        <tr>
            <th>服务器类型</th>
            <td>
               <asp:DropDownList runat="server" ID="ddl_svrtype"  CssClass="form-control" Width="200">
                   
               </asp:DropDownList>
            </td>
            <td>
  <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="ddl_svrtype" ForeColor="Red" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>


            </td>

        </tr>


         
        
        <tr>
            <th>备注</th>
            <td colspan="2">
               <asp:TextBox runat="server" ID="txt_note" TextMode="MultiLine" CssClass="form-control" Width="500" Height="100px"></asp:TextBox>
            </td>
            <td></td>

        </tr>
       <tr>

           <td colspan="3" align="center">
               <asp:Button runat="server" ID="btn_add" Text="添加" CssClass="btn btn-primary" OnClick="btn_add_Click" />

                <asp:Button runat="server" ID="update" Text="更新" CssClass="btn btn-primary" Visible="false"  OnClick="btn_update_Click" />
                <asp:Button runat="server" ID="btn_del" Text="删除" CssClass="btn btn-danger" Visible="false"  OnClick="btn_del_Click" />

           </td>
       </tr>


    </table>
    </div>
    </form>
</body>
</html>
