Skip to main content
summaryrefslogtreecommitdiffstats
blob: af7ca1fbf6d9da5bcf58c29dff00d48ab5abd191 (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
60
61
62
63
64
65
66
67
68
69
<%--
 Copyright (c) 2009, 2018 IBM Corporation and others.

 This program and the accompanying materials 
 are made available under the terms of the Eclipse Public License 2.0
 which accompanies this distribution, and is available at
 https://www.eclipse.org/legal/epl-2.0/

 SPDX-License-Identifier: EPL-2.0
 
 Contributors:
     IBM Corporation - initial API and implementation
--%>
<%@ include file="header.jsp"%>
<%
	String msg = (String)request.getAttribute("msg");
%>

<html lang="<%=ServletResources.getString("locale", request)%>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<link rel="stylesheet" href="printAlert.css" charset="utf-8" type="text/css">

<script type="text/javascript">

function onloadHandler() {
	sizeButtons();
}

function sizeButtons() {
	var minWidth=60;

	if(document.getElementById("ok").offsetWidth < minWidth){
		document.getElementById("ok").style.width = minWidth+"px";
	}
}

</script>

</head>

<body dir='<%=direction%>' onload="onloadHandler()">
<p>&nbsp;</p>
<div align="center">
<div class="printAlertDiv">
	<table align="center" width="400" cellpadding="10" cellspacing="0">
		<tr>
			<td class="caption"><strong><%=ServletResources.getString("error", request)%></strong></td>
		</tr>
		<tr>
			<td height="50" class="message">
			<p><%=ServletResources.getString(msg, request)%>
			</p>
			</td>
		</tr>
		<tr>
			<td class="button">
			<div align="center">
				<button id="ok" onClick="top.close()"><%=ServletResources.getString("OK", request)%></button>
            </div>
			</td>
		</tr>
	</table>
</Ddiv>
</div>
</body>
</html>

Back to the top