mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-19 02:05:32 +08:00
78 lines
3.4 KiB
Plaintext
78 lines
3.4 KiB
Plaintext
<%@ page import="com.wisemapping.security.Utils" %>
|
|
<%@ page import="com.wisemapping.model.User" %>
|
|
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
|
<%@ include file="/jsp/init.jsp" %>
|
|
|
|
<%--@elvariable id="mindmap" type="com.wisemapping.model.Mindmap"--%>
|
|
<%--@elvariable id="editorTryMode" type="java.lang.Boolean"--%>
|
|
<%--@elvariable id="editorTryMode" type="java.lang.String"--%>
|
|
<%--@elvariable id="lockInfo" type="com.wisemapping.service.LockInfo"--%>
|
|
|
|
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<base href="${requestScope['site.baseurl']}/static/mindplot/">
|
|
<title><spring:message code="SITE.TITLE"/> - <c:out value="${mindmap.title}"/></title>
|
|
<link rel="stylesheet/less" type="text/css" href="../../css/editor.less"/>
|
|
<script type='text/javascript' src="../../js/less.js"/></script>
|
|
<%@ include file="/jsp/commonPageHeader.jsf" %>
|
|
|
|
<script type="text/javascript">
|
|
var mapId = '${mindmap.id}';
|
|
var memoryPersistence = ${memoryPersistence};
|
|
var readOnly = ${readOnlyMode};
|
|
var lockTimestamp = '${lockTimestamp}';
|
|
var lockSession = '${lockSession}';
|
|
var locale = '${locale}';
|
|
var mindmapLocked = ${mindmapLocked};
|
|
var mindmapLockedMsg = '<spring:message code="MINDMAP_LOCKED" arguments="${lockInfo.user.fullName},${lockInfo.user.email}"/>';
|
|
var userOptions = ${mindmap.properties};
|
|
var isAuth = ${principal != null};
|
|
</script>
|
|
<%@ include file="/jsp/googleAnalytics.jsf" %>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="actionsContainer"></div>
|
|
|
|
<div id="header">
|
|
<div id="headerInfo">
|
|
<div id="headerActions">
|
|
<c:if test="${!memoryPersistence}">
|
|
|
|
<spring:message code="WELCOME"/>, ${principal.firstname} |
|
|
<span><a href="../../c/maps/"><spring:message code="MY_WISEMAPS"/></a></span> |
|
|
<span><a href="#" target=" " id="tutorialVideo"><spring:message code="TUTORIAL_VIDEO"/></a></span> |
|
|
<span><a href="../../c/keyboard" id="keyboardShortcuts"><spring:message code="SHORTCUTS"/></a></span> |
|
|
<span><a href="../../c/logout" title="<spring:message code="LOGOUT"/>"><spring:message
|
|
code="LOGOUT"/></a></span>
|
|
</c:if>
|
|
<c:if test="${memoryPersistence}">
|
|
<span><a href="../../c/keyboard" id="tutorialVideo"><spring:message code="TUTORIAL_VIDEO"/></a></span> |
|
|
<span><a href="#" id="keyboardShortcuts"><spring:message code="SHORTCUTS"/></a></span> |
|
|
<span><a href="../../c/user/registration" title="<spring:message code="REGISTER"/>"><spring:message
|
|
code="REGISTER"/></a></span>
|
|
</c:if>
|
|
</div>
|
|
<a href="${requestScope['site.homepage']}">
|
|
<div id="headerLogo"></div>
|
|
</a>
|
|
|
|
<div id="headerMapTitle"><spring:message code="NAME"/>: <span><c:out value="${mindmap.title}"/></span></div>
|
|
</div>
|
|
<%@ include file="/jsp/mindmapEditorToolbar.jsf" %>
|
|
</div>
|
|
<div id='load' class="modal fade">
|
|
<div class="modal-dialog">
|
|
<div style="height: 120px; text-align: center; border: 2px solid orange" class="modal-content">
|
|
<img style='margin-top:25px; text-align: center' src="../../images/editor/ajax-loader.gif">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="mindplot" onselectstart="return false;"></div>
|
|
<script src="loader.js"></script>
|
|
</body>
|
|
</html>
|