[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / ONAP-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 <%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%>
21 <!DOCTYPE html>
22 <%
23         // Name is defined by app; do not throw if missing
24         final String appDisplayName = SystemProperties.containsProperty(SystemProperties.APP_DISPLAY_NAME)
25                         ? SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME)
26                         : SystemProperties.APP_DISPLAY_NAME;
27 %>
28
29 <html>
30         <head>
31                 <meta charset="utf-8">
32                 <meta http-equiv="X-UA-Compatible" content="IE=edge">
33                 <meta name="viewport" content="width=device-width, initial-scale=1">
34                 <title>Login</title>
35                 <style>
36                 html {
37                         font-family: Verdana, Arial, Helvetica, sans-serif;
38                 }
39                 body {
40                         padding-top: 15px;
41                 }
42                 .logo {
43                         position: fixed;
44                         left: 15px;
45                         top: 15px;
46                         z-index: -1;
47                 }
48                 .loginError {
49                         font-size: 18px;
50                         color: red;
51                         text-align: center;
52                 }
53                 .login {
54                         font-size: 16px;
55                         display: block;
56                         margin-left: auto;
57                         margin-right: auto;
58                         text-align: center;
59                         width: 100%;
60                 }
61                 .login input[type=submit] {
62                         font-size: 16px;
63                 }
64                 .terms {
65                         font-size: 10px;
66                         text-align: center;
67                         margin-left: auto;
68                         margin-right: auto;
69                 }
70                 .terms a {
71                         font-size: 10px;
72                         text-align: center;
73                         margin-left: auto;
74                         margin-right: auto;
75                 }
76                 </style>
77         </head>
78         <body>
79                 <div class="login">
80                         <img src="static/fusion/images/onap_trans.png" />
81                         <h2>
82                                 <%=appDisplayName%>
83                         </h2>
84                         <br />
85                         <form action="login_external" method="POST"> 
86                                 <label for="loginId">Login ID:</label>
87                                 <input id="loginId" name="loginId" type="text" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;" maxlength="30">
88                                 <br/>
89                                 <br/>
90                                 <label for="password">Password:</label>
91                                 <input id="password" name="password" type="password" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;"
92                                                         maxlength="30" >
93                                 <br />
94                                 <br />
95                                 <input id="loginBtn" type="submit" alt="Login" value="Login">
96                         </form>
97                 </div>
98                 <br />
99                 <br />
100                 <div class="loginError">${model.error}</div>
101                 <br />
102                 <br />
103                 <br />
104                 <br />
105                 <br />
106                 <br />
107                 <div id="footer">
108                         <div class="terms">
109                                 Copyright 2017 Open ONAP and Linux Foundation.
110                         </div>
111                 </div>
112         </body>
113 </html>