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

70 lines
3.4 KiB
Plaintext
Raw Normal View History

2012-06-30 07:26:21 +02:00
<%@page pageEncoding="UTF-8" %>
<%@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">
2012-07-15 05:57:44 +02:00
<li class="active"><a href="#general" data-toggle="pill"><spring:message code="DESCRIPTION"/></a></li>
2012-06-30 19:20:09 +02:00
<li><a href="#collaborators" data-toggle="pill"><spring:message code="SHARED"/></a></li>
<li><a href="#publish" data-toggle="pill"><spring:message code="PUBLIC"/></a></li>
2012-05-20 07:25:54 +02:00
</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>
2012-07-15 05:57:44 +02:00
<li><strong><spring:message code="CREATOR"/>:</strong> ${mindmap.creator.fullName}</li>
2012-06-17 07:51:01 +02:00
<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">
2012-06-18 03:48:33 +02:00
<li>
<strong><spring:message code="YOUR_ROLE"/></strong>: ${mindmap.role}
2012-05-20 07:25:54 +02:00
</li>
2012-06-18 03:48:33 +02:00
<c:if test="${mindmap.owner}">
<li><strong><spring:message
code="EDITORS"/>(${mindmap.countCollaborators}): </strong>
<c:forEach items="${mindmap.collaborators}" var="mindmapCollaborator">
${mindmapCollaborator.username}
</c:forEach>
</li>
<li><strong><spring:message code="VIEWERS"/>(${mindmap.countViewers}): </strong>
<c:forEach items="${mindmap.viewers}" var="mindmapViewer">
${mindmapViewer.username}
</c:forEach>
</li>
</c:if>
2012-05-20 07:25:54 +02:00
</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-20 18:28:45 +02:00
value="${baseUrl}/c/maps/${mindmap.id}/public"
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-20 18:28:45 +02:00
<pre>&lt;iframe style="border:0;width:600px;height:400px;border: 1px solid black" src="${baseUrl}/c/maps/${mindmap.id}/embed?zoom=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>