Revert "Remove unused resources."

This reverts commit 006698341c.
This commit is contained in:
Paulo Gustavo Veiga
2022-01-07 09:21:34 -08:00
parent 006698341c
commit 0f9639fc73
39 changed files with 2377 additions and 400 deletions

View File

@@ -14,6 +14,7 @@
<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/bootstrap.min.css"/>
<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" %>
@@ -35,43 +36,28 @@
<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="../../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>
<%-- This is the try page toolbar --%>
<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 id="mindplot" onselectstart="return false;"></div>
<div id="floating-panel">
<div id="keyboardShortcuts" class="buttonExtOn">
<img src="../../images/editor/keyboard.svg"/>
</div>
<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>
</div>
</div>
<div id="mindplot" onselectstart="return false;"></div>
<div id="bottom-logo"></div>
<div id="headerNotifier"></div>
<script src="loader.js"></script>
</body>
</html>

View File

@@ -1,135 +0,0 @@
<%@page pageEncoding="UTF-8" %>
<%@ include file="/jsp/init.jsp" %>
<!DOCTYPE HTML>
<p><spring:message code="KEYBOARD_SHORTCUTS_MSG"/></p>
<style type="text/css">
#keyboardTable {
font-family: Arial, verdana, serif;
font-size: 13px;
}
#keyboardTable td {
padding: 3px;
white-space: nowrap;
}
#keyboardTable th {
padding: 5px;
white-space: nowrap;
}
#keyboardTable th {
background-color: #000000;
color: #ffffff;
}
</style>
<script>
function submitDialogForm() {}
</script>
<div id="keyboardTable">
<table>
<colgroup>
<col width="40%"/>
<col width="30%"/>
<col width="30%"/>
</colgroup>
<thead>
<tr>
<th><spring:message code="ACTION"/></th>
<th>Windows - Linux</th>
<th>Mac OS X</th>
</tr>
</thead>
<tbody>
<tr>
<td><spring:message code="SAVE_CHANGES"/></td>
<td>Ctrl + s</td>
<td>⌘ + s</td>
</tr>
<tr>
<td><spring:message code="CREATE_SIBLING_TOPIC"/></td>
<td>Enter</td>
<td>Enter</td>
</tr>
<tr>
<td><spring:message code="CREATE_CHILD_TOPIC"/></td>
<td>Insert / Tab</td>
<td>⌘ + Enter / Tab</td>
</tr>
<tr>
<td><spring:message code="DELETE_TOPIC"/></td>
<td>Delete</td>
<td>Delete</td>
</tr>
<tr>
<td><spring:message code="EDIT_TOPIC_TEXT"/></td>
<td><spring:message code="JUST_START_TYPING"/> | F2</td>
<td><spring:message code="JUST_START_TYPING"/> | F2</td>
</tr>
<tr>
<td><spring:message code="MULTIPLE_LINES"/></td>
<td>Ctrl + Enter</td>
<td>⌘ + Enter</td>
</tr>
<tr>
<td><spring:message code="COPY_AND_PASTE_TOPICS"/></td>
<td>Ctrl + c/Ctrl + v</td>
<td>⌘ + c/⌘ + v</td>
</tr>
<tr>
<td><spring:message code="COLLAPSE_CHILDREN"/></td>
<td>Space bar</td>
<td>Space bar</td>
</tr>
<tr>
<td><spring:message code="TOPIC_NAVIGATION"/></td>
<td><spring:message code="ARROW_KEYS"/></td>
<td><spring:message code="ARROW_KEYS"/></td>
</tr>
<tr>
<td><spring:message code="SELECT_MULTIPLE_NODES"/></td>
<td>Ctrl + Mouse Click</td>
<td>Ctrl + Mouse Click</td>
</tr>
<tr>
<td><spring:message code="UNDO_EDITION"/></td>
<td>Ctrl + z</td>
<td>⌘ + z</td>
</tr>
<tr>
<td><spring:message code="REDO_EDITION"/></td>
<td>Ctrl + Shift + z</td>
<td>⌘ + Shift + z</td>
</tr>
<tr>
<td><spring:message code="SELECT_ALL_TOPIC"/></td>
<td>Ctrl + a</td>
<td>⌘ + a</td>
</tr>
<tr>
<td><spring:message code="CANCEL_TEXT_CHANGES"/></td>
<td>Esc</td>
<td>Esc</td>
</tr>
<tr>
<td><spring:message code="DESELECT_ALL_TOPIC"/></td>
<td>Ctrl + Shift + a</td>
<td>⌘ + Shift + a</td>
</tr>
<tr>
<td><spring:message code="CHANGE_TEXT_ITALIC"/></td>
<td>Ctrl + i</td>
<td>⌘ + i</td>
</tr>
<tr>
<td><spring:message code="CHANGE_TEXT_BOLD"/></td>
<td>Ctrl + b</td>
<td>⌘ + b</td>
</tr>
</tbody>
</table>
</div>

View File

