Statistics
| Branch: | Tag: | Revision:

root / war / register.jsp @ 1206:292dec4eae08

History | View | Annotate | Download (3.8 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="org.gss_project.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/main.css" rel="stylesheet" type="text/css">
30
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
31
</head>
32
<body>
33
<div class="wrapper" >
34
<div class="header"></div>
35
<div class="image_logo">
36
<table><tr>
37
  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
38
</tr></table>
39
</div> <!-- image_logo -->
40
<div style="clear: both; "> </div>
41
<div class="page_main">
42
<center>
43
<p class="blurb">Welcome to the <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> storage service.
44
Create an account with the service by filling and submitting the following form. Please note that all fields are required.</p>
45
<form method="post" action="/pithos/register">
46
<div class="error">
47
    <%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %>
48
</div>
49
    <table>
50
        <tr>
51
            <td>Firstname:</td>
52
            <td><input type="text" name="firstname" title="Enter a firstname" value="<%= request.getParameter("firstname") != null? URLDecoder.decode(request.getParameter("firstname"), "UTF-8"): ""  %>"/></td>
53
        </tr>
54
        <tr>
55
            <td>Lastname:</td>
56
            <td><input type="text" name="lastname" title="Enter a lastname" value="<%= request.getParameter("lastname") != null? URLDecoder.decode(request.getParameter("lastname"), "UTF-8"): ""  %>"/></td>
57
        </tr>
58
        <tr>
59
            <td>E-Mail:</td>
60
            <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
        </tr>
62
        <tr>
63
            <td>Username:</td>
64
            <td><input type="text" name="username" title="Enter a username" value="<%= request.getParameter("username") != null? URLDecoder.decode(request.getParameter("username"), "UTF-8"): "" %>"/></td>
65
        </tr>
66
        <tr>
67
            <td>Password:</td>
68
            <td><input type="password" name="password" title="Enter a password"/></td>
69
        </tr>
70
        <tr>
71
            <td>Confirm Password:</td>
72
            <td><input type="password" name="password2" title="Enter the password again to confirm"/></td>
73
        </tr>
74
        <tr>
75
            <td colspan="2">
76
                <input type="checkbox" name="accept" title="Accept terms and conditions"/>
77
                I have read and understood the <a href='/terms' target='_blank'>
78
                Terms and Conditions</a> of the Service and agree to abide by them
79
            </td>
80
        </tr>
81
        <tr>
82
            <td colspan="2" align="center">
83
                <input type="submit" value="Sign Up" />
84
            </td>
85
        </tr>
86
    </table>
87
</form>
88
</center>
89
</div>
90
<div class="footer"></div>
91
</div> <!-- wrapper -->
92
</body>
93
</html>