Statistics
| Branch: | Tag: | Revision:

root / war / register.jsp @ eba21118

History | View | Annotate | Download (3.8 kB)

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