Refactor variable properties.
parent
d2788ae00e
commit
553688b070
|
@ -6,10 +6,13 @@
|
||||||
<%--@elvariable id="editorTryMode" type="java.lang.String"--%>
|
<%--@elvariable id="editorTryMode" type="java.lang.String"--%>
|
||||||
<%--@elvariable id="lockInfo" type="com.wisemapping.service.LockInfo"--%>
|
<%--@elvariable id="lockInfo" type="com.wisemapping.service.LockInfo"--%>
|
||||||
|
|
||||||
|
<c:set var="baseUrl" value="${requestScope['site.baseurl']}" scope="request" />
|
||||||
|
<c:set var="baseJsUrl" value="${requestScope['site.static.js.url']}" scope="request" />
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="${fn:substring(locale,0,2)}">
|
<html lang="${fn:substring(locale,0,2)}">
|
||||||
<head>
|
<head>
|
||||||
<base href="${requestScope['site.baseurl']}/static/webapp/" />
|
<base href="${baseUrl}/static/webapp/" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
|
@ -43,9 +46,7 @@
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
<div id="root" class="mindplot-div-container"></div>
|
<div id="root" class="mindplot-div-container"></div>
|
||||||
|
|
||||||
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/vendors.bundle.js" crossorigin="anonymous" defer></script>
|
<script type="text/javascript" src="${baseJsUrl}/webapp/vendors.bundle.js" crossorigin="anonymous" defer></script>
|
||||||
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/app.bundle.js" crossorigin="anonymous" defer></script>
|
<script type="text/javascript" src="${baseJsUrl}/webapp/app.bundle.js" crossorigin="anonymous" defer></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<%@page pageEncoding="UTF-8" %>
|
<%@page pageEncoding="UTF-8" %>
|
||||||
<%@include file="init.jsp" %>
|
<%@include file="init.jsp" %>
|
||||||
|
<c:set var="baseUrl" value="${requestScope['site.baseurl']}" scope="request" />
|
||||||
|
<c:set var="baseJsUrl" value="${requestScope['site.static.js.url']}" scope="request" />
|
||||||
|
|
||||||
<%--@elvariable id="mindmap" type="com.wisemapping.model.Mindmap"--%>
|
<%--@elvariable id="mindmap" type="com.wisemapping.model.Mindmap"--%>
|
||||||
|
|
||||||
|
@ -7,7 +9,7 @@
|
||||||
|
|
||||||
<html lang="${fn:substring(locale,0,2)}">
|
<html lang="${fn:substring(locale,0,2)}">
|
||||||
<head>
|
<head>
|
||||||
<base href="${requestScope['site.baseurl']}/static/mindplot/" />
|
<base href="${baseUrl}/static/mindplot/" />
|
||||||
<meta name="viewport" content="initial-scale=1">
|
<meta name="viewport" content="initial-scale=1">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
|
@ -71,7 +73,7 @@
|
||||||
<span class="title"><spring:message code="DESCRIPTION"/>:</span><span>${mindmap.title}</span>
|
<span class="title"><spring:message code="DESCRIPTION"/>:</span><span>${mindmap.title}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript" src="${requestScope['site.static.js.url']}/mindplot/loader.js" crossorigin="anonymous" defer></script>
|
<script type="text/javascript" src="${baseJsUrl}/mindplot/loader.js" crossorigin="anonymous" defer></script>
|
||||||
|
|
||||||
<div id="floating-panel">
|
<div id="floating-panel">
|
||||||
<div id="zoom-button">
|
<div id="zoom-button">
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||||
<%@taglib uri="jakarta.tags.functions" prefix="fn" %>
|
<%@taglib uri="jakarta.tags.functions" prefix="fn" %>
|
||||||
<%@taglib uri="jakarta.tags.core" prefix="c"%>
|
<%@taglib uri="jakarta.tags.core" prefix="c"%>
|
||||||
|
<c:set var="baseUrl" value="${requestScope['site.baseurl']}" scope="request" />
|
||||||
|
<c:set var="baseJsUrl" value="${requestScope['site.static.js.url']}" scope="request" />
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="${fn:substring(locale,0,2)}">
|
<html lang="${fn:substring(locale,0,2)}">
|
||||||
<head>
|
<head>
|
||||||
<base href="${requestScope['site.baseurl']}/static/webapp/" />
|
<base href="${baseUrl}/static/webapp/" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
|
@ -48,8 +50,8 @@
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
||||||
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/vendors.bundle.js" crossorigin="anonymous" async></script>
|
<script type="text/javascript" src="${baseJsUrl}/webapp/vendors.bundle.js" crossorigin="anonymous" async></script>
|
||||||
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/app.bundle.js" crossorigin="anonymous" async></script>
|
<script type="text/javascript" src="${baseJsUrl}/webapp/app.bundle.js" crossorigin="anonymous" async></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue