1
13693261870
2022-09-16 58d012f11dd34564d81b4eb3a6099eb689876597
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
<div class="login_container" id="login">
    <form method="post" id="fm1" th:object="${credential}">
        <div class="alert alert-danger" th:if="${#fields.hasErrors('*')}">
            <span th:each="err : ${#fields.errors('*')}" th:utext="${err}" />
        </div>
        <section class="row clearfix">
            <div class="left login-text">账&nbsp;号</div>
            <div class="login_item user right">
                <div th:if="${openIdLocalId}">
                    <input type="hidden"
                           id="username"
                           name="username"
                           th:value="${openIdLocalId}" />
                </div>
                <div th:unless="${openIdLocalId}">
                    <input class="required"
                           id="username"
                           size="25"
                           tabindex="1"
                           type="text"
                           th:disabled="${guaEnabled}"
                           th:field="*{username}"
                           th:accesskey="#{screen.welcome.label.netid.accesskey}"
                           autocomplete="off" />
                </div>
            </div>
        </section>
        <section class="row clearfix">
            <div class="left login-text">密&nbsp;码</div>
            <div class="login_item pwd right">
                <input class="required"
                       type="password"
                       id="password"
                       size="25"
                       tabindex="2"
                       th:accesskey="#{screen.welcome.label.password.accesskey}"
                       th:field="*{password}"
                       autocomplete="off" />
                <span id="capslock-on" style="display:none;">
                    <p>
                        <i class="fa fa-exclamation-circle"></i>
                        <span th:utext="#{screen.capslock.on}" />
                    </p>
                </span>
            </div>
        </section>
        <section class="row check">
            <p th:if="${rememberMeAuthenticationEnabled}">
                <input type="checkbox" name="rememberMe" id="rememberMe" value="true" tabindex="5" />
                <label for="rememberMe" th:text="#{screen.rememberme.checkbox.title}" />
            </p>
        </section>
 
        <section class="row" th:if="${recaptchaSiteKey}">
            <div class="g-recaptcha" th:attr="data-sitekey=${recaptchaSiteKey}" />
        </section>
        <section class="row btn-row">
            <input type="hidden" name="execution" th:value="${flowExecutionKey}" />
            <input type="hidden" name="_eventId" value="submit" />
            <input type="hidden" name="geolocation" />
            <input class="btn"
                   name="submit"
                   accesskey="l"
                   tabindex="6"
                   type="submit"
                   value="" />
        </section>
    </form>
    <form th:if="${passwordManagementEnabled}" method="post" id="passwordManagementForm">
        <input type="hidden" name="execution" th:value="${flowExecutionKey}" />
        <input type="hidden" name="_eventId" value="resetPassword" />
        <span class="fa fa-unlock"></span>
        <a th:utext="#{screen.pm.button.resetPassword}" href="javascript:void(0)" onclick="$('#passwordManagementForm').submit();" />
        <p />
    </form>
 
 
    <script type="text/javascript" th:inline="javascript">
        var i = [[#{ screen.welcome.button.loginwip }]]
        $("#fm1").submit(function () {
            $(":submit").attr("disabled", true);
            $(":submit").attr("value", i);
            return true;
        });
    </script>
</div>