2303 |
02 Apr 14 |
olle |
1 |
<%@ page |
2303 |
02 Apr 14 |
olle |
2 |
pageEncoding="UTF-8" |
2303 |
02 Apr 14 |
olle |
3 |
session="false" |
2303 |
02 Apr 14 |
olle |
4 |
import="net.sf.basedb.core.User" |
2303 |
02 Apr 14 |
olle |
5 |
import="net.sf.basedb.core.DbControl" |
2303 |
02 Apr 14 |
olle |
6 |
import="net.sf.basedb.core.SessionControl" |
2303 |
02 Apr 14 |
olle |
7 |
import="net.sf.basedb.core.Application" |
2303 |
02 Apr 14 |
olle |
8 |
import="net.sf.basedb.util.Values" |
2303 |
02 Apr 14 |
olle |
9 |
import="net.sf.basedb.util.extensions.Extension" |
2303 |
02 Apr 14 |
olle |
10 |
import="net.sf.basedb.clients.web.Base" |
2303 |
02 Apr 14 |
olle |
11 |
import="net.sf.basedb.clients.web.util.HTML" |
2303 |
02 Apr 14 |
olle |
12 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
2303 |
02 Apr 14 |
olle |
13 |
import="java.util.List" |
2303 |
02 Apr 14 |
olle |
14 |
import="java.util.ArrayList" |
2303 |
02 Apr 14 |
olle |
15 |
%> |
2303 |
02 Apr 14 |
olle |
16 |
<% |
2303 |
02 Apr 14 |
olle |
17 |
final SessionControl sc = Base.getExistingSessionControl(request, true); |
2303 |
02 Apr 14 |
olle |
18 |
final String ID = sc.getId(); |
2303 |
02 Apr 14 |
olle |
19 |
final String extraStyles = request.getParameter("extraStyles"); |
2303 |
02 Apr 14 |
olle |
20 |
%> |
2989 |
02 Dec 14 |
olle |
21 |
<!doctype html> |
2303 |
02 Apr 14 |
olle |
22 |
<html> |
2303 |
02 Apr 14 |
olle |
23 |
<head> |
2303 |
02 Apr 14 |
olle |
24 |
<title>Print template</title> |
2303 |
02 Apr 14 |
olle |
25 |
<link rel="SHORTCUT ICON" href="images/print.png"> |
2989 |
02 Dec 14 |
olle |
26 |
<script type="text/javascript" charset="UTF-8" src="print.js"></script> |
3735 |
10 Feb 16 |
olle |
27 |
<link rel="stylesheet" type="text/css" href="css/labenv.css"> |
2303 |
02 Apr 14 |
olle |
28 |
<link rel="stylesheet" type="text/css" href="css/printable.css"> |
2303 |
02 Apr 14 |
olle |
29 |
<% |
2303 |
02 Apr 14 |
olle |
30 |
if (extraStyles != null) |
2303 |
02 Apr 14 |
olle |
31 |
{ |
2303 |
02 Apr 14 |
olle |
32 |
%> |
2303 |
02 Apr 14 |
olle |
33 |
<link rel="stylesheet" type="text/css" href="css/<%=extraStyles%>"> |
2303 |
02 Apr 14 |
olle |
34 |
<% |
2303 |
02 Apr 14 |
olle |
35 |
} |
2303 |
02 Apr 14 |
olle |
36 |
%> |
2303 |
02 Apr 14 |
olle |
37 |
</head> |
2989 |
02 Dec 14 |
olle |
38 |
<body> |
2303 |
02 Apr 14 |
olle |
39 |
<div class="paper" id="paper"> |
2303 |
02 Apr 14 |
olle |
40 |
<div class="noprint fullwidth" style="border-bottom: 1px dashed #A0A0A0; padding: 0 1em 1em 1em;"> |
2989 |
02 Dec 14 |
olle |
41 |
<span class="button" id="print-button" style="float: left; margin-right: 1em;"> |
2303 |
02 Apr 14 |
olle |
42 |
<img src="images/print.png">Print… |
2303 |
02 Apr 14 |
olle |
43 |
</span> |
2303 |
02 Apr 14 |
olle |
44 |
<span id="printNote"></span> |
2303 |
02 Apr 14 |
olle |
45 |
<br clear="all"> |
2303 |
02 Apr 14 |
olle |
46 |
</div> |
2303 |
02 Apr 14 |
olle |
47 |
<div id="printarea"></div> |
2303 |
02 Apr 14 |
olle |
48 |
</div> |
2303 |
02 Apr 14 |
olle |
49 |
</body> |
2303 |
02 Apr 14 |
olle |
50 |
</html> |