2009-10-01 18:46:46 +02:00
|
|
|
<!--
|
2010-02-04 06:57:00 +01:00
|
|
|
This file is part of NavalPlan
|
2009-10-01 18:46:46 +02:00
|
|
|
|
|
|
|
|
Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e
|
|
|
|
|
Desenvolvemento Tecnolóxico de Galicia
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
-->
|
2009-09-25 17:34:06 +02:00
|
|
|
<?taglib uri="/WEB-INF/tld/i18n.tld" prefix="i18n"?>
|
2009-12-03 14:30:48 +01:00
|
|
|
<?link rel="stylesheet" type="text/css" href="/common/css/login.css"?>
|
2009-07-10 13:42:29 +02:00
|
|
|
|
|
|
|
|
<div xmlns:n="http://www.zkoss.org/2005/zk/native">
|
2009-12-03 14:30:48 +01:00
|
|
|
|
2010-02-05 12:03:33 +01:00
|
|
|
<zscript>
|
|
|
|
|
<![CDATA[
|
|
|
|
|
contextPath = Executions.getCurrent().getContextPath();
|
|
|
|
|
]]>
|
|
|
|
|
</zscript>
|
|
|
|
|
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
|
2009-07-10 13:42:29 +02:00
|
|
|
<n:tr>
|
2010-02-05 12:03:33 +01:00
|
|
|
<n:td background="${contextPath}/common/img/flechitas.gif"></n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
</n:table>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
|
2009-07-10 13:42:29 +02:00
|
|
|
<n:tr>
|
2010-02-05 12:03:33 +01:00
|
|
|
<n:td height="100" align="left" valign="middle"><n:img src="${contextPath}/common/img/logo_login.png" alt="NavalPlan" /></n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
</n:table>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
|
2009-07-10 13:42:29 +02:00
|
|
|
<n:tr>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:td width="20" class="identificacion"> </n:td>
|
|
|
|
|
<n:td class="identificacion">${i18n:_('Access to the system')}</n:td>
|
|
|
|
|
<n:td align="right" valign="bottom">
|
2009-12-09 18:44:08 +01:00
|
|
|
<div tooltiptext="${i18n:_('Help on authentication (opens a new window)')}">
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:a href="https://naval.igalia.com/fileadmin/templates/doc/index.html" target="_blank" class="ayuda">${i18n:_('Help')}</n:a>
|
|
|
|
|
</div>
|
|
|
|
|
</n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
</n:table>
|
2009-11-19 14:53:59 +01:00
|
|
|
|
2010-02-05 12:03:33 +01:00
|
|
|
<n:form action="${contextPath}/j_spring_security_check" method="POST">
|
2009-11-19 14:53:59 +01:00
|
|
|
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="fondo_identificacion">
|
2009-07-10 13:42:29 +02:00
|
|
|
<n:tr>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:td width="20" height="165" valign="top"></n:td>
|
|
|
|
|
<n:td valign="top" class="authentication"><n:table border="0" cellpadding="0" cellspacing="0">
|
2009-07-10 13:42:29 +02:00
|
|
|
<n:tr>
|
|
|
|
|
<n:td></n:td>
|
|
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
2009-08-19 10:35:30 +02:00
|
|
|
<n:td class="usuario_clave">${i18n:_('User')}</n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:td><label> </label>
|
|
|
|
|
<div align="center">
|
2009-12-04 10:12:47 +01:00
|
|
|
<n:input name="j_username" type="text" class="campotexto" id="textfield" size="30" value="admin" />
|
2009-12-03 14:30:48 +01:00
|
|
|
</div></n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
2009-08-19 10:35:30 +02:00
|
|
|
<n:td class="usuario_clave">${i18n:_('Password')}</n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:td><div align="center">
|
2009-12-04 10:12:47 +01:00
|
|
|
<n:input name="j_password" type="password" class="campotexto" id="textfield2" size="30" value="admin"/>
|
2009-12-03 14:30:48 +01:00
|
|
|
</div></n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
|
|
|
|
<n:td></n:td>
|
|
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:td>
|
|
|
|
|
<n:div align="left">
|
2009-12-09 18:44:08 +01:00
|
|
|
<n:input name="button" type="submit" class="entrar" id="button" value="${i18n:_('Log in')}" />
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:div></n:td>
|
|
|
|
|
</n:tr>
|
|
|
|
|
</n:table></n:td>
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:td width="450" height="165" valign="top">
|
2010-01-13 14:06:42 +01:00
|
|
|
<html if="${param.login_error == 'true' and SPRING_SECURITY_LAST_EXCEPTION.class.name == 'org.springframework.security.DisabledException'}">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
<div class="login_ERROR">${i18n:_('User disabled')}</div>
|
|
|
|
|
]]>
|
|
|
|
|
</html>
|
|
|
|
|
<html if="${param.login_error == 'true' and SPRING_SECURITY_LAST_EXCEPTION.class.name == 'org.springframework.security.BadCredentialsException'}">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
<div class="login_ERROR">${i18n:_('Incorrect authentication')}</div>
|
2009-12-03 14:30:48 +01:00
|
|
|
]]>
|
|
|
|
|
</html>
|
|
|
|
|
</n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
</n:table>
|
2009-11-19 14:53:59 +01:00
|
|
|
|
|
|
|
|
</n:form>
|
|
|
|
|
|
2009-12-03 14:30:48 +01:00
|
|
|
<n:table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tabla_inferior">
|
2009-07-10 13:42:29 +02:00
|
|
|
<n:tr>
|
2010-02-05 12:03:33 +01:00
|
|
|
<n:td height="40" background="${contextPath}/common/img/linea_pie_login.gif"></n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
|
|
|
|
<n:td></n:td>
|
|
|
|
|
</n:tr>
|
|
|
|
|
<n:tr>
|
2010-02-05 12:03:33 +01:00
|
|
|
<n:td height="100"><div align="right"><n:img src="${contextPath}/common/img/logos_login.gif" width="403" height="50" /></div></n:td>
|
2009-12-03 14:30:48 +01:00
|
|
|
</n:tr>
|
|
|
|
|
</n:table>
|
|
|
|
|
<n:table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
|
|
|
<n:tr>
|
2010-02-05 12:03:33 +01:00
|
|
|
<n:td background="${contextPath}/common/img/flechitas.gif"></n:td>
|
2009-07-10 13:42:29 +02:00
|
|
|
</n:tr>
|
|
|
|
|
</n:table>
|
2009-08-14 11:12:31 +02:00
|
|
|
</div>
|