Fix license issues
[vid.git] / epsdk-app-onap / src / main / webapp / WEB-INF / jsp / login.jsp
1 <%--\r
2 ============LICENSE_START==========================================\r
3 ===================================================================\r
4 Copyright © 2018 AT&T Intellectual Property. All rights reserved.\r
5 ===================================================================\r
6 Licensed under the Apache License, Version 2.0 (the "License");\r
7 you may not use this file except in compliance with the License.\r
8 You may obtain a copy of the License at\r
9 \r
10        http://www.apache.org/licenses/LICENSE-2.0\r
11 \r
12 Unless required by applicable law or agreed to in writing, software\r
13 distributed under the License is distributed on an "AS IS" BASIS,\r
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
15 See the License for the specific language governing permissions and\r
16 limitations under the License.\r
17 ============LICENSE_END============================================\r
18 --%>\r
19 <%@ page import="org.onap.portalsdk.core.util.SystemProperties"%>\r
20 <!DOCTYPE html>\r
21 <%\r
22         // Name is defined by app; do not throw if missing\r
23         final String appDisplayName = SystemProperties.containsProperty(SystemProperties.APP_DISPLAY_NAME)\r
24                         ? SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME)\r
25                         : SystemProperties.APP_DISPLAY_NAME;\r
26 %>\r
27 \r
28 <html>\r
29         <head>\r
30                 <meta charset="utf-8">\r
31                 <meta http-equiv="X-UA-Compatible" content="IE=edge">\r
32                 <meta name="viewport" content="width=device-width, initial-scale=1">\r
33                 <title>Login</title>\r
34                 <style>\r
35                 html {\r
36                         font-family: Verdana, Arial, Helvetica, sans-serif;\r
37                 }\r
38                 body {\r
39                         padding-top: 15px;\r
40                 }\r
41                 .logo {\r
42                         position: fixed;\r
43                         left: 15px;\r
44                         top: 15px;\r
45                         z-index: -1;\r
46                 }\r
47                 .loginError {\r
48                         font-size: 18px;\r
49                         color: red;\r
50                         text-align: center;\r
51                 }\r
52                 .login {\r
53                         font-size: 16px;\r
54                         display: block;\r
55                         margin-left: auto;\r
56                         margin-right: auto;\r
57                         text-align: center;\r
58                         width: 100%;\r
59                 }\r
60                 .login input[type=submit] {\r
61                         font-size: 16px;\r
62                 }\r
63                 .terms {\r
64                         font-size: 10px;\r
65                         text-align: center;\r
66                         margin-left: auto;\r
67                         margin-right: auto;\r
68                 }\r
69                 .terms a {\r
70                         font-size: 10px;\r
71                         text-align: center;\r
72                         margin-left: auto;\r
73                         margin-right: auto;\r
74                 }\r
75                 </style>\r
76         </head>\r
77         <body>\r
78                 <div class="login">\r
79                         <img src="static/fusion/images/ecomp_trans.png" />\r
80                         <h2>\r
81                                 <%=appDisplayName%>\r
82                         </h2>\r
83                         <br />\r
84                         <form action="login_external" method="POST"> \r
85                                 <label for="loginId">Login ID:</label>\r
86                                 <input id="loginId" name="loginId" type="text" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;" maxlength="30">\r
87                                 <br/>\r
88                                 <br/>\r
89                                 <label for="password">Password:</label>\r
90                                 <input id="password" name="password" type="password" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;"\r
91                                                         maxlength="30" >\r
92                                 <br />\r
93                                 <br />\r
94                                 <input id="loginBtn" type="submit" alt="Login" value="Login">\r
95                         </form>\r
96                 </div>\r
97                 <br />\r
98                 <br />\r
99                 <div class="loginError">${model.error}</div>\r
100                 <br />\r
101                 <br />\r
102                 <br />\r
103                 <br />\r
104                 <br />\r
105                 <br />\r
106                 <div id="footer">\r
107                         <div class="terms">\r
108                                 Copyright 2017 Open ECOMP and Linux Foundation.\r
109                         </div>\r
110                 </div>\r
111         </body>\r
112 </html>\r