<%@ page language="C#" autoeventwireup="true" inherits="phone_Login, 25175_ALL" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>江门市新会梁启超纪念中学食堂报餐系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <!-- Bootstrap core CSS -->
    <link href="/control/login/bootstrap.min.css?v=31" rel="stylesheet" />
    <link href="/control/login/base.css?v=12" rel="stylesheet" />
    <link href="/control/login/a_login.css?v=22" rel="stylesheet" />
    <link href="/control/login/ionicons/ionicons.min.css" rel="stylesheet" />

</head>
<body>
    <div>
        <div class="container" >
            <div class="logo text-center">
                <h3>
         
                <asp:Literal ID="litSysName" runat="server"></asp:Literal>

                    </h3>
            
            </div>
            <div class="loginBox">
            <%--    <div class="login-head">
                    <h2><span>巡查员登录</span></h2>
                </div>--%>
                <form class="form-horizontal" role="form" runat="server">
                    <div class="form-group">
                        <label class="ion-ios7-person-outline"></label>

                        <asp:TextBox ID="txtUser" runat="server" CssClass="form-control" placeholder="用户名"></asp:TextBox>

                    </div>
                    <div class="form-group">
                        <label class="ion-ios7-locked-outline"></label>

                        <asp:TextBox ID="txtPass" runat="server" TextMode="Password" CssClass="form-control" placeholder="密码"></asp:TextBox>

                    </div>
                 <div class="form-group">
                        <label class="ion-ios7-compose-outline"></label>

                        <asp:TextBox ID="txtValid" runat="server" CssClass="form-control" placeholder="验证码"></asp:TextBox>

                    </div>
                  <div class="form-group codePic">
                        <div class="pull-left">

                            <img id="ImageCheck" src="ValidCode.aspx" alt='王莹' onclick="ChangeCode()" style="cursor: pointer" />
                            <script language="javascript" type="text/javascript">
                                function newGuid() {
                                    var guid = "";
                                    for (var i = 1; i <= 32; i++) {
                                        var n = Math.floor(Math.random() * 16.0).toString(16);
                                        guid += n;
                                        if ((i == 8) || (i == 12) || (i == 16) || (i == 20))
                                            guid += "-";
                                    }
                                    return guid;
                                }
                                function ChangeCode() {
                                    var myImg = document.getElementById("ImageCheck");
                                    myImg.src = "ValidCode.aspx?flag=" + newGuid();
                                    return false;
                                }
                            </script>
                         <br />
                            <a href="#" onclick="ChangeCode()">看不清？换一张</a>
                        </div>
                    </div>
                    <div class="form-group">
                   
                            <div class="checkbox">
                                <label>
                                    <asp:CheckBox ID="cbAutoLogin" runat="server"  />自动登录
                                </label>
                            </div>
                      
                    </div>
                    <div class="form-group">
                        <div class="">
                            <asp:Button ID="btnSubmit" runat="server" class="btn btn-primary" Text="登录" OnClick="btnLogin_Click" />
                        </div>
                        <br />
                   <%--     <p class="text-center">
                            <a href="/regsiter/Register.aspx">软件授权</a>/
                            <a href="/regsiter/RPUser.aspx">密码找回</a>/
                            <a href="/Login.aspx">用户登录</a>
                        </p>--%>
                    </div>
                </form>
            </div>
        </div>
        <!-- 背景动画 -->
    </div>
    <!-- Jquery -->
</body>
</html>


