2012-06-30 02:26:21 -03:00
|
|
|
<%@page pageEncoding="UTF-8" %>
|
|
|
|
<%@include file="/jsp/init.jsp" %>
|
2012-04-05 14:18:13 -03:00
|
|
|
|
2012-08-15 21:28:51 -03:00
|
|
|
<%--@elvariable id="mindmap" type="com.wisemapping.model.Mindmap"--%>
|
2012-04-05 14:18:13 -03:00
|
|
|
|
2012-06-30 02:26:21 -03:00
|
|
|
<!DOCTYPE HTML>
|
2011-10-18 09:29:29 -03:00
|
|
|
|
2009-06-07 18:59:43 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2021-12-25 22:55:22 -08:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
2021-12-26 09:23:51 -08:00
|
|
|
<base href="${requestScope['site.baseurl']}/static/mindplot/">
|
|
|
|
<title><spring:message code="SITE.TITLE"/> | ${mindmap.title} </title>
|
2022-01-10 21:13:06 -08:00
|
|
|
<link rel="stylesheet" href="../../css/viewonly.css"/>
|
2022-01-10 19:12:58 -08:00
|
|
|
<%@ include file="/jsp/pageHeaders.jsf" %>
|
2022-01-08 10:32:49 -08:00
|
|
|
<script type="text/javascript">
|
2021-12-25 22:55:22 -08:00
|
|
|
var mapId = '${mindmap.id}';
|
2022-01-27 19:06:51 -08:00
|
|
|
var historyId = '${hid}';
|
2021-12-25 22:55:22 -08:00
|
|
|
var memoryPersistence = true;
|
|
|
|
var readOnly = true;
|
|
|
|
var userOptions = ${mindmap.properties};
|
|
|
|
var locale = '${locale}';
|
|
|
|
var isAuth = ${principal != null};
|
|
|
|
</script>
|
|
|
|
<%@ include file="/jsp/googleAnalytics.jsf" %>
|
2009-06-07 18:59:43 +00:00
|
|
|
</head>
|
2012-04-05 14:18:13 -03:00
|
|
|
<body>
|
2022-01-08 10:32:49 -08:00
|
|
|
<div id="mindplot"></div>
|
2011-10-18 09:29:29 -03:00
|
|
|
|
2022-01-08 10:32:49 -08:00
|
|
|
<a href="${requestScope['site.homepage']}" target="new">
|
|
|
|
<div id="footerLogo"></div>
|
|
|
|
</a>
|
2012-04-05 14:18:13 -03:00
|
|
|
|
2022-01-08 10:32:49 -08:00
|
|
|
<div id="mapDetails">
|
2022-01-30 09:55:07 -08:00
|
|
|
<span class="title"><spring:message code="CREATOR"/>:</span><span>${mindmap.creator.fullName}</span>
|
|
|
|
<span class="title"><spring:message code="DESCRIPTION"/>:</span><span>${mindmap.title}</span>
|
2022-01-08 10:32:49 -08:00
|
|
|
</div>
|
2011-10-18 09:29:29 -03:00
|
|
|
|
2022-01-14 16:39:20 -08:00
|
|
|
<script type="text/javascript" src="${requestScope['site.static.js.url']}/mindplot/loader.js"></script>
|
2012-04-05 14:18:13 -03:00
|
|
|
|
2022-01-08 10:32:49 -08:00
|
|
|
<div id="floating-panel">
|
|
|
|
<div id="zoom-button">
|
|
|
|
<button id="zoom-plus">
|
|
|
|
<img src="../../images/editor/add.svg" />
|
|
|
|
</button>
|
|
|
|
<button id="zoom-minus">
|
|
|
|
<img src="../../images/editor/minus.svg" />
|
|
|
|
</button>
|
2022-01-10 12:00:26 -08:00
|
|
|
<div id="position">
|
|
|
|
<button id="position-button">
|
|
|
|
<img src="../../images/editor/center_focus.svg" />
|
|
|
|
</button>
|
|
|
|
</div>
|
2009-06-07 18:59:43 +00:00
|
|
|
</div>
|
2011-10-18 09:29:29 -03:00
|
|
|
</div>
|
2022-01-08 10:32:49 -08:00
|
|
|
<script type="text/javascript">
|
|
|
|
// Hock zoom events ...
|
|
|
|
const zoomInButton = document.getElementById('zoom-plus');
|
|
|
|
if (zoomInButton) {
|
|
|
|
zoomInButton.addEventListener('click', () => {
|
|
|
|
designer.zoomIn();
|
|
|
|
});
|
|
|
|
}
|
2022-01-10 12:00:26 -08:00
|
|
|
|
|
|
|
const zoomOutButton = document.getElementById('zoom-minus');
|
2022-01-08 10:32:49 -08:00
|
|
|
if (zoomOutButton) {
|
|
|
|
zoomOutButton.addEventListener('click', () => {
|
|
|
|
designer.zoomOut();
|
|
|
|
});
|
|
|
|
}
|
2022-01-10 12:00:26 -08:00
|
|
|
|
|
|
|
const position = document.getElementById('position');
|
|
|
|
if (position) {
|
|
|
|
position.addEventListener('click', () => {
|
|
|
|
designer.zoomToFit();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2022-01-08 10:32:49 -08:00
|
|
|
</script>
|
2009-06-07 18:59:43 +00:00
|
|
|
</body>
|
2011-10-18 09:29:29 -03:00
|
|
|
</html>
|