Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3e158bb7d7b55efd63856ee111c07bb8baca0a75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<%--
 Copyright (c) 2009 IBM Corporation and others.
 All rights reserved. This program and the accompanying materials 
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html
 
 Contributors:
     IBM Corporation - initial API and implementation
--%>
<%@
page import="org.eclipse.help.internal.webapp.data.*"  contentType="text/html; charset=UTF-8"
%>
<%@page import="org.eclipse.help.webapp.*" %>
<% 
    request.setCharacterEncoding("UTF-8");
    boolean isRTL = UrlUtil.isRTL(request, response);
    String direction = isRTL?"rtl":"ltr";
	FrameData data = new FrameData(application, request, response);
	WebappPreferences prefs = data.getPrefs();
%>
<html>
<head>
<style type="text/css">
/* need this one for Mozilla */
HTML { 
	width:100%;
	height:100%;
	margin:0px;
	padding:0px;
	border:0px;
 }

BODY {
	background:<%=prefs.getToolbarBackground()%>;
	border:0px;
	height:100%;
}
TABLE {
	font: <%=prefs.getToolbarFont()%>;
	background:<%=prefs.getToolbarBackground()%>;
	margin: 0px;
	padding: 0px;
	height:100%;
}

</style>

</head>
<body dir="<%=direction %>">
<table align ="<%=isRTL?"left":"right"%>">
    <tr>
       <td>
           Hello, Guest!
       </td>
    </tr>
</table>
</body>
</html>

Back to the top