linzhijie
2021-03-11 c33914ba0a98c823c4b4d7da21cdd476906c9924
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 
    <title>OTS</title>
    <meta name="description" content="TAI Online Testing System">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/style.css" th:href="@{/css/style.css}" rel="stylesheet"/>
    <link href="../static/css/login.min.css" th:href="@{/css/login.min.css}" rel="stylesheet"/>
    <link href="../static/ots/css/ry-ui.css" th:href="@{/ots/css/ry-ui.css}" rel="stylesheet"/>
    <!--[if lt IE 9]>d
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
    <style type="text/css">label.error {
        position: inherit;
    }</style>
    <script>
        if (window.top !== window.self) {
            window.top.location = window.location
        }
    </script>
</head>
 
<body class="signin" style="background: rgb(60, 141, 188)">
<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
    <ul class="nav navbar-top-links navbar-right welcome-message">
        <li class="dropdown user-menu">
            <a href="javascript:void(0)" class="dropdown-toggle" data-hover="dropdown">
                <i class="fa fa-language"></i><span class="hidden-xs"> [[#{basis.language}]]</span>
            </a>
            <ul class="dropdown-menu">
                <li class="mt5" style="color: #333333">
                    <a href="?lang=zh_CN" class="menuItem">
                        <i class="fa fa-language"></i> Chinese </a>
                </li>
                <li class="mt5" style="color: #333333">
                    <a href="?lang=en_US" class="menuItem">
                        <i class="fa fa-language"></i> English</a>
                </li>
            </ul>
        </li>
    </ul>
</nav>
<div class="signinpanel">
    <div class="row" style="margin-right: -25%">
        <div class="col-sm-7">
            <div class="signin-info">
                <div class="logopanel m-b">
                    <h1><img alt="[ ESS ]" src="../static/ots.jpg" th:src="@{/ots.jpg}"
                             style="opacity: 0.7;border-radius: 30px;width: 550px;height: 240px;"></h1>
                </div>
                <div class="m-b"></div>
                <h4>[[#{basic.tip9}]] <strong>TAI [[#{basic.tip12}]]</strong></h4>
                <ul class="m-b">
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> [[#{jsp.main.063}]]</li>
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> [[#{jsp.main.062}]]</li>
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> [[#{jsp.main.061}]]</li>
                </ul>
<!--                <strong>还没有账号? <a href="#">立即注册&raquo;</a></strong>-->
            </div>
        </div>
        <div class="col-sm-5">
            <form id="signupForm">
                <h4 class="no-margins">[[#{basic.tip10}]]:</h4>
                <p class="m-t-md" style="color: #1c84c6;">TAI Online Testing System  </p>
                <input type="text" name="username" class="form-control uname" th:placeholder="#{user.login.username}"/>
                <input type="password" name="password" class="form-control pword"
                       th:placeholder="#{user.login.password}"/>
                <div class="row m-t" th:if="${captchaEnabled==true}">
                    <div class="col-xs-6">
                        <input type="text" name="validateCode" class="form-control code"
                               th:placeholder="#{user.login.code}" maxlength="5" autocomplete="off">
                    </div>
                    <div class="col-xs-6">
                        <a href="javascript:void(0);" title="[[#{basic.tip11}]]">
                            <img th:src="@{captcha/captchaImage(type=${captchaType})}" class="imgcode" width="85%"/>
                        </a>
                    </div>
                </div>
                <div class="checkbox-custom" th:classappend="${captchaEnabled==false} ? 'm-t'">
                    <input type="checkbox" id="rememberme" name="rememberme"> <label for="rememberme"
                                                                                     th:text="#{user.login.remember}">记住我</label>
                </div>
                <button class="btn btn-success btn-block" id="btnSubmit" data-loading="LoggingIn"
                        th:text="#{user.login.submit}">[[#{basic.tip14}]]
                </button>
            </form>
        </div>
    </div>
    <div class="signup-footer">
        <div class="pull-left">
            &copy; 2019 All Rights Reserved. OTS <br>
        </div>
    </div>
</div>
<script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
<!-- 全局js -->
<script src="../static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
<script src="../static/js/bootstrap.min.js" th:src="@{/js/bootstrap.min.js}"></script>
<!-- 验证插件 -->
<script src="../static/ajax/libs/validate/jquery.validate.min.js"
        th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
<script src="../static/ajax/libs/validate/messages_zh.min.js"
        th:src="@{/ajax/libs/validate/messages_zh.min.js}"></script>
<script src="../static/ajax/libs/layer/layer.min.js" th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script src="../static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
<script src="../static/ots/js/ry-ui.js" th:src="@{/ots/js/ry-ui.js}"></script>
<script src="../static/js/crypto-js.min.js" th:src="@{/js/crypto-js.min.js}"></script>
<script src="../static/ots/login.js" th:src="@{/ots/login.js}"></script>
<script>
    localStorage.removeItem("freeuserid");
</script>
</body>
</html>