<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="content-style-type" content="text/css"/>
<meta http-equiv="content-script-type" content="text/javascript"/>
<title><bean:message key="labels.login_title"/></title>
<link href="${f:url('/css/style-login.css')}" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="header">
  <div class="logo"><img src="${f:url('/images/logo-small.gif')}"/></div>
  <div class="home">
    <s:link href="/index"><bean:message key="labels.home"/></s:link>
  </div>
</div>
<div id="content-body">
<div id="main">
  <div class="title"><bean:message key="labels.login"/></div>
  <form id="login" method="post" action="<%= response.encodeURL("j_security_check")%>">
    <div class="errormessage">
      <html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages>
      <html:errors/>
    </div>
    <div class="data">
      <div class="label"><bean:message key="labels.user_name"/>: </div>
      <div class="input"><input type="text" name="j_username" size="30" /></div>
    </div>
    <div class="data">
      <div class="label"><bean:message key="labels.password"/>: </div>
      <div class="input"><input type="password" name="j_password" size="30"/></div>
    </div>
    <div class="action"><input type="submit" value="<bean:message key="labels.login"/>" onclick="this.disabled=true;document.forms[0].submit()"/></div>
  </form>
</div>
</div>
<div id="footer">
  <div class="copyright">
<bean:message key="labels.login.footer_copyright"/>
  </div>
</div>

</body>
</html>
