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