wisemapping-open-source/wise-webapp/src/main/webapp/jsp/mindmapPrint.jsp

28 lines
1008 B
Plaintext
Raw Normal View History

2009-06-07 20:59:43 +02:00
<%@ page import="java.text.DateFormat" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Calendar" %>
<%
Calendar calendar = Calendar.getInstance(request.getLocale());
calendar.setTimeInMillis(System.currentTimeMillis());
DateFormat dateFormat = SimpleDateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, request.getLocale());
String todayString = dateFormat.format(calendar.getTime());
%>
2011-03-28 06:33:16 +02:00
<!DOCTYPE HTML PUBLIC>
2009-06-07 20:59:43 +02:00
<%@ include file="/jsp/init.jsp" %>
<html>
<head>
<title>
<spring:message code="PRINT"/>
- ${mindmap.title}</title>
<link rel="stylesheet" type="text/css" href="../css/common.css">
</head>
<body onload="setTimeout('print()', 5)">
<div id="printHeader">
<div id="printLogo"></div>
<div id="headerTitle">${mindmap.title}<span id="headerSubTitle">&nbsp;(<%=todayString%>)</span></div>
</div>
<center>
2011-04-06 20:05:47 +02:00
<img src="${mapSvg}" alt="${mindmap.title}"/>
2009-06-07 20:59:43 +02:00
</center>
</body>
</html>