<%@ page language="C#" autoeventwireup="true" inherits="sys_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">
    <meta name='renderer' content='webkit' /> 
    <!-- Bootstrap core CSS -->
    <link href="/control/login/bootstrap.min.css" 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 class="wrapper">
        <div class="container" style="padding-top: 0px;">
            <div class="logo text-center">
                <h3>
                    <img src="/control/logo.png" style="height: 50px; margin-top: -5px; display: inline-block">
                    <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>

                            <a href="#" onclick="ChangeCode()">看不清？换一张</a>
                        </div>
                    </div>
                    <!--<div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <div class="checkbox">
                                <label>
                                    <input type="checkbox"> 记住密码
                                </label>
                            </div>
                        </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>
                    
                        </p>
                    </div>
                </form>
            </div>
            <div class="copyRight p-top-lg text-center">
                <a href="http://www.25175.net" target="_blank"><span>顺通网络</span></a>&nbsp;提供技术支持
            </div>
        </div>
        <!-- 背景动画 -->
        <canvas id="bgCanvas"></canvas>
    </div>
    <!-- Jquery -->
    <script src="/control/login/jquery-3.1.1.min.js"></script>
    <script src="/control/login/loginbg.js"></script>

</body>
</html>


