Add account information render

This commit is contained in:
Paulo Gustavo Veiga 2022-01-07 17:47:53 -08:00
parent 965c65e793
commit 761b2e5ee0
3 changed files with 83 additions and 83 deletions

View File

@ -25,12 +25,11 @@ div#mapName >span {
font-weight: bold;
}
div#back {
background: url(../../images/editor/back-icon.svg) no-repeat center center;
height: 40px;
width: 80px;
div#backToList {
height: 24px;
width: 24px;
float: left;
margin: 6px 0px;
margin: 13px 20px;
}
/******************************************************************************************/

View File

@ -30,6 +30,8 @@
var mindmapLockedMsg = '<spring:message code="MINDMAP_LOCKED" arguments="${lockInfo.user.fullName},${lockInfo.user.email}"/>';
var userOptions = ${mindmap.properties};
var isAuth = ${principal != null};
var accountName = '${principal.fullName}';
var accountEmail = '${principal.email}';
</script>
<%@ include file="/jsp/googleAnalytics.jsf" %>
</head>

View File

@ -1,8 +1,9 @@
<%--@elvariable id="mindmap" type="com.wisemapping.model.Mindmap"--%>
<div id="toolbar">
<a href="/c/maps/"><div id="back"></div></a>
<div id="editTab" class="tabContent">
<div id="backToList">
<img src="../../images/editor/back-icon.svg" />
</div> <div id="editTab" class="tabContent">
<div id="persist" class="buttonContainer">
<c:if test="${!readOnlyMode}">
<div id="save" class="buttonOn">
@ -70,13 +71,9 @@
</div>
</div>
<div id="separator" class="buttonContainer"></div>
</c:if>
</div>
<div id="toolbarRight">
<div id="account">
<img src="../../images/editor/account.svg"/>
</div>
<div id="share" class="actionButton">Share</div>
<div id="export" class="buttonOn">
<img src="../../images/editor/export.svg" />
@ -87,5 +84,7 @@
<div id="history" class="buttonOn">
<img src="../../images/editor/history.svg" />
</div>
<div id="account">
<img src="../../images/editor/account.svg"/>
</div>
</div>