mitao
2024-04-30 ab4ea7b8f10c9b66aed9c2ea161a08b25c3851a7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 
    <title>美天美牙-管理系统</title>
 
    <link rel="shortcut icon" href="${ctxPath}/static/favicon.ico">
    <link href="${ctxPath}/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="${ctxPath}/static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="${ctxPath}/static/css/animate.css" rel="stylesheet">
    <link href="${ctxPath}/static/css/login.css" rel="stylesheet">
    <link href="${ctxPath}/static/css/style.css?v=4.1.0" rel="stylesheet">
    <script>if (window.top !== window.self) {
        window.top.location = window.location;
    }</script>
    <script src="${ctxPath}/static/js/jquery.min.js?v=2.1.4"></script>
    <script src="${ctxPath}/static/js/bootstrap.min.js?v=3.3.6"></script>
</head>
 
<body class="signin">
<div class="signinpanel">
    <div class="row">
        <div class="col-sm-6">
            <div class="signin-info">
                <div class="logopanel m-b">
                    <h1>[ 美天美牙 ]</h1>
                </div>
                <div class="m-b"></div>
                <h4>欢迎使用 <strong>美天美牙 后台管理系统</strong></h4>
            </div>
        </div>
        <div class="col-sm-6">
            <form method="post" action="${ctxPath}/login" method="post">
                <h2 class="m-t-md">后台管理系统</h2>
                <h4 class="no-margins">Login:<label style="color: red;">${tips!}</label></h4>
                <div class="form-group">
                    <input type="text" name="username" class="form-control uname" placeholder="用户名" value="" />
                </div>
                <div class="form-group">
                    <input type="password" name="password" class="form-control pword m-b" placeholder="密码" value="" />
                </div>
                @if(kaptcha.getKaptchaOnOff() == true){
                <div class="form-group" style="float: left;">
                    <div class="col-sm-7" style="padding-left: 0px; padding-right: 0px;">
                        <input class="form-control kaptcha" type="text" name="kaptcha" placeholder="验证码" required="">
                    </div>
                    <div class="col-sm-5" style="padding-left: 0px; padding-right: 0px;">
                        <img src="${ctxPath}/kaptcha" id="kaptcha" width="100%" height="100%"/>
                    </div>
                </div>
                @}
                <button class="btn btn-success btn-block full-width">登录</button>
            </form>
        </div>
    </div>
    <div class="signup-footer">
        <div class="pull-left">
            &copy; 2023 All Rights Reserved.
        </div>
    </div>
</div>
</body>
<script>
    $(function () {
        $("#kaptcha").on('click', function () {
            $("#kaptcha").attr('src', '${ctxPath}/kaptcha?' + Math.floor(Math.random() * 100)).fadeIn();
        });
    });
</script>
 
</html>