Rev 1310 | Rev 1391 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1310 | Rev 1312 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | <%@ page import="pt.estgp.estgweb.Globals" %> |
|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
3 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
3 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
4 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> |
- | 5 | <%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %> |
|
4 | <%@ taglib prefix="logic" uri="http://jakarta.apache.org/struts/tags-logic" %> |
6 | <%@ taglib prefix="logic" uri="http://jakarta.apache.org/struts/tags-logic" %> |
5 | <jsp:useBean id="UserSession" type="pt.estgp.estgweb.domain.UserSessionImpl" scope="request"/> |
7 | <jsp:useBean id="UserSession" type="pt.estgp.estgweb.domain.UserSessionImpl" scope="request"/> |
6 | <html:errors/> |
- | |
7 | - | ||
8 | <% |
- | |
9 | - | ||
10 | - | ||
11 | - | ||
12 | %> |
- | |
13 | <div class="container"> |
8 | <div class="container"> |
14 | <logic:notEmpty name="UserSession" property="nowConfiguration.openInfoIntranet"> |
9 | <logic:notEmpty name="UserSession" property="nowConfiguration.openInfoIntranet"> |
15 | <div class="row"> |
10 | <div class="row"> |
16 | <div class="col-sm-8"> |
11 | <div class="col-sm-8"> |
17 | <div class="alert alert-warning" role="alert">${UserSession.nowConfiguration.openInfoIntranet}</div> |
12 | <div class="alert alert-info" role="alert">${UserSession.nowConfiguration.openInfoIntranet}</div> |
18 | </div> |
13 | </div> |
19 | </div> |
14 | </div> |
20 | </logic:notEmpty> |
15 | </logic:notEmpty> |
21 | - | ||
22 | <div class="row"> |
16 | <div class="row"> |
23 | <div class="col-sm-4"> |
17 | <div class="col-sm-4"> |
24 | <form role="form" action="<%=request.getContextPath()%>/authenticate.do" method="post"> |
18 | <form role="form" action="<%=request.getContextPath()%><%=Globals.SYSTEM_REDIRECTIONS_POLICY_AUTHENTICATION_ACTION%>" method="post"> |
25 | <input type="hidden" name="dispatch" value="login"> |
19 | <input type="hidden" name="dispatch" value="login"> |
26 | <div class="form-group"> |
20 | <div class="form-group"> |
27 | <label for="login"><bean:message key="username"/></label> |
21 | <label for="login"><jomm:messageConfigKey config="authentication.policy.username.msg.key"/></label> |
28 | <input type="text" class="form-control" id="login" name="username"/> |
22 | <input type="text" class="form-control" id="login" name="username"/> |
29 | </div> |
23 | </div> |
30 | <div class="form-group"> |
24 | <div class="form-group"> |
31 | <label for="pwd"><bean:message key="password"/></label> |
25 | <label for="pwd"><jomm:messageConfigKey config="authentication.policy.password.msg.key"/></label> |
32 | <input type="password" class="form-control" id="pwd" name="password"/> |
26 | <input type="password" class="form-control" id="pwd" name="password"/> |
33 | </div> |
27 | </div> |
34 | <button type="submit" class="btn btn-default"><bean:message key="submit"/></button> |
28 | <button type="submit" class="btn btn-default"><bean:message key="submit"/></button> |
35 | </form> |
29 | </form> |
36 | </div> |
30 | </div> |
37 | </div> |
31 | </div> |
38 | - | ||
39 | - | ||
40 | </div> |
32 | </div> |