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

<!DOCTYPE html >

<html >
<head runat="server">
    <title>表单</title> 

    <script src="../JavaScript/jquery-1.9.1.min.js"></script> 
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="../bootstrap/js/bootstrap.min.js"></script> 

    <script src="../JavaScript/layer/layer.js"></script> 
    <script src="../javascript/laydate/laydate.js"></script>
    <script src="../javascript/common.js"></script>

    <style>
        .chk label{ display:inline-block; margin-right:30px; font-weight:normal; min-width:110px; }
       .rbl label{ display:inline-block; margin-right:30px;font-weight:normal ;min-width:110px; }
    </style>
 
    <script>

        function CheckItem(sender, args) { 
            var chkControlId = sender.id.replace("Validator_", "");
            var options = document.getElementById(chkControlId).getElementsByTagName('input');
            var ischecked = false;
            args.IsValid = false;
            for (i = 0; i < options.length; i++) {
                var opt = options[i];
                if (opt.type == "checkbox") {
                    if (opt.checked) {
                        ischecked = true;
                        args.IsValid = true;
                    }
                }
            }
        }



        function AddAttach(_cid, _path, _a) {
            $('#' + _cid).val(_path);
            $('#' + _a).html(_path);
            $('#' + _a).attr("href", _path);
         }
         
 
 </script>
 
    <style>
        .form-control,.btn{ border-radius:0px;  }
    </style>
 
</head>
<body style="background-color:#545454;  width:90%; margin:0 auto ">
 
    <form id="form1" runat="server" autocomplete="off">
     
       <div style="background-color:#ffffff; padding:20px; min-height:700px;" >
   
    
  <div  style=" width:90%; text-align:center; margin:20px; font-size:20px; font-weight:bold; color:#29bdcb  ">
    <asp:Label runat="server" ID="lbl_title"></asp:Label>   
 </div>

  
          
  
      <table  class="table table-bordered">
     
                
        <tr>
          <td width="20%">姓名：</td>
          <td width="30%">
          <asp:TextBox runat="server" ID="truename" CssClass="form-control"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Display="Dynamic" ControlToValidate="truename" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
           
           </td>
          <td width="20%">部门：</TD>
          <td width="30%"> 
              <asp:TextBox runat="server" ID="dept" CssClass="form-control"></asp:TextBox>
           </td>
        </tr>
 
        <tr>

         <td>电话：</TD>
          <td> 
          <asp:TextBox runat="server"  CssClass="form-control"  ID="mobile"></asp:TextBox>
          </td>
          <td>邮件：</TD>
          <td> 
           <asp:TextBox runat="server"  CssClass="form-control" ID="email"></asp:TextBox>
          </td>
         
        </tr>
          
        
           
        <asp:panel runat="server" ID="content"></asp:panel>
           
          
        </table>
    
    
 
        
        <div   class="text-center"> 
            <asp:Button ID="Button1" runat="server"  
                CssClass="btn btn-primary btn-sm"  Text="提交表单" onclick="Button1_Click" />
        </div>
   
 
  


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