Prettify the jsp pages.
authorPanagiotis Astithas <pastith@gmail.com>
Fri, 7 May 2010 14:08:04 +0000 (17:08 +0300)
committerPanagiotis Astithas <pastith@gmail.com>
Fri, 7 May 2010 14:08:04 +0000 (17:08 +0300)
jboss/conf/gss.properties
src/gr/ebs/gss/public/main.css
war/authenticationError.jsp
war/invites.jsp
war/policy.jsp
war/register.jsp
war/registered.jsp

index e733a96..a4cdc44 100644 (file)
@@ -28,7 +28,7 @@ testUsername=past@ebs.gr
 # entering an invitation code, or is open to everyone.
 onlyRegisterWithCode=false
 # An introductory text for the invitation code page.
-invitesIntro=You may sign up for the service by submitting the invitation code that you received.
+invitesIntro=You may sign up for the service by entering the invitation code you received in the field below and clicking 'submit'.
 # The LDAP server where user accounts will be created.
 ldapHost=hal2.ebs.gr
 # The DN to use when connecting to the LDAP server.
index cc0f8ff..5aedd5a 100644 (file)
@@ -120,7 +120,11 @@ div.image_logo{
 \r
 div.logo-wrap img {padding:0px;margin:0px;border:none;}\r
 \r
-.big {\r
+p.big {\r
        font-size: 36px;\r
        font-weight: bold;\r
 }\r
+\r
+p.blurb {\r
+       width: 70%;\r
+}\r
index 3588acc..62691cb 100644 (file)
@@ -25,11 +25,19 @@ along with GSS.  If not, see <http://www.gnu.org/licenses/>.
 <%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%><html>
 <head>
 <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Authentication</title>
-<link href="/pithos/gss.css" rel="stylesheet" type="text/css">
+<link href="/pithos/main.css" rel="stylesheet" type="text/css">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 </head>
 <body>
-
+<div class="wrapper" >
+<div class="header"></div>
+<div class="image_logo">
+<table><tr>
+  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
+</tr></table>
+</div> <!-- image_logo -->
+<div style="clear: both; "> </div>
+<div class="page_main">
 <center>
 <p>
 <%= GSSConfigurationFactory.getConfiguration().getString("noUsernameMessage") %>
@@ -41,6 +49,8 @@ along with GSS.  If not, see <http://www.gnu.org/licenses/>.
 <P>mail (inetOrgPerson): <%= request.getParameter("mail") %><BR>
 <P>eduPersonPrimaryAffiliation (eduPerson): <%= request.getParameter("userclass") %><BR>
 </center>
-
+</div>
+<div class="footer"></div>
+</div> <!-- wrapper -->
 </body>
-</html>
\ No newline at end of file
+</html>
index f7d0252..241be35 100644 (file)
@@ -26,14 +26,22 @@ along with GSS.  If not, see <http://www.gnu.org/licenses/>.
 <html>
 <head>
 <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Registration</title>
-<link href="/pithos/gss.css" rel="stylesheet" type="text/css">
+<link href="/pithos/main.css" rel="stylesheet" type="text/css">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 </head>
 <body>
-
-Welcome to <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %>.
-<%= GSSConfigurationFactory.getConfiguration().getString("invitesIntro") %>
+<div class="wrapper" >
+<div class="header"></div>
+<div class="image_logo">
+<table><tr>
+  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
+</tr></table>
+</div> <!-- image_logo -->
+<div style="clear: both; "> </div>
+<div class="page_main">
 <center>
+<p class="blurb">Welcome to the <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> storage service.
+<%= GSSConfigurationFactory.getConfiguration().getString("invitesIntro") %></p>
 <form method="post" action="/pithos/invites">
 <%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %>
     <table>
@@ -49,6 +57,8 @@ Welcome to <%= GSSConfigurationFactory.getConfiguration().getString("serviceName
     </table>
 </form>
 </center>
-
+</div>
+<div class="footer"></div>
+</div> <!-- wrapper -->
 </body>
 </html>
index b1521e6..055f15a 100644 (file)
@@ -25,11 +25,19 @@ along with GSS.  If not, see <http://www.gnu.org/licenses/>.
 <%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%><html>
 <head>
 <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Terms and Conditions</title>
-<link href="/pithos/gss.css" rel="stylesheet" type="text/css">
+<link href="/pithos/main.css" rel="stylesheet" type="text/css">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 </head>
 <body>
-
+<div class="wrapper" >
+<div class="header"></div>
+<div class="image_logo">
+<table><tr>
+  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
+</tr></table>
+</div> <!-- image_logo -->
+<div style="clear: both; "> </div>
+<div class="page_main">
 <center>
 <form method="post" action="/pithos/policy">
 <input type="hidden" name="user" value="<%= request.getParameter("user") %>">
@@ -39,9 +47,10 @@ along with GSS.  If not, see <http://www.gnu.org/licenses/>.
 <p><input type="checkbox" name="accept" title="Accept terms and conditions">
 I have read and understood the Terms &amp; Conditions mentioned herein above and agree to abide by them
 <p><button type="submit" name="button" value="register" >Submit</button></p>
-
 </form>
 </center>
-
+</div>
+<div class="footer"></div>
+</div> <!-- wrapper -->
 </body>
-</html>
\ No newline at end of file
+</html>
index e40275e..8f7f87f 100644 (file)
@@ -26,14 +26,22 @@ along with GSS.  If not, see <http://www.gnu.org/licenses/>.
 <html>
 <head>
 <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Registration</title>
-<link href="/pithos/gss.css" rel="stylesheet" type="text/css">
+<link href="/pithos/main.css" rel="stylesheet" type="text/css">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 </head>
 <body>
-
-Welcome to <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %>.
-You may sign up for the service by filling and submitting the following form. All fields are required.
+<div class="wrapper" >
+<div class="header"></div>
+<div class="image_logo">
+<table><tr>
+  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
+</tr></table>
+</div> <!-- image_logo -->
+<div style="clear: both; "> </div>
+<div class="page_main">
 <center>
+<p class="blurb">Welcome to the <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> storage service.
+Create an account with the service by filling and submitting the following form. Please note that all fields are required.</p>
 <form method="post" action="/pithos/register">
 <%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %>
     <table>
@@ -76,6 +84,8 @@ You may sign up for the service by filling and submitting the following form. Al
     </table>
 </form>
 </center>
-
+</div>
+<div class="footer"></div>
+</div> <!-- wrapper -->
 </body>
 </html>
index a49670b..de11fad 100644 (file)
@@ -25,17 +25,27 @@ along with GSS.  If not, see <http://www.gnu.org/licenses/>.
 <%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%><html>
 <head>
 <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Authentication</title>
-<link href="/pithos/gss.css" rel="stylesheet" type="text/css">
+<link href="/pithos/main.css" rel="stylesheet" type="text/css">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 </head>
 <body>
-
+<div class="wrapper" >
+<div class="header"></div>
+<div class="image_logo">
+<table><tr>
+  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
+</tr></table>
+</div> <!-- image_logo -->
+<div style="clear: both; "> </div>
+<div class="page_main">
 <center>
 <p>
 Your account was successfully created. You may now
 <a href="<%= request.getContextPath()+ "/login?next=" + GSSConfigurationFactory.getConfiguration().getString("serviceURL") %>">
 login</a> to <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %>
 </center>
-
+</div>
+<div class="footer"></div>
+</div> <!-- wrapper -->
 </body>
 </html>