ItEr48S04ValidacionEProbasFuncionaisItEr47S04: Added timeout template

This commit is contained in:
Lorenzo Tilve 2010-02-16 08:59:05 +01:00 committed by Javier Moran Rua
parent 3d014b5fec
commit 050eab2d3e
3 changed files with 39 additions and 0 deletions

View file

@ -26,6 +26,7 @@
<intercept-url pattern="/callback/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<intercept-url pattern="/zkau/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<intercept-url pattern="/common/layout/login.zul" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<intercept-url pattern="/common/layout/timeout.zul" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<intercept-url pattern="/advance/**" access="ROLE_ADMINISTRATION" />
<intercept-url pattern="/resources/criterions/**" access="ROLE_ADMINISTRATION"/>
<intercept-url pattern="/calendars/**" access="ROLE_ADMINISTRATION" />

View file

@ -65,6 +65,12 @@ table {
border: solid 1px red;
}
.warningbox {
margin: 40px;
padding: 40px;
border: solid 1px #FDBE13;
}
/* --- START -- Buttons styles ---
=================================================== */

View file

@ -0,0 +1,32 @@
<!--
This file is part of NavalPlan
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/>.
-->
<?init class="org.zkoss.zk.ui.util.Composition" arg0="/common/layout/template.zul"?>
<?link rel="stylesheet" type="text/css" href="/common/css/navalpro_v01.css"?>
<?link rel="stylesheet" type="text/css" href="/common/css/navalpro_zk.css"?>
<zk>
<window self="@{define(content)}" >
<vbox apply="org.navalplanner.web.error.PageForErrorOnEvent" sclass="warningbox">
<i18n id="message" value="${i18n:_('Your session has expired after inactivity period. Please log in again.')}" />
<hbox style="margin-left:auto; margin-right:auto">
<button id="quitSession" label="${i18n:_('Back to log in')}"></button>
</hbox>
</vbox>
</window>
</zk>