@@ -1,101 +1,91 @@
<%--@elvariable id="mindmap" type="com.wisemapping.model.Mindmap"--%>
<div id="toolbar">
<div id="persist" class="buttonContainer">
<a href="/c/maps/"><div id="back"></div></a>
<div id="editTab" class="tabContent">
<div id="persist" class="buttonContainer">
<c:if test="${!readOnlyMode}">
<div id="save" class="buttonOn">
<img src="../../images/editor/save.svg"/>
</div>
</c:if>
</div>
<c:if test="${!readOnlyMode}">
<div id="save" class="buttonOn">
<img src="../../images/editor/save.svg"/>
<div id="edit" class="buttonContainer">
<div id="undoEdition" class="buttonOn">
<img src="../../images/editor/undo.svg"/>
</div>
<div id="redoEdition" class="buttonOn">
<img src="../../images/editor/redo.svg"/>
</div>
</div>
</c:if>
<c:if test="${!memoryPersistence}">
<div id="print" class="buttonOn">
<img src="../../images/editor/print.svg"/>
<c:if test="${!readOnlyMode}">
<div id="nodeStyle" class="buttonContainer">
<div id="addTopic" class="buttonOn">
<img src="../../images/editor/topic-add.svg"/>
</div>
<div id="deleteTopic" class="buttonOn">
<img src="../../images/editor/topic-delete.svg"/>
</div>
<div id="topicBorder" class="buttonExtOn">
<img src="../../images/editor/topic-border.svg"/>
</div>
<div id="topicColor" class="buttonExtOn">
<img src="../../images/editor/topic-color.svg"/>
</div>
<div id="topicShape" class="buttonExtOn">
<img src="../../images/editor/topic-shape.svg"/>
</div>
</div>
<div id="font" class="buttonContainer">
<div id="fontFamily" class="buttonOn">
<img src="../../images/editor/font-type.svg"/>
</div>
<div id="fontSize" class="buttonExtOn">
<img src="../../images/editor/font-size.svg"/>
</div>
<div id="fontBold" class="buttonOn">
<img src="../../images/editor/font-bold.svg"/>
</div>
<div id="fontItalic" class="buttonOn">
<img src="../../images/editor/font-italic.svg"/>
</div>
<div id="fontColor" class="buttonExtOn">
<img src="../../images/editor/font-color.svg"/>
</div>
</div>
<div id="nodeContent" class="buttonContainer">
<div id="topicIcon" class="buttonExtOn">
<img src="../../images/editor/topic-icon.svg"/>
</div>
<div id="topicNote" class="buttonOn" >
<img src="../../images/editor/topic-note.svg"/>
</div>
<div id="topicLink" class="buttonOn">
<img src="../../images/editor/topic-link.svg"/>
</div>
<div id="topicRelation" class="buttonOn">
<img src="../../images/editor/topic-relation.svg"/>
</div>
</div>
<div id="separator" class="buttonContainer"></div>
</c:if>
</div>
<c:if test="${!readOnlyMode}">
<div id="edit" class="buttonContainer">
<div id="undoEdition" class="buttonOn">
<img src="../../images/editor/undo.svg"/>
</div>
<div id="redoEdition" class="buttonOn">
<img src="../../images/editor/redo.svg"/>
</div>
<div id="toolbarRight">
<div id="account">
<img src="../../images/editor/account.svg"/>
</div>
</c:if>
<div id="zoom" class="buttonContainer">
<div id="zoomOut" class="buttonOn">
<img src="../../images/editor/zoom-out.svg"/>
</div>
<div id="zoomIn" class="buttonOn">
<img src="../../images/editor/zoom-in.svg"/>
</div>
</div>
<c:if test="${!readOnlyMode}">
<div id="node" class="buttonContainer">
<div id="topicShape" class="buttonExtOn">
<img src="../../images/editor/topic-shape.svg"/>
</div>
<div id="addTopic" class="buttonOn">
<img src="../../images/editor/topic-add.svg"/>
</div>
<div id="deleteTopic" class="buttonOn">
<img src="../../images/editor/topic-delete.svg"/>
</div>
<div id="topicBorder" class="buttonExtOn">
<img src="../../images/editor/topic-border.svg"/>
</div>
<div id="topicColor" class="buttonExtOn">
<img src="../../images/editor/topic-color.svg"/>
</div>
<div id="topicIcon" class="buttonExtOn">
<img src="../../images/editor/topic-icon.svg"/>
</div>
<div id="topicNote" class="buttonOn">
<img src="../../images/editor/topic-note.svg"/>
</div>
<div id="topicLink" class="buttonOn">
<img src="../../images/editor/topic-link.svg"/>
</div>
<div id="topicRelation" class="buttonOn">
<img src="../../images/editor/topic-relation.svg"/>
</div>
</div>
<div id="font" class="buttonContainer">
<div id="fontFamily" class="buttonOn">
<img src="../../images/editor/font-type.svg"/>
</div>
<div id="fontSize" class="buttonExtOn">
<img src="../../images/editor/font-size.svg"/>
</div>
<div id="fontBold" class="buttonOn">
<img src="../../images/editor/font-bold.svg"/>
</div>
<div id="fontItalic" class="buttonOn">
<img src="../../images/editor/font-italic.svg"/>
</div>
<div id="fontColor" class="buttonExtOn">
<img src="../../images/editor/font-color.svg"/>
</div>
</div>
</c:if>
<div id="collaboration" class="buttonContainer">
<c:if test="${mindmap.owner && !readOnlyMode}">
<div id="shareIt" class="buttonOn">
<img src="../../images/editor/share.svg"/>
</div>
<div id="publishIt" class="buttonOn">
<img src="../../images/editor/public.svg"/>
</div>
</c:if>
<div id="share" class="actionButton">Share</div>
<div id="export" class="buttonOn">
<img src="../../images/editor/export.svg"/>
<img src="../../images/editor/export.svg" />
</div>
<div id="print" class="buttonOn">
<img src="../../images/editor/print.svg" />
</div>
<div id="history" class="buttonOn">
<img src="../../images/editor/history.svg" />
</div>
<c:if test="${!readOnlyMode && !memoryPersistence}">
<div id="history" class="buttonOn">
<img src="../../images/editor/history.svg"/>
</div>
</c:if>
</div>
<div id="headerNotifier"></div>
</div>