[VID-6] Initial rebase push
[vid.git] / epsdk-app-onap / src / main / webapp / WEB-INF / jsp / login.jsp
1 <%@ page import="java.net.URLEncoder"%>\r
2 <%@ page import="org.openecomp.portalsdk.core.util.SystemProperties"%>\r
3 <!DOCTYPE html>\r
4 <%\r
5         // Name is defined by app; do not throw if missing\r
6         final String appDisplayName = SystemProperties.containsProperty(SystemProperties.APP_DISPLAY_NAME)\r
7                         ? SystemProperties.getProperty(SystemProperties.APP_DISPLAY_NAME)\r
8                         : SystemProperties.APP_DISPLAY_NAME;\r
9 %>\r
10 \r
11 <html>\r
12         <head>\r
13                 <meta charset="utf-8">\r
14                 <meta http-equiv="X-UA-Compatible" content="IE=edge">\r
15                 <meta name="viewport" content="width=device-width, initial-scale=1">\r
16                 <title>Login</title>\r
17                 <style>\r
18                 html {\r
19                         font-family: Verdana, Arial, Helvetica, sans-serif;\r
20                 }\r
21                 body {\r
22                         padding-top: 15px;\r
23                 }\r
24                 .logo {\r
25                         position: fixed;\r
26                         left: 15px;\r
27                         top: 15px;\r
28                         z-index: -1;\r
29                 }\r
30                 .loginError {\r
31                         font-size: 18px;\r
32                         color: red;\r
33                         text-align: center;\r
34                 }\r
35                 .login {\r
36                         font-size: 16px;\r
37                         display: block;\r
38                         margin-left: auto;\r
39                         margin-right: auto;\r
40                         text-align: center;\r
41                         width: 100%;\r
42                 }\r
43                 .login input[type=submit] {\r
44                         font-size: 16px;\r
45                 }\r
46                 .terms {\r
47                         font-size: 10px;\r
48                         text-align: center;\r
49                         margin-left: auto;\r
50                         margin-right: auto;\r
51                 }\r
52                 .terms a {\r
53                         font-size: 10px;\r
54                         text-align: center;\r
55                         margin-left: auto;\r
56                         margin-right: auto;\r
57                 }\r
58                 </style>\r
59         </head>\r
60         <body>\r
61                 <div class="login">\r
62                         <img src="static/fusion/images/ecomp_trans.png" />\r
63                         <h2>\r
64                                 <%=appDisplayName%>\r
65                         </h2>\r
66                         <br />\r
67                         <form action="login_external" method="POST"> \r
68                                 <label for="loginId">Login ID:</label>\r
69                                 <input id="loginId" name="loginId" type="text" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;" maxlength="30">\r
70                                 <br/>\r
71                                 <br/>\r
72                                 <label for="password">Password:</label>\r
73                                 <input id="password" name="password" type="password" style="width: 140px;height:25px;border-radius:7px;font-size:18px;padding-left:5px;"\r
74                                                         maxlength="30" >\r
75                                 <br />\r
76                                 <br />\r
77                                 <input id="loginBtn" type="submit" alt="Login" value="Login">\r
78                         </form>\r
79                 </div>\r
80                 <br />\r
81                 <br />\r
82                 <div class="loginError">${model.error}</div>\r
83                 <br />\r
84                 <br />\r
85                 <br />\r
86                 <br />\r
87                 <br />\r
88                 <br />\r
89                 <div id="footer">\r
90                         <div class="terms">\r
91                                 Copyright 2017 Open ECOMP and Linux Foundation.\r
92                         </div>\r
93                 </div>\r
94         </body>\r
95 </html>\r