[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / WEB-INF / jsp / login.jsp
1 <%--
2   ================================================================================
3   onap Portal SDK
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ================================================================================
19   --%>
20 <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
21 <%@ taglib prefix="c"      uri="http://java.sun.com/jsp/jstl/core" %>
22 <%@ taglib prefix="fmt"    uri="http://java.sun.com/jsp/jstl/fmt" %>
23 <%@ page import="org.openecomp.portalsdk.core.util.SystemProperties" %>
24 <c:set var="title" value="Login" />
25 <c:set var="isMobileEnabled"
26         value="<%=(SystemProperties.getProperty(SystemProperties.MOBILE_ENABLE)!= null && SystemProperties.getProperty(SystemProperties.MOBILE_ENABLE).trim().equals(\"true\"))%>" />
27
28 <!DOCTYPE html>
29 <html ng-app="abs">
30         <head>
31             <title>
32               Login
33         </title>
34                 <meta charset="utf-8">
35                 <meta http-equiv="X-UA-Compatible" content="IE=edge">
36                 <meta name="viewport" content="width=device-width, initial-scale=1"> 
37         <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
38                 
39                 <script src="static/js/jquery-1.10.2.js" type="text/javascript"></script>
40         
41                 <style>
42                 .terms {
43                         font-family: Verdana,Arial,Helvetica, sans-serif;
44                         font-size: 9px;
45                 }
46                 </style>
47         </head>
48         <body style="padding-top: 15px;">
49                 <form action="login_external" method="post">
50                 <div style="position: fixed; left:15px; top:15px;z-index:-1;">
51                 </div>
52                         <div class="centered style="-webkit-transform: translateZ(0);background:white, z-index:0;">
53                                 <div align="center" id="errorInfo" style="display:none;float:left;font-size:12px;margin-left:5px"><span style="color:red">Invaild username or password, Please try again</span></div>
54                                 <br/>
55                                 <div align="center" style="margin-left:auto;margin-right:auto;width:40%;padding:6px;opacity:0.7;background-color:white">
56                                 <img src="static/fusion/images/onap_trans.png"/>
57                                         <h2> ONAP Portal </h2>
58                                         <label>
59                                                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label class="form-field__label">Login ID:</label>
60                                         </label>
61                                         <input  type="text" class="fn-ebz-text" name="loginId" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;"
62                                                 maxlength="30" />
63                                         <br/>
64                                         <br/>
65                                         <label >&nbsp;Password:</label>
66                                         <input type="password" class="span3" name="password" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;"
67                                                 maxlength="30" onkeydown="if (event.keyCode == 13) document.getElementById('loginBtn').click()"/> 
68                                         <br />
69                                         <br />
70                                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
71                                         <input id="loginBtn" type="submit" type="image" src="static/fusion/images/login_button.gif" alt="Login" />
72                                         <br>
73                                 </div>
74                         </div>
75                         <br/><br/><br/><br/><br/><br/><br/>
76                         <div id="footer">
77                         </div>
78             </form>
79     </body>
80 </html>