Revision 09ced7fd

b/src/gr/ebs/gss/public/error403.html
1
<html>
2
	<head>
3
		<title>Pithos</title>
4
		<link type="text/css" rel="stylesheet" href="/pithos/main.css">
5
	</head>
6
	<body>
7
<div class="wrapper" >
8
<div class="header"></div>
9
<div class="image_logo">
10
<table><tr>
11
  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
12
</tr></table>
13
</div> <!-- image_logo -->
14
<div style="clear: both; "> </div>
15
<div class="page_main">
16
		<center>
17
		<p class="big">HTTP status 403
18
		<p>You don't have permission to view the resource in the requested URI.
19
		</center>
20
</div>
21
<div class="footer"></div>
22
</div> <!-- wrapper -->
23
	</body>
24
</html>
b/src/gr/ebs/gss/public/error502.html
1 1
<html>
2 2
	<head>
3 3
		<title>Pithos</title>
4
		<link type="text/css" rel="stylesheet" href="gss.css">
4
		<link type="text/css" rel="stylesheet" href="/pithos/main.css">
5 5
	</head>
6 6
	<body>
7
<div class="wrapper" >
8
<div class="header"></div>
9
<div class="image_logo">
10
<table><tr>
11
  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
12
</tr></table>
13
</div> <!-- image_logo -->
14
<div style="clear: both; "> </div>
15
<div class="page_main">
7 16
		<center>
17
		<p class="big">HTTP status 502
8 18
		<p>The server received an invalid response from the upstream server it accessed in attempting to fulfill the request.
9
		<p><a href='/gss/'>Login again</a>
10 19
		</center>
20
</div>
21
<div class="footer"></div>
22
</div> <!-- wrapper -->
11 23
	</body>
12 24
</html>
b/src/gr/ebs/gss/public/main.css
1
/* kill defaults */
2

  
3
html, body, p, ul, dl, li, h1, h2, h3, h4, img	{
4
margin: 0;
5
padding: 0;
6
}
7

  
8
ul	{
9
padding: 10px;
10
}
11

  
12
img	{
13
border: 0;
14
padding: 8;
15
}
16

  
17
/* ============= */
18
p {
19
	margin-bottom: 20px;
20
}
21

  
22
a {
23
	text-decoration: none;
24
	color: #4d6399;
25
}
26

  
27
a:hover	{
28
	text-decoration: underline;
29
}
30

  
31
a:active {
32
	border: none;
33
}
34

  
35
h1	{
36
	font-size: 24px;
37
	font-weight: bold;
38
	margin-top: 23px;
39
	margin-bottom: 29px;
40
	text-align: center;
41
}
42

  
43
h2	{
44
	font-size: 16px;
45
	font-weight: bold;
46
	margin-top: 23px;
47
	margin-bottom: 9px;
48
}
49

  
50
h3	{
51
	font-size: 12px;
52
	font-weight: bold;
53
	margin-top: 23px;
54
	margin-bottom: 9px;
55
}
56

  
57
body {
58
	background: url(/pithos/images/background.png);
59
	font-family: 'Lucida Grande', Verdana, Helvetica, Arial, sans-serif;
60
	font-size: 12px;
61
	line-height: 20px;
62
	color: #222;
63
	margin: 0px 20px 0px 20px; 
64
	text-align: justify;
65
}
66

  
67
table {
68
	font-family: 'Lucida Grande', Verdana, Helvetica, Arial, sans-serif;
69
	font-size: 12px;
70
	font-style: italic;
71
}
72

  
73
div.page_main	{
74
	margin-left: 25px;
75
	margin-right: 25px;
76
	padding-left: 20px;
77
	padding-right: 20px;
78
}
79

  
80
div.wrapper {
81
	width: 1024px; 
82
	position: relative; 
83
	background: url(/pithos/images/page_shadow.png) repeat-y;
84
	margin-left: auto;
85
	margin-right: auto;
86
}
87

  
88
div.header{
89
	width: 1024px;
90
	position: relative;
91
	background: url(/pithos/images/header.png) no-repeat;
92
	margin-left: auto;
93
	margin-right: auto;
94
	padding:15px;
95
}
96

  
97
div.footer{
98
	width: 1024px;
99
	height: 26px;
100
	background: url(/pithos/images/bottom.png) no-repeat;
101
	margin-left: auto;
102
	margin-right: auto;
103
}
104

  
105
div.disclaimer	{
106
	background: url(/pithos/images/background.png);
107
	margin-top: 0;
108
	text-align: center;
109
	font-size: 10px;
110
	padding-bottom: 25px;
111
	text-decoration: none;
112
}
113

  
114
div.image_logo{
115
	float:left;
116
	width: 100%; 
117
	padding:0px;
118
	margin:0px 0px 0px 11px;
119
}
120

  
121
div.logo-wrap img {padding:0px;margin:0px;border:none;}
122

  
123
.big {
124
	font-size: 36px;
125
	font-weight: bold;
126
}
b/war/WEB-INF/web.xml
8 8
	            /error502.html
9 9
	        </location>
10 10
	    </error-page>
11
		<error-page>
12
			<error-code>
13
		    403
14
	        </error-code>
15
	        <location>
16
	            /error403.html
17
	        </location>
18
	    </error-page>
11 19
        <servlet>
12 20
                <servlet-name>Login</servlet-name>
13 21
                <servlet-class>gr.ebs.gss.server.Login</servlet-class>

Also available in: Unified diff