wisemapping-open-source/wise-webapp/src/main/webapp/jsp/mindmapDetail.jsp

64 lines
3.1 KiB
Plaintext
Raw Normal View History

2009-06-07 20:59:43 +02:00
<%@ include file="/jsp/init.jsp" %>
2012-06-17 07:51:01 +02:00
<%--@elvariable id="mindmap" type="com.wisemapping.view.MindMapBean"--%>
2009-06-07 20:59:43 +02:00
2012-05-20 07:25:54 +02:00
<div>
<ul class="nav nav-tabs">
<li class="active"><a href="#general" data-toggle="pill">General</a></li>
2012-06-12 16:23:47 +02:00
<li><a href="#collaborators" data-toggle="pill">Shared</a></li>
2012-05-20 07:25:54 +02:00
<li><a href="#publish" data-toggle="pill">Publish</a></li>
</ul>
2009-06-07 20:59:43 +02:00
2012-05-20 07:25:54 +02:00
<div class="tab-content">
<div class="tab-pane fade active in" id="general">
<ul class="unstyled">
2012-06-17 07:51:01 +02:00
<li><strong><spring:message code="NAME"/>:</strong> ${mindmap.title}</li>
<li><strong><spring:message code="DESCRIPTION"/>:</strong> ${mindmap.description}</li>
<li><strong><spring:message code="CREATOR"/>:</strong> ${mindmap.creator.username}</li>
<li><strong><spring:message code="CREATION_TIME"/>:</strong> ${mindmap.creationTime}</li>
<li><strong><spring:message code="LAST_UPDATE"/>:</strong> ${mindmap.lastEditTime}</li>
<li><strong><spring:message code="LAST_UPDATE_BY"/>:</strong> ${mindmap.lastEditor}</li>
<li><strong> <spring:message code="STARRED"/>:</strong> ${mindmap.starred}</li>
2012-05-20 07:25:54 +02:00
</ul>
</div>
<div class="tab-pane fade" id="collaborators">
<ul class="unstyled">
<li><strong><spring:message
2012-06-17 07:51:01 +02:00
code="EDITORS"/>(${mindmap.countCollaborators}): </strong>
<c:forEach items="${mindmap.collaborators}" var="mindmapCollaborator">
2012-05-20 07:25:54 +02:00
${mindmapCollaborator.username}
</c:forEach>
</li>
2012-06-17 07:51:01 +02:00
<li><strong><spring:message code="VIEWERS"/>(${mindmap.countViewers}): </strong>
<c:forEach items="${mindmap.viewers}" var="mindmapViewer">
2012-05-20 07:25:54 +02:00
${mindmapViewer.username}
</c:forEach>
</li>
</ul>
2009-06-07 20:59:43 +02:00
</div>
2012-05-20 07:25:54 +02:00
<div class="tab-pane fade" id="publish">
2012-05-21 02:46:55 +02:00
<c:choose>
2012-06-17 07:51:01 +02:00
<c:when test="${mindmap.public}">
2012-05-21 02:46:55 +02:00
<ul class="unstyled">
<p><spring:message code="ALL_VIEW_PUBLIC"/></p>
<li><strong><spring:message code="URL"/>:</strong>
<li><input name="url"
2012-06-17 07:51:01 +02:00
value="http://www.wisemapping.com/c/publicView?mapId=${mindmap.id}"
2012-05-20 07:25:54 +02:00
style="width:400px" readonly="readonly"/>
</li>
2012-05-21 02:46:55 +02:00
<li><strong><spring:message code="BLOG_SNIPPET"/></strong>
2012-06-17 07:51:01 +02:00
<pre>&lt;iframe style="border:0;width:600px;height:400px;border: 1px solid black" src="http://www.wisemapping.com/c/embeddedView?mapId=${mindmap.id}&amp;amzoom=1"&gt;&lt;/iframe&gt;</pre>
2012-05-20 07:25:54 +02:00
</li>
<li><spring:message code="EMBEDDED_MAP_SIZE"/></li>
2012-05-21 02:46:55 +02:00
</ul>
</c:when>
<c:otherwise>
<p><spring:message code="ONLY_VIEW_PRIVATE"/></p>
</c:otherwise>
</c:choose>
2012-05-20 07:25:54 +02:00
</div>
</div>
2009-06-07 20:59:43 +02:00
</div>