<!DOCTYPE html>
<%@ include file="/common/taglibs.jsp" %>
<%@ include file="/common/meta.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title><fmt:message key="login.title"/></title>
    <meta http-equiv="Content-Type" content="charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title><fmt:message key="login.title"/></title>
    <link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/login.css?v=1.0'/>"/>
    <script type="text/javascript" src="<c:url value='/scripts/lib/jquery-1.8.2.min.js'/>"></script>
    <script>
        $(function () {
            /* $("#j_username").val("admin");
             $("#j_password").val("123");
             login(); */
        });

        function login() {


            $("#form").submit();
        }


        $(document).keypress(function (event) {
            var keycode = (event.keyCode ? event.keyCode : event.which);
            if (keycode == '13') {
                login();
            }
        });
    </script>
</head>
<body onload="login()">

<div class="login-wrapper">
    <div class="login-content clearfloat">
        <div class="login-con-right">
            <form method="post" action="<c:url value='/j_security_check'/>" id="form">
                <input type="hidden" class="account user-info" name="j_username" id="j_username" value="hdtest123"
                       placeholder="<fmt:message key="login.accountTip" />" autocomplete="off"/>
                <input type="hidden" class="psd user-info" name="j_password"
                       id="j_password" value="123456" autocomplete="off"/>

            </form>
        </div>
    </div>
</div>
</body>
</html>