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

64 lines
3.2 KiB
Plaintext
Raw Normal View History

2009-06-07 20:59:43 +02:00
<%@ include file="/jsp/init.jsp" %>
<%--@elvariable id="wisemapDetail" type="com.wisemapping.view.MindMapBean"--%>
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>
<li><a href="#collaborators" data-toggle="pill">Collaborators</a></li>
<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">
<li><strong><spring:message code="NAME"/>:</strong> ${wisemapDetail.title}</li>
<li><strong><spring:message code="DESCRIPTION"/>:</strong> ${wisemapDetail.description}</li>
<li><strong><spring:message code="OWNER"/>:</strong> ${wisemapDetail.creationUser}</li>
<li><strong><spring:message code="CREATION_TIME"/>:</strong> ${wisemapDetail.creationTime}</li>
<li><strong><spring:message code="LAST_UPDATE"/>:</strong> ${wisemapDetail.lastEditTime}</li>
<li><strong><spring:message code="LAST_UPDATE_BY"/>:</strong> ${wisemapDetail.lastEditor}</li>
<li><strong> <spring:message code="STARRED"/>:</strong> ${wisemapDetail.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
code="EDITORS"/>(${wisemapDetail.countColaborators}): </strong>
<c:forEach items="${wisemapDetail.collaborators}" var="mindmapCollaborator">
${mindmapCollaborator.username}
</c:forEach>
</li>
<li><strong><spring:message code="VIEWERS"/>(${wisemapDetail.countViewers}): </strong>
<c:forEach items="${wisemapDetail.viewers}" var="mindmapViewer">
${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>
<c:when test="${wisemapDetail.public}">
<ul class="unstyled">
<p><spring:message code="ALL_VIEW_PUBLIC"/></p>
<li><strong><spring:message code="URL"/>:</strong>
<li><input name="url"
value="http://www.wisemapping.com/c/publicView?mapId=${wisemapDetail.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>
<pre>&lt;iframe style="border:0;width:600px;height:400px;border: 1px solid black" src="http://www.wisemapping.com/c/embeddedView?mapId=${wisemapDetail.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>