- Remove .htm
- Keep working on export.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
log4j.rootLogger=WARN, stdout, R
|
||||
log4j.logger.com.wisemapping=WARN,stdout,R
|
||||
log4j.logger.org.springframework=WARN,stdout,R
|
||||
log4j.logger.org.springframework=DEBUG,stdout,R
|
||||
log4j.logger.org.codehaus.jackson=WARN,stdout,R
|
||||
log4j.logger.org.hibernate.SQL=DEBUG, stdout,R
|
||||
log4j.additivity.org.hibernate.SQL=false
|
||||
|
||||
|
||||
|
@@ -54,8 +54,9 @@ JPEG_EXPORT_FORMAT=JPEG
|
||||
PNG_EXPORT_FORMAT=Portable Network Graphics (PNG)
|
||||
SVG_EXPORT_FORMAT=Scalable Vector Graphics (SVG)
|
||||
PDF_EXPORT_FORMAT=Portable Document Format (PDF)
|
||||
IMG_EXPORT_FORMAT=Image File
|
||||
IMG_EXPORT_FORMAT=Image File (PNG/JPEG)
|
||||
FREEMIND_EXPORT_FORMAT = Freemind (version 0.9.0)
|
||||
WISEMAPPING_EXPORT_FORMAT = WiseMapping
|
||||
|
||||
FILE=File
|
||||
FILE_URL=File URL
|
||||
@@ -71,7 +72,7 @@ YES=yes
|
||||
NO=no
|
||||
|
||||
EDITOR.LOADING=Loading ...
|
||||
EDITOR.ERROR_LOADING=An unexpected error has occurred initializing this page. <br/>We'll solve this problem as soon as possible. Please, click <a href="mymaps.htm">here</a> to return to your mindmap list.
|
||||
EDITOR.ERROR_LOADING=An unexpected error has occurred initializing this page. <br/>We'll solve this problem as soon as possible. Please, click <a href="maps/">here</a> to return to your mindmap list.
|
||||
SITE.TITLE=WiseMapping
|
||||
SITE.SLOGAN=Visual Thinking Evolution
|
||||
SAVE=Save
|
||||
@@ -161,11 +162,13 @@ SVG_EXPORT_FORMAT_DETAILS=Scalable Vector Graphics (SVG) is an XML markup langua
|
||||
PDF_EXPORT_FORMAT_DETAILS=Get your map as Portable Document Format(PDF) to share use in your presentations.
|
||||
IMG_EXPORT_FORMAT_DETAILS=Get a graphic representation of your map including all colors and shapes to reuse in documents or for archiving
|
||||
FREEMIND_EXPORT_FORMAT_DETAILS = FreeMind is a nice desktop mind mapping application that has the great benefit of being free.
|
||||
WISEMAPPING_EXPORT_FORMAT_DETAILS = Export you map as native WiseMapping document format.
|
||||
|
||||
DELETE_MAP=Delete Confirmation
|
||||
|
||||
TERMSOFUSE=Terms of Use
|
||||
PRIVACYPOLICY= Privacy Policy
|
||||
EXPORT_DETAILS=Export this map in the format that you want and start using it in your presentations
|
||||
EXPORT_DETAILS=Export this map in the format that you want and start using it in your presentations or sharing by email
|
||||
PUBLIC_MAP_VIEW=Public Map Info
|
||||
HERE=here
|
||||
DETAILS=Details
|
||||
@@ -307,3 +310,4 @@ NO_PRODUCTION_DATABASE_CONFIGURED=Note: Although HSQLDB is bundled with WiseMapp
|
||||
IMPORT=Import
|
||||
|
||||
EMBEDDED_MAP_SIZE=* Note: You can change embedded map size modifying 'height' and 'width' style properties. You can also adjust the zoom factor modifying 'zoom' parameter from the URL.
|
||||
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar only.\
|
||||
|
@@ -258,4 +258,5 @@ SEARCH_MSG=Search and discover mind maps created by people like you.
|
||||
SEARCH_PUBLIC=Buscar mapas públicos
|
||||
UNDO_EDITION=Undo Edition
|
||||
REDO_EDITION=Redo Edition
|
||||
REVERT=revert
|
||||
REVERT=revert
|
||||
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar only.\
|
@@ -255,3 +255,4 @@ USABILITY_EDITOR_IMPROVED= Usability Improvement
|
||||
USABILITY_EDITOR_IMPROVED_SHRINK= Usability Improvement
|
||||
EDITOR_LINKS=Mind Map feature
|
||||
NEWS_ADD_ICON=Mind Map feature
|
||||
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar only.\
|
||||
|
@@ -118,13 +118,13 @@
|
||||
<put name="body" value="/jsp/changePassword.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="mindmapTags" extends="dialogTemplate">
|
||||
<definition name="mindmapExport" extends="dialogTemplate">
|
||||
<put name="title" value=""/>
|
||||
<put name="details" value=""/>
|
||||
<put name="body" value="/jsp/mindmapTags.jsp"/>
|
||||
<put name="body" value="/jsp/mindmapExport.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="mindmapExport" extends="dialogTemplate">
|
||||
<definition name="mindmapExportFull" extends="dialogFullTemplate">
|
||||
<put name="title" value=""/>
|
||||
<put name="details" value=""/>
|
||||
<put name="body" value="/jsp/mindmapExport.jsp"/>
|
||||
@@ -142,6 +142,18 @@
|
||||
<put name="body" value="/jsp/mindmapPublish.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="mindmapShare" extends="dialogTemplate">
|
||||
<put name="title" value=""/>
|
||||
<put name="details" value=""/>
|
||||
<put name="body" value="/jsp/mindmapShare.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="mindmapShareFull" extends="dialogFullTemplate">
|
||||
<put name="title" value=""/>
|
||||
<put name="details" value=""/>
|
||||
<put name="body" value="/jsp/mindmapShare.jsp"/>
|
||||
</definition>
|
||||
|
||||
<definition name="mindmapCollaborator" extends="dialogTemplate">
|
||||
<put name="title" value=""/>
|
||||
<put name="details" value=""/>
|
||||
|
@@ -90,7 +90,7 @@
|
||||
<init-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>
|
||||
/WEB-INF/wisemapping-nservlet.xml
|
||||
/WEB-INF/wisemapping-nservlet.xml
|
||||
/WEB-INF/wisemapping-servlet.xml
|
||||
</param-value>
|
||||
</init-param>
|
||||
@@ -113,7 +113,7 @@
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>mvc-servlet</servlet-name>
|
||||
<url-pattern>*.htm</url-pattern>
|
||||
<url-pattern>/c/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
|
@@ -66,17 +66,17 @@
|
||||
<list>
|
||||
<value>/</value>
|
||||
<value>/index.jsp</value>
|
||||
<value>/c/home.htm</value>
|
||||
<value>/c/login.htm</value>
|
||||
<value>/c/userRegistration.htm</value>
|
||||
<value>/c/captcha.htm</value>
|
||||
<value>/c/publicView.htm</value>
|
||||
<value>/c/home</value>
|
||||
<value>/c/login</value>
|
||||
<value>/c/userRegistration</value>
|
||||
<value>/c/captcha</value>
|
||||
<value>/c/publicView</value>
|
||||
<value>/service/*</value>
|
||||
<value>/c/search.htm</value>
|
||||
<value>/c/keyboard.htm</value>
|
||||
<value>/c/renameMap.htm</value>
|
||||
<value>/c/embeddedView.htm</value>
|
||||
<value>/c/forgotPassword.htm</value>
|
||||
<value>/c/search</value>
|
||||
<value>/c/keyboard</value>
|
||||
<value>/c/renameMap</value>
|
||||
<value>/c/embeddedView</value>
|
||||
<value>/c/forgotPassword</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
@@ -29,7 +29,6 @@
|
||||
|
||||
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
|
||||
<property name="defaultContentType" value="application/json"/>
|
||||
<property name="favorPathExtension" value="true"/>
|
||||
<property name="mediaTypes">
|
||||
<map>
|
||||
<entry key="html" value="text/html"/>
|
||||
@@ -41,7 +40,7 @@
|
||||
<entry key="jpeg" value="image/jpg"/>
|
||||
<entry key="svg" value="image/svg+xml"/>
|
||||
<entry key="svg" value="application/svg+xml"/>
|
||||
<entry key="wise" value="application/wisemapping+xml"/>
|
||||
<entry key="wxml" value="application/wisemapping+xml"/>
|
||||
</map>
|
||||
</property>
|
||||
<property name="viewResolvers">
|
||||
@@ -86,7 +85,7 @@
|
||||
<constructor-arg value="image/svg+xml"/>
|
||||
</bean>
|
||||
|
||||
<bean id="transformViewWise" class="com.wisemapping.rest.view.ImportTransformationView">
|
||||
<bean id="transformViewWise" class="com.wisemapping.rest.view.TransformView">
|
||||
<constructor-arg value="application/wisemapping+xml"/>
|
||||
</bean>
|
||||
|
||||
|
@@ -21,17 +21,18 @@
|
||||
<sec:http pattern="/images/**" security="none"/>
|
||||
<sec:http pattern="/icons/**" security="none"/>
|
||||
<sec:http pattern="/favicon.ico" security="none"/>
|
||||
<sec:http pattern="/c/login.htm" security="none"/>
|
||||
<sec:http pattern="/c/userregistration.htm" security="none"/>
|
||||
<sec:http pattern="/c/activation.htm" security="none"/>
|
||||
<sec:http pattern="/c/forgotpassword.htm" security="none"/>
|
||||
<sec:http pattern="/c/home.htm" security="none"/>
|
||||
<sec:http pattern="/c/try.htm" security="none"/>
|
||||
<sec:http pattern="/c/search.htm" security="none"/>
|
||||
<sec:http pattern="/c/keyboard.htm" security="none"/>
|
||||
<sec:http pattern="/c/embeddedview.htm" security="none"/>
|
||||
<sec:http pattern="/c/publicview.htm" security="none"/>
|
||||
<sec:http pattern="/service/transform*" security="none"/>
|
||||
|
||||
<sec:http pattern="/c/login" security="none"/>
|
||||
<sec:http pattern="/c/userregistration" security="none"/>
|
||||
<sec:http pattern="/c/activation" security="none"/>
|
||||
<sec:http pattern="/c/forgotpassword" security="none"/>
|
||||
<sec:http pattern="/c/home" security="none"/>
|
||||
<sec:http pattern="/c/try" security="none"/>
|
||||
<sec:http pattern="/c/search" security="none"/>
|
||||
<sec:http pattern="/c/keyboard" security="none"/>
|
||||
<sec:http pattern="/c/embeddedview" security="none"/>
|
||||
<sec:http pattern="/c/publicview" security="none"/>
|
||||
<sec:http pattern="/c/termsOfUse" security="none"/>
|
||||
|
||||
<sec:http use-expressions="true" create-session="never" pattern="/service/**">
|
||||
<sec:intercept-url pattern="/service/admin/users/**" access="isAuthenticated() and hasRole('ROLE_ADMIN')"/>
|
||||
@@ -39,15 +40,15 @@
|
||||
<sec:http-basic/>
|
||||
</sec:http>
|
||||
|
||||
<sec:http use-expressions="true" access-denied-page="/c/login.htm">
|
||||
<sec:intercept-url pattern="/c/*.htm" access="isFullyAuthenticated()"/>
|
||||
<sec:form-login login-page="/c/login.htm"
|
||||
default-target-url='/c/mymaps.htm'
|
||||
<sec:http use-expressions="true" access-denied-page="/c/login">
|
||||
<sec:intercept-url pattern="/c/**" access="isFullyAuthenticated()"/>
|
||||
<sec:form-login login-page="/c/login"
|
||||
default-target-url='/c/maps/'
|
||||
always-use-default-target='false'
|
||||
authentication-failure-url="/c/login.htm?login_error=2"
|
||||
authentication-failure-url="/c/login?login_error=2"
|
||||
login-processing-url="/c/j_spring_security_check"/>
|
||||
<sec:remember-me key="wisemapping-hashed-key"/>
|
||||
<sec:logout logout-url="/c/logout.htm" invalidate-session="true" logout-success-url="/c/login.htm"/>
|
||||
<sec:logout logout-url="/c/logout" invalidate-session="true" logout-success-url="/c/login"/>
|
||||
</sec:http>
|
||||
|
||||
<sec:authentication-manager alias="authenticationManager">
|
||||
|
@@ -20,8 +20,8 @@
|
||||
<bean id="homeResolver" class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
|
||||
<property name="mappings">
|
||||
<props>
|
||||
<prop key="/c/try.htm">tryEditor</prop>
|
||||
<prop key="/c/installCFG.htm">installCFG</prop>
|
||||
<prop key="try">tryEditor</prop>
|
||||
<prop key="installCFG">installCFG</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -80,7 +80,7 @@
|
||||
<bean id="settingResolver" class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
|
||||
<property name="mappings">
|
||||
<props>
|
||||
<prop key="/c/settings.htm">settings</prop>
|
||||
<prop key="settings">settings</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -166,23 +166,23 @@
|
||||
</property>
|
||||
<property name="mappings">
|
||||
<props>
|
||||
<prop key="/c/maps/import.htm">importMapController</prop>
|
||||
<prop key="maps/import">importMapController</prop>
|
||||
|
||||
<!-- Review -->
|
||||
<prop key="/c/publicView.htm">publicView</prop>
|
||||
<prop key="/c/embeddedView.htm">embeddedView</prop>
|
||||
<prop key="publicView">publicView</prop>
|
||||
<prop key="embeddedView">embeddedView</prop>
|
||||
|
||||
<!-- Forms based -->
|
||||
<prop key="/c/userRegistration.htm">userController</prop>
|
||||
<prop key="/c/sharing.htm">sharingController</prop>
|
||||
<prop key="/c/login.htm">loginController</prop>
|
||||
<prop key="/c/forgotPassword.htm">forgotPasswordController</prop>
|
||||
<prop key="/c/activation.htm">activationController</prop>
|
||||
<prop key="/c/changePassword.htm">changePasswordController</prop>
|
||||
<prop key="/c/cooker.htm">cookerController</prop>
|
||||
<prop key="/c/settings.htm">settingsController</prop>
|
||||
<prop key="/c/editProfile.htm">editProfileController</prop>
|
||||
<prop key="/c/history.htm">historyController</prop>
|
||||
<prop key="userRegistration">userController</prop>
|
||||
<prop key="sharing">sharingController</prop>
|
||||
<prop key="login">loginController</prop>
|
||||
<prop key="forgotPassword">forgotPasswordController</prop>
|
||||
<prop key="activation">activationController</prop>
|
||||
<prop key="changePassword">changePasswordController</prop>
|
||||
<prop key="cooker">cookerController</prop>
|
||||
<prop key="settings">settingsController</prop>
|
||||
<prop key="editProfile">editProfileController</prop>
|
||||
<prop key="history">historyController</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
0
wise-webapp/src/main/webapp/favicon.ico
Normal file
0
wise-webapp/src/main/webapp/favicon.ico
Normal file
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta HTTP-EQUIV="REFRESH" content="0; url=/c/home.htm">
|
||||
<meta HTTP-EQUIV="REFRESH" content="0; url=/c/home">
|
||||
</head>
|
||||
</html>
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<%
|
||||
response.sendRedirect("c/home.htm");
|
||||
response.sendRedirect("c/home");
|
||||
%>
|
@@ -75,7 +75,6 @@ jQuery.fn.dataTableExt.selectAllMaps = function() {
|
||||
};
|
||||
|
||||
jQuery.fn.dataTableExt.getSelectedMapsIds = function() {
|
||||
console.log(this)
|
||||
var selectedRows = $('#mindmapListTable').dataTableExt.getSelectedRows();
|
||||
var dataTable = $('#mindmapListTable').dataTable();
|
||||
return selectedRows.map(function() {
|
||||
@@ -286,7 +285,7 @@ $(function() {
|
||||
bUseRendered : false,
|
||||
mDataProp: "title",
|
||||
fnRender : function(obj) {
|
||||
return '<a href="c/maps/' + obj.aData.id + '/edit.htm">' + obj.aData.title + '</a>';
|
||||
return '<a href="c/maps/' + obj.aData.id + '/edit">' + obj.aData.title + '</a>';
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -344,13 +343,13 @@ $(function() {
|
||||
$("#newBtn").click(
|
||||
function() {
|
||||
$("#new-dialog-modal").dialogForm({
|
||||
redirect: "c/maps/{header.resourceId}/edit.htm",
|
||||
redirect: "c/maps/{header.resourceId}/edit",
|
||||
url : "../service/maps"
|
||||
});
|
||||
});
|
||||
|
||||
$("#importBtn").click(function() {
|
||||
window.open('c/maps/import.htm');
|
||||
window.open('c/maps/import');
|
||||
});
|
||||
|
||||
$("#duplicateBtn").click(function() {
|
||||
@@ -368,7 +367,7 @@ $(function() {
|
||||
|
||||
// Initialize dialog ...
|
||||
$("#duplicate-dialog-modal").dialogForm({
|
||||
redirect: "c/maps/{header.resourceId}/edit.htm",
|
||||
redirect: "c/maps/{header.resourceId}/edit",
|
||||
url : "../service/maps/" + mapId
|
||||
});
|
||||
}
|
||||
@@ -412,15 +411,16 @@ $(function() {
|
||||
var tableUI = $('#mindmapListTable');
|
||||
|
||||
var mapIds = tableUI.dataTableExt.getSelectedMapsIds();
|
||||
|
||||
if (mapIds.length > 0) {
|
||||
// Initialize dialog ...
|
||||
$("#delete-dialog-modal").dialogForm({
|
||||
type: 'DELETE',
|
||||
postUpdate: function(reqBodyData) {
|
||||
postUpdate: function() {
|
||||
// Remove old entry ...
|
||||
tableUI.dataTableExt.removeSelectedRows();
|
||||
},
|
||||
url : "../service/maps/batch?ids=" + mapIds.join(',')
|
||||
url : "../service/maps/batch?ids=" + jQuery.makeArray(mapIds).join(',')
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -428,14 +428,14 @@ $(function() {
|
||||
$("#printBtn").click(function() {
|
||||
var mapIds = $('#mindmapListTable').dataTableExt.getSelectedMapsIds();
|
||||
if (mapIds.length > 0) {
|
||||
window.open('c/maps/' + mapIds[0] + '/print.htm');
|
||||
window.open('c/maps/' + mapIds[0] + '/print');
|
||||
}
|
||||
});
|
||||
|
||||
$("#infoBtn").click(function() {
|
||||
var mapIds = $('#mindmapListTable').dataTableExt.getSelectedMapsIds();
|
||||
if (mapIds.length > 0) {
|
||||
$('#info-dialog-modal .modal-body').load("c/maps/" + mapIds[0] + "/details.htm", function() {
|
||||
$('#info-dialog-modal .modal-body').load("c/maps/" + mapIds[0] + "/details", function() {
|
||||
$('#info-dialog-modal').modal();
|
||||
});
|
||||
|
||||
@@ -445,7 +445,7 @@ $(function() {
|
||||
$("#publishBtn").click(function() {
|
||||
var mapIds = $('#mindmapListTable').dataTableExt.getSelectedMapsIds();
|
||||
if (mapIds.length > 0) {
|
||||
$('#publish-dialog-modal .modal-body').load("c/maps/" + mapIds[0] + "/publish.htm",
|
||||
$('#publish-dialog-modal .modal-body').load("c/maps/" + mapIds[0] + "/publish",
|
||||
function() {
|
||||
$('#publish-dialog-modal .btn-accept').click(function() {
|
||||
submitDialogForm();
|
||||
@@ -455,6 +455,19 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$("#exportBtn").click(function() {
|
||||
var mapIds = $('#mindmapListTable').dataTableExt.getSelectedMapsIds();
|
||||
if (mapIds.length > 0) {
|
||||
$('#export-dialog-modal .modal-body').load("c/maps/" + mapIds[0] + "/export",
|
||||
function() {
|
||||
$('#export-dialog-modal .btn-accept').click(function() {
|
||||
submitDialogForm();
|
||||
});
|
||||
$('#export-dialog-modal').modal();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$("#actionButtons .shareMap").click(function() {
|
||||
});
|
||||
|
||||
|
@@ -13,14 +13,14 @@
|
||||
<div id="headerActions">
|
||||
<spring:message code="WELCOME"/>
|
||||
, ${principal.firstname}
|
||||
| <a href="${pageContext.request.contextPath}/c/mymaps.htm" title="<spring:message code="MY_WISEMAPS"/>">
|
||||
| <a href="${pageContext.request.contextPath}/c/maps/" title="<spring:message code="MY_WISEMAPS"/>">
|
||||
<spring:message code="MY_WISEMAPS"/>
|
||||
</a>
|
||||
| <a href="${pageContext.request.contextPath}/c/settings.htm" rel="moodalbox 400px 250px wizard"
|
||||
| <a href="${pageContext.request.contextPath}/c/settings" rel="moodalbox 400px 250px wizard"
|
||||
title="<spring:message code="SETTINGS_DETAIL"/>">
|
||||
<spring:message code="SETTINGS"/>
|
||||
</a>
|
||||
| <a href="${pageContext.request.contextPath}/c/logout.htm" title="<spring:message code="LOGOUT"/>">
|
||||
| <a href="${pageContext.request.contextPath}/c/logout" title="<spring:message code="LOGOUT"/>">
|
||||
<spring:message code="LOGOUT"/>
|
||||
</a>
|
||||
</div>
|
||||
@@ -28,7 +28,7 @@
|
||||
<c:when test="${param.removeSignin!=true}">
|
||||
<div id="signUpHeader">
|
||||
<spring:message code="ALREADY_A_MEMBER"/>
|
||||
<a href="${pageContext.request.contextPath}/c/login.htm" title="<spring:message code="SIGN_IN"/>">
|
||||
<a href="${pageContext.request.contextPath}/c/login" title="<spring:message code="SIGN_IN"/>">
|
||||
<spring:message code="SIGN_IN"/>
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -89,7 +89,7 @@
|
||||
<div id="mapContainer">
|
||||
<div id="mindplot"></div>
|
||||
<div id="embFooter">
|
||||
<a href="${pageContext.request.contextPath}/c/home.htm" target="new">
|
||||
<a href="${pageContext.request.contextPath}/c/home" target="new">
|
||||
<div id="logo"></div>
|
||||
</a>
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div id="embFooter">
|
||||
<a href="${pageContext.request.contextPath}/c/home.htm" target="new">
|
||||
<a href="${pageContext.request.contextPath}/c/home" target="new">
|
||||
<div id="logo"></div>
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn btn-primary"/>
|
||||
<input type="button" value="<spring:message code="CANCEL"/>" class="btn"
|
||||
onclick="window.location='<c:url value="c/mymaps.htm"/>'"/>
|
||||
onclick="window.location='<c:url value="c/maps/"/>'"/>
|
||||
</fieldset>
|
||||
</form:form>
|
||||
</div>
|
||||
@@ -27,7 +27,7 @@
|
||||
<spring:message code="NOT_READY_A_USER"/>
|
||||
</b>
|
||||
<spring:message code="NOT_READY_A_USER_MESSAGE"/>
|
||||
<a href="userRegistration.htm">
|
||||
<a href="userRegistration">
|
||||
<spring:message code="JOIN_NOW"/>
|
||||
</a>
|
||||
</div>
|
@@ -8,6 +8,6 @@
|
||||
<div class="installCFG">
|
||||
<spring:message code="INSTALL_CFG_REASON"/>
|
||||
<br/><br/>
|
||||
<a href="${pageContext.request.contextPath}/c/installCFG.htm?mapId=${mapId}"><spring:message code="INSTALL_CFG_CLICK_HERE"/></a>
|
||||
<a href="${pageContext.request.contextPath}/c/installCFG?mapId=${mapId}"><spring:message code="INSTALL_CFG_CLICK_HERE"/></a>
|
||||
</div>
|
||||
|
||||
|
@@ -9,15 +9,15 @@
|
||||
<c:when test="${principal != null}">
|
||||
<div id="headerActions">
|
||||
<spring:message code="WELCOME"/>, ${principal.firstname}
|
||||
| <span><a href="${pageContext.request.contextPath}/c/mymaps.htm"><spring:message code="MY_WISEMAPS"/></a></span>
|
||||
| <span><a href="${pageContext.request.contextPath}/c/settings.htm" title="<spring:message code="SETTINGS_DETAIL"/>"><spring:message code="SETTINGS"/></a></span>
|
||||
| <span><a href="${pageContext.request.contextPath}/c/logout.htm" title="<spring:message code="LOGOUT"/>"><spring:message code="LOGOUT"/></a></span>
|
||||
| <span><a href="${pageContext.request.contextPath}/c/maps/"><spring:message code="MY_WISEMAPS"/></a></span>
|
||||
| <span><a href="${pageContext.request.contextPath}/c/settings" title="<spring:message code="SETTINGS_DETAIL"/>"><spring:message code="SETTINGS"/></a></span>
|
||||
| <span><a href="${pageContext.request.contextPath}/c/logout" title="<spring:message code="LOGOUT"/>"><spring:message code="LOGOUT"/></a></span>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:when test="${param.removeSignin!=true}">
|
||||
<div id="headerActions">
|
||||
<spring:message code="ALREADY_A_MEMBER"/>
|
||||
<span><a href="${pageContext.request.contextPath}/c/login.htm" title="<spring:message code="SIGN_IN"/>">
|
||||
<span><a href="${pageContext.request.contextPath}/c/login" title="<spring:message code="SIGN_IN"/>">
|
||||
<spring:message code="SIGN_IN"/>
|
||||
</a></span>
|
||||
</div>
|
||||
@@ -40,12 +40,12 @@
|
||||
<div id="headerContent">
|
||||
<div id="headerButtons">
|
||||
<%--<div id="blogLink">--%>
|
||||
<%--<a href="${pageContext.request.contextPath}/c/blog.htm" title="<spring:message code="BLOG_TITLE"/>">--%>
|
||||
<%--<a href="${pageContext.request.contextPath}/c/blog" title="<spring:message code="BLOG_TITLE"/>">--%>
|
||||
<%--<spring:message code="BLOG"/>--%>
|
||||
<%--</a>--%>
|
||||
<%--</div>--%>
|
||||
</div>
|
||||
<a href="${pageContext.request.contextPath}/c/home.htm" title="Homepage">
|
||||
<a href="${pageContext.request.contextPath}/c/home" title="Homepage">
|
||||
<div id="headerLogo"> </div>
|
||||
</a>
|
||||
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<%
|
||||
response.sendRedirect(request.getContextPath() + "/c/mymaps.htm");
|
||||
response.sendRedirect(request.getContextPath() + "/c/maps/");
|
||||
%>
|
@@ -22,6 +22,6 @@
|
||||
CFInstall.check({
|
||||
mode: "inline",
|
||||
node:"prompt",
|
||||
destination:"${pageContext.request.contextPath}/c/editor.htm?mapId="+getURLParameter("mapId")
|
||||
destination:"${pageContext.request.contextPath}/c/editor?mapId="+getURLParameter("mapId")
|
||||
});
|
||||
</script>
|
@@ -45,14 +45,14 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
<a href="<c:url value="/c/forgotPassword.htm"/>"><spring:message code="FORGOT_PASSWORD"/></a>
|
||||
<a href="<c:url value="/c/forgotPassword"/>"><spring:message code="FORGOT_PASSWORD"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="register">
|
||||
<b><spring:message code="NOT_READY_A_USER"/></b>
|
||||
<spring:message code="NOT_READY_A_USER_MESSAGE"/>
|
||||
<a href="c/userRegistration.htm">
|
||||
<a href="c/userRegistration">
|
||||
<spring:message code="JOIN_NOW"/>
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<c:url value="mymaps.htm" var="shareMap">
|
||||
<c:url value="maps/" var="shareMap">
|
||||
<c:param name="action" value="removeCollaborator"/>
|
||||
<c:param name="userEmail" value="${pageContext.request.userPrincipal.name}"/>
|
||||
</c:url>
|
||||
<c:url value="sharing.htm" var="removeCollaborator">
|
||||
<c:url value="sharing" var="removeCollaborator">
|
||||
<c:param name="actionId" value="removeCollaborator"/>
|
||||
<c:param name="mapId" value="${mindmap.id}"/>
|
||||
</c:url>
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<div id="addCollaboratorPanel">
|
||||
<form method="post" name="sharingForm"
|
||||
action="${pageContext.request.contextPath}/c/sharing.htm?mapId=${mindmap.id}">
|
||||
action="${pageContext.request.contextPath}/c/sharing?mapId=${mindmap.id}">
|
||||
|
||||
<div id="userEmails">
|
||||
<h2>
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<h1>Mindmap Cooker</h1>
|
||||
|
||||
<div>
|
||||
<form action='<c:url value="/c/cooker.htm"/>' method="post">
|
||||
<form action='<c:url value="/c/cooker"/>' method="post">
|
||||
<input type="hidden" name="action" value="save"/>
|
||||
<input type="hidden" name="mapId" value="${mindmap.id}"/>
|
||||
<table>
|
||||
|
@@ -44,11 +44,11 @@
|
||||
|
||||
<li><strong><spring:message code="URL"/>:</strong>
|
||||
<li><input name="url"
|
||||
value="http://www.wisemapping.com/c/publicView.htm?mapId=${wisemapDetail.id}"
|
||||
value="http://www.wisemapping.com/c/publicView?mapId=${wisemapDetail.id}"
|
||||
style="width:400px" readonly="readonly"/>
|
||||
</li>
|
||||
<li><strong><spring:message code="BLOG_SNIPPET"/></strong>
|
||||
<pre><iframe style="border:0;width:600px;height:400px;border: 1px solid black" src="http://www.wisemapping.com/c/embeddedView.htm?mapId=${wisemapDetail.id}&amzoom=1"></iframe></pre>
|
||||
<pre><iframe style="border:0;width:600px;height:400px;border: 1px solid black" src="http://www.wisemapping.com/c/embeddedView?mapId=${wisemapDetail.id}&amzoom=1"></iframe></pre>
|
||||
</li>
|
||||
<li><spring:message code="EMBEDDED_MAP_SIZE"/></li>
|
||||
</ul>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<%--@elvariable id="mapXml" type="com.wisemapping.model.User"--%>
|
||||
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<c:url value="mymaps.htm" var="shareMap">
|
||||
<c:url value="maps/" var="shareMap">
|
||||
<c:param name="action" value="collaborator"/>
|
||||
<c:param name="userEmail" value="${pageContext.request.userPrincipal.name}"/>
|
||||
</c:url>
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
<div id="actionsContainer"></div>
|
||||
<div>
|
||||
<c:url value="mymaps.htm" var="shareMap">
|
||||
<c:url value="maps/" var="shareMap">
|
||||
<c:param name="action" value="collaborator"/>
|
||||
<c:param name="userEmail" value="${pageContext.request.userPrincipal.name}"/>
|
||||
</c:url>
|
||||
@@ -72,14 +72,14 @@
|
||||
<div id="headerActions">
|
||||
|
||||
<spring:message code="WELCOME"/>, ${principal.firstname}|<span><a
|
||||
href="${pageContext.request.contextPath}/c/mymaps.htm"><spring:message code="MY_WISEMAPS"/></a></span> |
|
||||
<span><a id="settings" href="${pageContext.request.contextPath}/c/settings.htm"
|
||||
href="${pageContext.request.contextPath}/c/maps/"><spring:message code="MY_WISEMAPS"/></a></span> |
|
||||
<span><a id="settings" href="${pageContext.request.contextPath}/c/settings"
|
||||
title="<spring:message code="SETTINGS_DETAIL"/>"><spring:message code="SETTINGS"/></a></span>
|
||||
| <span><a href="${pageContext.request.contextPath}/c/logout.htm" title="<spring:message code="LOGOUT"/>">
|
||||
| <span><a href="${pageContext.request.contextPath}/c/logout" title="<spring:message code="LOGOUT"/>">
|
||||
<spring:message code="LOGOUT"/>
|
||||
</a></span>
|
||||
</div>
|
||||
<a href="${pageContext.request.contextPath}/c/mymaps.htm">
|
||||
<a href="${pageContext.request.contextPath}/c/maps/">
|
||||
<div id="headerLogo"></div>
|
||||
</a>
|
||||
|
||||
|
@@ -1,125 +1,100 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<h1>
|
||||
<spring:message code="EXPORT"/>'${mindmap.title}'</h1>
|
||||
|
||||
<p>
|
||||
<spring:message code="EXPORT_DETAILS"/>
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<form method="POST" id="exportForm" name="exportForm" action="<c:url value="/service/transform"/>"
|
||||
style="height:100%;" enctype="application/x-www-form-urlencoded">
|
||||
<input name="svgXml" value="" type="hidden"/>
|
||||
<input name="mapXml" value="" type="hidden"/>
|
||||
<input name="filename" value="${mindmap.title}" type="hidden"/>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="svg" name="exportFormat" value="SVG"/>
|
||||
<label for="svg">
|
||||
<b>
|
||||
<spring:message code="SVG_EXPORT_FORMAT"/>
|
||||
</b>
|
||||
<form method="GET" class="form-horizontal" action="service/maps/${mindmap.id}"
|
||||
enctype="application/x-www-form-urlencoded" id="dialogMainForm">
|
||||
<input name="svgXml" id="svgXml" value="" type="hidden"/>
|
||||
<input name="download" type="hidden" value="mm"/>
|
||||
<fieldset>
|
||||
<label for="freemind">
|
||||
<input type="radio" id="freemind" name="exportFormat" value="mm" checked="checked"/>
|
||||
<strong><spring:message code="FREEMIND_EXPORT_FORMAT"/></strong><br/>
|
||||
<spring:message code="FREEMIND_EXPORT_FORMAT_DETAILS"/>
|
||||
</label>
|
||||
<label for="wisemapping">
|
||||
<input type="radio" id="wisemapping" name="exportFormat" value="wxml"/>
|
||||
<strong><spring:message code="WISEMAPPING_EXPORT_FORMAT"/></strong><br/>
|
||||
<spring:message code="WISEMAPPING_EXPORT_FORMAT_DETAILS"/>
|
||||
</label>
|
||||
<label for="svg">
|
||||
<input type="radio" id="svg" name="exportFormat" value="svg"/>
|
||||
<strong><spring:message code="SVG_EXPORT_FORMAT"/></strong><br/>
|
||||
<spring:message code="SVG_EXPORT_FORMAT_DETAILS"/>
|
||||
</label>
|
||||
|
||||
<p>
|
||||
<spring:message code="SVG_EXPORT_FORMAT_DETAILS"/>
|
||||
</p>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" name="exportFormat" value="PDF" id="pdf"/>
|
||||
<label for="pdf">
|
||||
<b>
|
||||
<spring:message code="PDF_EXPORT_FORMAT"/>
|
||||
</b>
|
||||
<label for="pdf">
|
||||
<input type="radio" name="exportFormat" value="pdf" id="pdf"/>
|
||||
<strong><spring:message code="PDF_EXPORT_FORMAT"/></strong><br/>
|
||||
<spring:message code="PDF_EXPORT_FORMAT_DETAILS"/>
|
||||
</label>
|
||||
|
||||
<p>
|
||||
<spring:message code="PDF_EXPORT_FORMAT_DETAILS"/>
|
||||
</p>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" id="freemind" name="exportFormat" value="FREEMIND" checked="checked"/>
|
||||
<label for="freemind">
|
||||
<b>
|
||||
<spring:message code="FREEMIND_EXPORT_FORMAT"/>
|
||||
</b>
|
||||
<label for="img">
|
||||
<input type="radio" name="exportFormat" id="img" value="image"/>
|
||||
<strong><spring:message code="IMG_EXPORT_FORMAT"/></strong><br/>
|
||||
<spring:message code="IMG_EXPORT_FORMAT_DETAILS"/>
|
||||
|
||||
<p>
|
||||
<spring:message code="FREEMIND_EXPORT_FORMAT_DETAILS"/>
|
||||
</p>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="radio" name="exportFormat" id="img" value="IMG_EXPORT_FORMAT"/>
|
||||
<b>
|
||||
<spring:message code="IMG_EXPORT_FORMAT"/>
|
||||
</b><select name="imgFormat" id="imgFormat" style="visibility:hidden;margin-left:5px;">
|
||||
<option>PNG</option>
|
||||
<option>JPEG</option>
|
||||
<select name="imgFormat" id="imgFormat" style="display:none">
|
||||
<option value='png'>PNG</option>
|
||||
<option value='jpeg'>JPEG</option>
|
||||
</select>
|
||||
<label for="img">
|
||||
<p>
|
||||
<spring:message code="IMG_EXPORT_FORMAT_DETAILS"/>
|
||||
</p>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center;margin-top:10px;">
|
||||
<input type="button" id="ok" value="<spring:message code="OK"/>" class="btn-primary">
|
||||
<input type="button" id="cancel" value="<spring:message code="CANCEL"/>" class="btn-secondary"
|
||||
onclick="MooDialog.Request.active.close()">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</label>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<p>
|
||||
<span class="alert alert-info" id="exportInfo"><i class="icon-info-sign"></i> <spring:message
|
||||
code="EXPORT_FORMAT_RESTRICTIONS"/></span>
|
||||
</p>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$('img').addEvent('click', function(event) {
|
||||
$('imgFormat').setStyle('visibility', 'visible');
|
||||
});
|
||||
$('pdf').addEvent('click', function(event) {
|
||||
$('imgFormat').setStyle('visibility', 'hidden');
|
||||
});
|
||||
$('svg').addEvent('click', function(event) {
|
||||
$('imgFormat').setStyle('visibility', 'hidden');
|
||||
});
|
||||
|
||||
$('ok').addEvent('click', function(event) {
|
||||
// No way to obtain map svg. Hide panels..
|
||||
if (window.location.pathname.indexOf('exportf') != -1) {
|
||||
$('#exportInfo').hide();
|
||||
$('#freemind,#pdf,#svg').click('click', function(event) {
|
||||
$('#imgFormat').hide();
|
||||
});
|
||||
|
||||
var form = $('exportForm');
|
||||
$('#img').click('click', function(event) {
|
||||
$('#imgFormat').show();
|
||||
});
|
||||
} else {
|
||||
$('#pdf,#svg,#img').parent().hide();
|
||||
}
|
||||
|
||||
function submitDialogForm() {
|
||||
// If the map is opened, use the latest model ...
|
||||
var formatType = $('#dialogMainForm input:checked').attr('value');
|
||||
var form = $('#dialogMainForm');
|
||||
|
||||
// Restore default ..
|
||||
form.attr('action', 'service/maps/${mindmap.id}.' + formatType);
|
||||
|
||||
if (formatType == 'image' || formatType == 'svg' || formatType == 'pdf') {
|
||||
|
||||
// Look for the selected format and append export suffix...
|
||||
if (formatType == 'image') {
|
||||
formatType = $('#dialogMainForm option:selected').attr('value');
|
||||
}
|
||||
// Change to transform url ...
|
||||
form.attr('method', "POST");
|
||||
form.attr('action', 'service/transform.' + formatType);
|
||||
|
||||
// Load page SVG ...
|
||||
var svg = window.parent.document.getElementById('workspaceContainer').innerHTML;
|
||||
$('#svgXml').attr('value', svg);
|
||||
|
||||
// Look for the selected format and append export suffix...
|
||||
var value = $$('input[name=exportFormat]:checked')[0].get('value');
|
||||
var suffix;
|
||||
if (value == 'IMG_EXPORT_FORMAT') {
|
||||
var selected = $('imgFormat');
|
||||
suffix = selected.options[selected.selectedIndex].value;
|
||||
} else {
|
||||
suffix = value;
|
||||
}
|
||||
suffix = suffix.toLowerCase();
|
||||
form.action = form.action + "." + suffix;
|
||||
|
||||
// Store SVG o native map...
|
||||
if (suffix == "freemind") {
|
||||
var mindmap = designer.getMindmap();
|
||||
var serializer = mindplot.persistence.XMLSerializerFactory.getSerializerFromMindmap(mindmap);
|
||||
var domMap = serializer.toXML(mindmap);
|
||||
form.mapXml.value = core.Utils.innerXML(domMap);
|
||||
} else {
|
||||
form.svgXml.value = $("workspaceContainer").innerHTML;
|
||||
}
|
||||
|
||||
// Finally, submit map ...
|
||||
$('#dialogMainForm input[name=download]').attr('value', formatType);
|
||||
form.submit();
|
||||
MooDialog.Request.active.close();
|
||||
});
|
||||
|
||||
// Close dialog ...
|
||||
$('#export-dialog-modal').modal('hide');
|
||||
}
|
||||
|
||||
</script>
|
@@ -58,7 +58,7 @@
|
||||
%>
|
||||
</tbody>
|
||||
</table>
|
||||
<form name="revertForm" action="<c:url value="history.htm"/>">
|
||||
<form name="revertForm" action="<c:url value="history"/>">
|
||||
<input type="hidden" name="action" value="revert"/>
|
||||
<%
|
||||
if (request.getAttribute("goToMindmapList") != null)
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
<input type="submit" value="<spring:message code="IMPORT"/>" class="btn btn-primary"/>
|
||||
<input type="button" value="<spring:message code="CANCEL"/>" class="btn"
|
||||
onclick="window.location='/c/mymaps.htm'">
|
||||
onclick="window.location='/c/maps/'">
|
||||
|
||||
</form:form>
|
||||
</div>
|
||||
|
@@ -37,15 +37,14 @@
|
||||
|
||||
<div style="min-height: 500px">
|
||||
|
||||
<div id="messagesPanel" class="alert alert-error alert-block fade in hide" style="margin-top: 10px">
|
||||
<strong><spring:message code="UNEXPECTED_ERROR"/></strong>
|
||||
|
||||
<p><spring:message code="UNEXPECTED_ERROR_SERVER_ERROR"/></p>
|
||||
|
||||
<div></div>
|
||||
</div>
|
||||
|
||||
<div id="mindmapListContainer">
|
||||
<div id="messagesPanel" class="alert alert-error alert-block fade in hide" style="margin-top: 10px">
|
||||
<strong><spring:message code="UNEXPECTED_ERROR"/></strong>
|
||||
<p><spring:message code="UNEXPECTED_ERROR_SERVER_ERROR"/></p>
|
||||
|
||||
<div></div>
|
||||
</div>
|
||||
|
||||
<div id="foldersContainer">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header">Filters</li>
|
||||
@@ -84,10 +83,12 @@
|
||||
<li id="duplicateBtn"><a href="#" onclick="return false"><i class="icon-plus-sign"></i>
|
||||
Duplicate</a></li>
|
||||
<li id="renameBtn"><a href="#" onclick="return false"><i class="icon-edit"></i> Rename</a></li>
|
||||
<li id="printBtn"><a href="#" onclick="return false"><i class="icon-print"></i> Print</a></li>
|
||||
<li id="publishBtn"><a href="#" onclick="return false"><i class="icon-globe"></i> Publish</a>
|
||||
</li>
|
||||
<li id="shareBtn"><a href="#" onclick="return false"><i class="icon-share"></i> Share</a></li>
|
||||
<li id="exportBtn"><a href="#" onclick="return false"><i class="icon-download"></i> Export</a>
|
||||
</li>
|
||||
<li id="printBtn"><a href="#" onclick="return false"><i class="icon-print"></i> Print</a></li>
|
||||
<li id="historyBtn"><a href="#" onclick="return false"><i class="icon-time"></i> History</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -247,6 +248,22 @@
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Export Dialog Config -->
|
||||
<div id="export-dialog-modal" class="modal fade" style="display: none">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Export</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Exporting...">Export</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -114,7 +114,7 @@
|
||||
<div id="printLogo"></div>
|
||||
|
||||
<div id="embFooter">
|
||||
<a href="${pageContext.request.contextPath}/c/home.htm" target="new">
|
||||
<a href="${pageContext.request.contextPath}/c/home" target="new">
|
||||
<div id="footerLogo"></div>
|
||||
</a>
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
</h1>
|
||||
|
||||
|
||||
<c:url value="embeddedView.htm?mapId=${mindmap.id}&fullView=true"
|
||||
<c:url value="embeddedView?mapId=${mindmap.id}&fullView=true"
|
||||
var="embeddedUrl"/>
|
||||
|
||||
|
||||
|
@@ -45,12 +45,12 @@
|
||||
</div>
|
||||
<label><spring:message code="BLOG_SNIPPET"/></label>
|
||||
<pre id="embedCode"><iframe style="width:600px;height:400px;border: 1px
|
||||
solid black" src="http://www.wisemapping.com/c/embeddedView.htm?mapId=${mindmap.id}&zoom=1"> </iframe></pre>
|
||||
solid black" src="http://www.wisemapping.com/c/embeddedView?mapId=${mindmap.id}&zoom=1"> </iframe></pre>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="publicUrlTab">
|
||||
<spring:message code="URL"/>:
|
||||
<input name="url" value="http://www.wisemapping.com/c/publicView.htm?mapId=${mindmap.id}"
|
||||
<input name="url" value="http://www.wisemapping.com/c/publicView?mapId=${mindmap.id}"
|
||||
style="width:400px"
|
||||
readonly="readonly"/>
|
||||
</div>
|
||||
|
@@ -1,36 +0,0 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<div>
|
||||
<form:form method="post" commandName="renameMap">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="formLabel">
|
||||
<span class="fieldRequired">*</span>
|
||||
<spring:message code="NAME"/>
|
||||
:
|
||||
</td>
|
||||
<td>
|
||||
<form:input path="title" id="title" tabindex="1"/>
|
||||
<form:errors path="title" cssClass="errorMsg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel">
|
||||
<spring:message code="DESCRIPTION"/>
|
||||
:
|
||||
</td>
|
||||
<td>
|
||||
<form:input path="description" id="description" tabindex="2"/>
|
||||
<form:errors path="description" cssClass="errorMsg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn-primary">
|
||||
<input type="button" value="<spring:message code="CANCEL"/>" class="btn-primary"
|
||||
onclick="MOOdalBox.close();">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form:form>
|
||||
</div>
|
39
wise-webapp/src/main/webapp/jsp/mindmapShare.jsp
Normal file
39
wise-webapp/src/main/webapp/jsp/mindmapShare.jsp
Normal file
@@ -0,0 +1,39 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<style type="text/css">
|
||||
#sharingContainer {
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
overflow: scroll;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Who has access</p>
|
||||
|
||||
<div id="sharingContainer">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Email</td>
|
||||
<td><a href="">Action</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<form method="post" id="dialogMainForm" action="#" class="well form-inline">
|
||||
<label for="collabEmails" class="control-label">Add People:
|
||||
<input type="text" id="collabEmails" name="collabEmail" placeholder="Enter collaborators emails separared by comas."/>
|
||||
</label>
|
||||
</form>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// Hook for interaction with the main parent window ...
|
||||
var submitDialogForm = function() {
|
||||
$('#dialogMainForm').submit();
|
||||
}
|
||||
</script>
|
||||
|
@@ -1,36 +0,0 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<h1><spring:message code="TAG"/>'${tag.mindmapTitle}'</h1>
|
||||
|
||||
<h2>
|
||||
<spring:message code="TAGS_MSG"/>
|
||||
</h2>
|
||||
|
||||
<div>
|
||||
<form:form method="post" commandName="tag">
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="formLabel"> </td>
|
||||
<td>
|
||||
<form:input path="mindmapTags" id="mindmapTags" tabindex="0"/>
|
||||
<form:errors path="mindmapTags" cssClass="errorMsg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td style="padding: 5px">
|
||||
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn-primary">
|
||||
<input type="button" value="<spring:message code="CANCEL"/>" class="btn-secondary" id="cancelBtn">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form:form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('cancelBtn').addEvent('click', function(event) {
|
||||
MooDialog.Request.active.close();
|
||||
});
|
||||
</script>
|
@@ -25,7 +25,7 @@
|
||||
<div>${mindmap.description}</div>
|
||||
<div>${mindmap.userRole}</div>
|
||||
|
||||
<form method="post" action="<c:url value="sharing.htm"/>">
|
||||
<form method="post" action="<c:url value="sharing"/>">
|
||||
<input type="hidden" name="action" value="addViewer"/>
|
||||
<input type="hidden" name="mapId" value="${mindmap.id}"/>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<textarea name="userEmails" id="viewers" tabindex="1" cols="50" rows="5"></textarea><br/>
|
||||
<input type="submit" value="<spring:message code="ADD"/>">
|
||||
<input type="button" value="<spring:message code="CANCEL"/>"
|
||||
onclick="window.location='<c:url value="mymaps.htm"/>'">
|
||||
onclick="window.location='<c:url value="maps/"/>'">
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
@@ -77,7 +77,7 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form name="removeViewerForm" action="<c:url value="sharing.htm"/>">
|
||||
<form name="removeViewerForm" action="<c:url value="sharing"/>">
|
||||
<input type="hidden" name="action" value="removeViewer"/>
|
||||
<input type="hidden" name="mapId" value="${mindmap.id}"/>
|
||||
<input type="hidden" name="userEmail" value=""/>
|
||||
|
@@ -2,13 +2,13 @@
|
||||
<div>
|
||||
<ul>
|
||||
<li><a rel="moodalbox 400px 200px wizard"
|
||||
href="<c:out value="${pageContext.request.contextPath}/c/changePassword.htm"/>"
|
||||
href="<c:out value="${pageContext.request.contextPath}/c/changePassword"/>"
|
||||
title="<spring:message code="CHANGE_PASSWORD"/>">
|
||||
<spring:message code="CHANGE_PASSWORD"/>
|
||||
</a>
|
||||
</li>
|
||||
<li><a rel="moodalbox 400px 250px wizard"
|
||||
href="<c:out value="${pageContext.request.contextPath}/c/editProfile.htm"/>"
|
||||
href="<c:out value="${pageContext.request.contextPath}/c/editProfile"/>"
|
||||
title="<spring:message code="EDIT_PROFILE"/>">
|
||||
<spring:message code="EDIT_PROFILE"/>
|
||||
</a>
|
||||
|
@@ -42,7 +42,7 @@
|
||||
<div>
|
||||
<p>
|
||||
<spring:message code="TERM_OF_THE_SERVICE"/>
|
||||
<spring:message code="WISEMAPPING_ACCOUNT_MESSAGE"/> <a href="termsOfUse.htm"><spring:message
|
||||
<spring:message code="WISEMAPPING_ACCOUNT_MESSAGE"/> <a href="c/termsOfUse"><spring:message
|
||||
code="HERE"/></a>
|
||||
<spring:message code="REGISTRATION_CLICK_ADVICE"/>
|
||||
</p>
|
||||
@@ -51,7 +51,7 @@
|
||||
<input type="submit" value="<spring:message code="REGISTER" />" id="submitButton"
|
||||
class="btn btn-primary">
|
||||
<input type="button" value="<spring:message code="CANCEL"/>"
|
||||
onclick="window.location='<c:url value="mymaps.htm"/>'" class="btn">
|
||||
onclick="window.location='c/<c:url value="maps/"/>'" class="btn">
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
</c:if>
|
||||
<c:if test="${confirmByEmail==false}">
|
||||
<p>
|
||||
Your account has been created successfully, click <a href="login.htm">here</a> to sign in and start enjoying WiseMapping.
|
||||
Your account has been created successfully, click <a href="c/login">here</a> to sign in and start enjoying WiseMapping.
|
||||
</p>
|
||||
</c:if>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user