root / war / register.jsp
History | View | Annotate | Download (3.8 kB)
1 | 554:305438787ce3 | pastith | <%-- |
---|---|---|---|
2 | 554:305438787ce3 | pastith | |
3 | 554:305438787ce3 | pastith | Copyright 2010 Electronic Business Systems Ltd. |
4 | 554:305438787ce3 | pastith | |
5 | 554:305438787ce3 | pastith | This file is part of GSS. |
6 | 554:305438787ce3 | pastith | |
7 | 554:305438787ce3 | pastith | GSS is free software: you can redistribute it and/or modify |
8 | 554:305438787ce3 | pastith | it under the terms of the GNU General Public License as published by |
9 | 554:305438787ce3 | pastith | the Free Software Foundation, either version 3 of the License, or |
10 | 554:305438787ce3 | pastith | (at your option) any later version. |
11 | 554:305438787ce3 | pastith | |
12 | 554:305438787ce3 | pastith | GSS is distributed in the hope that it will be useful, |
13 | 554:305438787ce3 | pastith | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | 554:305438787ce3 | pastith | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | 554:305438787ce3 | pastith | GNU General Public License for more details. |
16 | 554:305438787ce3 | pastith | |
17 | 554:305438787ce3 | pastith | You should have received a copy of the GNU General Public License |
18 | 554:305438787ce3 | pastith | along with GSS. If not, see <http://www.gnu.org/licenses/>. |
19 | 554:305438787ce3 | pastith | |
20 | 554:305438787ce3 | pastith | --%> |
21 | 554:305438787ce3 | pastith | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
22 | 554:305438787ce3 | pastith | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
23 | 554:305438787ce3 | pastith | |
24 | 1205:fbeae20462e6 | chstath | <%@page import="org.gss_project.gss.server.configuration.GSSConfigurationFactory"%> |
25 | 554:305438787ce3 | pastith | <%@page import="java.net.URLDecoder"%> |
26 | 554:305438787ce3 | pastith | <html> |
27 | 554:305438787ce3 | pastith | <head> |
28 | 554:305438787ce3 | pastith | <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Registration</title> |
29 | 562:609ce4b3d014 | pastith | <link href="/pithos/main.css" rel="stylesheet" type="text/css"> |
30 | 554:305438787ce3 | pastith | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
31 | 554:305438787ce3 | pastith | </head> |
32 | 554:305438787ce3 | pastith | <body> |
33 | 562:609ce4b3d014 | pastith | <div class="wrapper" > |
34 | 562:609ce4b3d014 | pastith | <div class="header"></div> |
35 | 562:609ce4b3d014 | pastith | <div class="image_logo"> |
36 | 562:609ce4b3d014 | pastith | <table><tr> |
37 | 562:609ce4b3d014 | pastith | <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a> |
38 | 562:609ce4b3d014 | pastith | </tr></table> |
39 | 562:609ce4b3d014 | pastith | </div> <!-- image_logo --> |
40 | 562:609ce4b3d014 | pastith | <div style="clear: both; "> </div> |
41 | 562:609ce4b3d014 | pastith | <div class="page_main"> |
42 | 554:305438787ce3 | pastith | <center> |
43 | 562:609ce4b3d014 | pastith | <p class="blurb">Welcome to the <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> storage service. |
44 | 562:609ce4b3d014 | pastith | Create an account with the service by filling and submitting the following form. Please note that all fields are required.</p> |
45 | 554:305438787ce3 | pastith | <form method="post" action="/pithos/register"> |
46 | 590:c45e8a275e78 | pastith | <div class="error"> |
47 | 590:c45e8a275e78 | pastith | <%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %> |
48 | 590:c45e8a275e78 | pastith | </div> |
49 | 554:305438787ce3 | pastith | <table> |
50 | 554:305438787ce3 | pastith | <tr> |
51 | 558:34bbc90b8fb1 | pastith | <td>Firstname:</td> |
52 | 560:ec80e78cff95 | pastith | <td><input type="text" name="firstname" title="Enter a firstname" value="<%= request.getParameter("firstname") != null? URLDecoder.decode(request.getParameter("firstname"), "UTF-8"): "" %>"/></td> |
53 | 558:34bbc90b8fb1 | pastith | </tr> |
54 | 558:34bbc90b8fb1 | pastith | <tr> |
55 | 558:34bbc90b8fb1 | pastith | <td>Lastname:</td> |
56 | 560:ec80e78cff95 | pastith | <td><input type="text" name="lastname" title="Enter a lastname" value="<%= request.getParameter("lastname") != null? URLDecoder.decode(request.getParameter("lastname"), "UTF-8"): "" %>"/></td> |
57 | 554:305438787ce3 | pastith | </tr> |
58 | 554:305438787ce3 | pastith | <tr> |
59 | 554:305438787ce3 | pastith | <td>E-Mail:</td> |
60 | 560:ec80e78cff95 | pastith | <td><input type="text" name="email" title="Enter an e-mail address" value="<%= request.getParameter("email") != null? URLDecoder.decode(request.getParameter("email"), "UTF-8"): "" %>"/></td> |
61 | 554:305438787ce3 | pastith | </tr> |
62 | 554:305438787ce3 | pastith | <tr> |
63 | 554:305438787ce3 | pastith | <td>Username:</td> |
64 | 560:ec80e78cff95 | pastith | <td><input type="text" name="username" title="Enter a username" value="<%= request.getParameter("username") != null? URLDecoder.decode(request.getParameter("username"), "UTF-8"): "" %>"/></td> |
65 | 554:305438787ce3 | pastith | </tr> |
66 | 554:305438787ce3 | pastith | <tr> |
67 | 554:305438787ce3 | pastith | <td>Password:</td> |
68 | 554:305438787ce3 | pastith | <td><input type="password" name="password" title="Enter a password"/></td> |
69 | 554:305438787ce3 | pastith | </tr> |
70 | 554:305438787ce3 | pastith | <tr> |
71 | 554:305438787ce3 | pastith | <td>Confirm Password:</td> |
72 | 554:305438787ce3 | pastith | <td><input type="password" name="password2" title="Enter the password again to confirm"/></td> |
73 | 554:305438787ce3 | pastith | </tr> |
74 | 554:305438787ce3 | pastith | <tr> |
75 | 554:305438787ce3 | pastith | <td colspan="2"> |
76 | 554:305438787ce3 | pastith | <input type="checkbox" name="accept" title="Accept terms and conditions"/> |
77 | 554:305438787ce3 | pastith | I have read and understood the <a href='/terms' target='_blank'> |
78 | 554:305438787ce3 | pastith | Terms and Conditions</a> of the Service and agree to abide by them |
79 | 554:305438787ce3 | pastith | </td> |
80 | 554:305438787ce3 | pastith | </tr> |
81 | 554:305438787ce3 | pastith | <tr> |
82 | 554:305438787ce3 | pastith | <td colspan="2" align="center"> |
83 | 554:305438787ce3 | pastith | <input type="submit" value="Sign Up" /> |
84 | 554:305438787ce3 | pastith | </td> |
85 | 554:305438787ce3 | pastith | </tr> |
86 | 554:305438787ce3 | pastith | </table> |
87 | 554:305438787ce3 | pastith | </form> |
88 | 554:305438787ce3 | pastith | </center> |
89 | 562:609ce4b3d014 | pastith | </div> |
90 | 562:609ce4b3d014 | pastith | <div class="footer"></div> |
91 | 562:609ce4b3d014 | pastith | </div> <!-- wrapper --> |
92 | 554:305438787ce3 | pastith | </body> |
93 | 554:305438787ce3 | pastith | </html> |