Statistics
| Branch: | Tag: | Revision:

root / war / register.jsp @ 46268014

History | View | Annotate | Download (3.3 kB)

1
<%--
2

    
3
Copyright 2010 Electronic Business Systems Ltd.
4

    
5
This file is part of GSS.
6

    
7
GSS is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11

    
12
GSS is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License for more details.
16

    
17
You should have received a copy of the GNU General Public License
18
along with GSS.  If not, see <http://www.gnu.org/licenses/>.
19

    
20
--%>
21
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
22
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
23

    
24
<%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%>
25
<%@page import="java.net.URLDecoder"%>
26
<html>
27
<head>
28
<title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Registration</title>
29
<link href="/pithos/gss.css" rel="stylesheet" type="text/css">
30
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
31
</head>
32
<body>
33

    
34
Welcome to <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %>.
35
You may sign up for the service by filling and submitting the following form. All fields are required.
36
<center>
37
<form method="post" action="/pithos/register">
38
<%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %>
39
    <table>
40
        <tr>
41
            <td>Firstname:</td>
42
            <td><input type="text" name="firstname" title="Enter a firstname" value="<%= request.getParameter("firstname") != null? request.getParameter("firstname"): ""  %>"/></td>
43
        </tr>
44
        <tr>
45
            <td>Lastname:</td>
46
            <td><input type="text" name="lastname" title="Enter a lastname" value="<%= request.getParameter("lastname") != null? request.getParameter("lastname"): ""  %>"/></td>
47
        </tr>
48
        <tr>
49
            <td>E-Mail:</td>
50
            <td><input type="text" name="email" title="Enter an e-mail address" value="<%= request.getParameter("email") != null? request.getParameter("email"): "" %>"/></td>
51
        </tr>
52
        <tr>
53
            <td>Username:</td>
54
            <td><input type="text" name="username" title="Enter a username" value="<%= request.getParameter("username") != null? request.getParameter("username"): "" %>"/></td>
55
        </tr>
56
        <tr>
57
            <td>Password:</td>
58
            <td><input type="password" name="password" title="Enter a password"/></td>
59
        </tr>
60
        <tr>
61
            <td>Confirm Password:</td>
62
            <td><input type="password" name="password2" title="Enter the password again to confirm"/></td>
63
        </tr>
64
        <tr>
65
            <td colspan="2">
66
                <input type="checkbox" name="accept" title="Accept terms and conditions"/>
67
                I have read and understood the <a href='/terms' target='_blank'>
68
                Terms and Conditions</a> of the Service and agree to abide by them
69
            </td>
70
        </tr>
71
        <tr>
72
            <td colspan="2" align="center">
73
                <input type="submit" value="Sign Up" />
74
            </td>
75
        </tr>
76
    </table>
77
</form>
78
</center>
79

    
80
</body>
81
</html>