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

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

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

 <!--   <link href="Content/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> -->


<script src="Bootstrap/js/bootstrap.min.js"></script>
 <title>登录</title>
</head>


 

  <body >


  <div class="container py-4 ">
    <header class="pb-3 mb-4 border-bottom">
      <a href="/" class="d-flex align-items-center text-dark text-decoration-none">
        <!-- <span class="fs-4">友我科技智能卡登录系统网络版</span> -->
          <h1>智能卡登录系统网络版</h1>
      </a>
    </header>

      <div class="row">
        <div class="col-md-8">
        <div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
          <div class="carousel-indicators">
            <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-label="计算机智能卡登录系统"></button>
            <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" aria-label="实验室计算机预约系统"></button>
           
          </div>
          <div class="carousel-inner">
            <div class="carousel-item active">
                <a href="http://www.yoworfid.cn/CardLogon/" target="_blank">
                <img src ="Ads/1.jpg"  width="750" height="375"/>  
                </a>
            </div>
            <div class="carousel-item">
                <a href="http://www.yoworfid.cn/BookingLogon/" target="_blank">
                <img src ="Ads/2.jpg"  width="750" height="375"/>  
                    </a>
            </div>
   
          </div>
          <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions"  data-bs-slide="prev">
            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
            <span class="visually-hidden">Previous</span>
          </button>
          <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions"  data-bs-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span>
            <span class="visually-hidden">Next</span>
          </button>
        </div>
    
      </div>
      <div class="col-md-4">
  <form class="form-signin" id="form1" runat="server">
    <!-- <div class="align-content-center"><a href="http://www.youwokeji.com.cn"><img class="mb-4" src="Images/YOWO.png" width="300" alt="友我科技，为客户创造价值"/></a></div>  -->
    <!-- <h1 class="h3 mb-3 fw-normal">智能卡登录系统网络版</h1>  -->
    <div class="align-content-center"><p>请输入用户名和密码登录</p></div>
    <div class="form-floating">
        <asp:TextBox ID="edtUserName" runat="server" CssClass="form-control" ></asp:TextBox>
     <%-- <input type="email" class="form-control" id="floatingInput" placeholder="name@example.com"/> 
         --%>
      <label for="userName">用户名</label>

     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="edtUserName" Display="Dynamic" ErrorMessage="RequiredFieldValidator" ForeColor="Red">用户名不可为空</asp:RequiredFieldValidator>


    </div>
      <p></p>
    <div class="form-floating">
        <asp:TextBox TextMode="Password" ID="edtPassword" runat="server" CssClass="form-control"></asp:TextBox>
      <%--  <input type="password" class="form-control" id="floatingPassword" placeholder="Password"/> --%>
      <label for="edtPassword">密码</label>

     <asp:RequiredFieldValidator ID="rfv_useName" runat="server" ControlToValidate="edtPassword" Display="Dynamic" ErrorMessage="RequiredFieldValidator" ForeColor="Red">密码不可为空</asp:RequiredFieldValidator>

    </div>

    <p></p>
    <asp:Button ID="btnOK" runat="server" class="w-100 btn btn-lg btn-primary" OnClick="btnOK_Click"  Text="登录"></asp:Button>
     <p></p>
    <!-- <button type="button" id="btn_register" class="w-100 btn btn-lg btn-secondary">注册</button> -->


  </form>
          </div>
          </div>
          <footer class="pt-3 mt-4 text-muted border-top">
      推荐使用Edge,Chrome或者Firefox访问<br/>
    <a href="http://www.yoworfid.cn/CardLogon/">北京友我科技有限公司</a>&copy; 2023–2024
    </footer>

          </div>
      <!--新增或者编辑的弹出框-->




</body>
</html>
