Fix Try action support

This commit is contained in:
Paulo Gustavo Veiga 2022-01-10 16:22:24 -08:00
parent 3bac526593
commit 86b83807f4
7 changed files with 65 additions and 39 deletions

View File

@ -386,13 +386,13 @@ EARPHONE=Earphone
PHONE-ALT=Phone PHONE-ALT=Phone
TOWER=Tower TOWER=Tower
STATS=Stats STATS=Stats
COPYRIGTH-MARK=Copyright
REGISTRATION-MARK=Registration Mark REGISTRATION-MARK=Registration Mark
# Confirmed # Confirmed
RESET_PASSWORD_INVALID_EMAIL=The email provided is not a valid user account. Please, try again with an valid email. RESET_PASSWORD_INVALID_EMAIL=The email provided is not a valid user account. Please, try again with an valid email.
TRY_WELCOME=This edition space showcases some of the mindmap editor capabilities !.
TRY_WELCOME_DESC=Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free.

View File

@ -142,7 +142,7 @@ div#bottom-logo {
position: fixed; position: fixed;
left: 20px; left: 20px;
bottom: 10px; bottom: 10px;
background: url(../images/logo-text-black.svg) no-repeat; background: url(../../images/editor/logo-text-black.svg) no-repeat;
width: 90px; width: 90px;
height: 40px; height: 40px;
} }
@ -213,4 +213,24 @@ div#shotcuts > img{
#keyboardTable th { #keyboardTable th {
background-color: #000000; background-color: #000000;
color: #ffffff; color: #ffffff;
}
div#tryInfoPanel {
position: absolute;
margin: auto;
text-align: center;
top: 80px;
right: 20px;
width: 200px;
height: 300px;
padding: 20px;
font-size: 15px;
border-radius: 9px;
background-color: white;
border: solid 2px #ffa800;
}
#tryInfoPanel > p {
justify-content: center;
padding-bottom: 20px;
} }

View File

@ -39,6 +39,7 @@ div#toolbarRight {
margin: 6px 10px; margin: 6px 10px;
height: 100%; height: 100%;
} }
#account { #account {
float: right; float: right;
display: inline; display: inline;
@ -55,12 +56,11 @@ div#toolbarRight {
#share { #share {
margin: 0 30px; margin: 0 30px;
float: right;
} }
.actionButton { .actionButton {
float: right;
cursor: pointer; cursor: pointer;
margin: 0px 10px;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
user-select: none; user-select: none;
vertical-align: middle; vertical-align: middle;

View File

@ -127,8 +127,6 @@ div#exportAnchor {
background-color: #000000; background-color: #000000;
padding: 5px 5px; padding: 5px 5px;
color: #f5f5f5; color: #f5f5f5;
/*font-weight: bold;*/
/*width: 100px;*/
font-size: 11px; font-size: 11px;
} }
@ -162,11 +160,7 @@ div.toolbarPanelLinkSelectedLink {
background-color: rgb(228, 226, 210); background-color: rgb(228, 226, 210);
padding: 5px 5px; padding: 5px 5px;
color: #f5f5f5; color: #f5f5f5;
/*font-weight: bold;*/
/*width: 100px;*/
font-size: 11px; font-size: 11px;
-moz-border-radius: 60px;
-webkit-border-radius: 6px;
border-radius: 6px; border-radius: 6px;
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
border: 3px double rgb(190, 190, 190); border: 3px double rgb(190, 190, 190);

View File

@ -28,3 +28,8 @@ div#mapDetails .title {
margin-right: 3px; margin-right: 3px;
} }
div#mindplot {
top: 0;
}

View File

@ -61,8 +61,17 @@
</button> </button>
</div> </div>
</div> </div>
<div id="bottom-logo"></div> <div id="bottom-logo"></div>
<div id="headerNotifier"></div> <div id="headerNotifier"></div>
<%-- Try message dialog --%>
<c:if test="${memoryPersistence}">
<div id="tryInfoPanel">
<p><spring:message code="TRY_WELCOME"/></p>
<p><b><spring:message code="TRY_WELCOME_DESC"/></b></p>
<a href="/c/registration"><div class="actionButton"><spring:message code="SIGN_UP"/></div></a>
</div>
</c:if>
<script src="loader.js"></script> <script src="loader.js"></script>

View File

@ -3,14 +3,14 @@
<div id="toolbar"> <div id="toolbar">
<div id="backToList"> <div id="backToList">
<img src="../../images/editor/back-icon.svg" /> <img src="../../images/editor/back-icon.svg" />
</div> <div id="editTab" class="tabContent"> </div>
<div id="persist" class="buttonContainer"> <c:if test="${!memoryPersistence}">
<c:if test="${!readOnlyMode}"> <div id="persist" class="buttonContainer">
<div id="save" class="buttonOn"> <div id="save" class="buttonOn">
<img src="../../images/editor/save.svg"/> <img src="../../images/editor/save.svg"/>
</div> </div>
</c:if> </div>
</div> </c:if>
<c:if test="${!readOnlyMode}"> <c:if test="${!readOnlyMode}">
<div id="edit" class="buttonContainer"> <div id="edit" class="buttonContainer">
<div id="undoEdition" class="buttonOn"> <div id="undoEdition" class="buttonOn">
@ -20,8 +20,6 @@
<img src="../../images/editor/redo.svg"/> <img src="../../images/editor/redo.svg"/>
</div> </div>
</div> </div>
</c:if>
<c:if test="${!readOnlyMode}">
<div id="nodeStyle" class="buttonContainer"> <div id="nodeStyle" class="buttonContainer">
<div id="addTopic" class="buttonOn"> <div id="addTopic" class="buttonOn">
<img src="../../images/editor/topic-add.svg"/> <img src="../../images/editor/topic-add.svg"/>
@ -73,25 +71,25 @@
<div id="separator" class="buttonContainer"></div> <div id="separator" class="buttonContainer"></div>
</c:if> </c:if>
</div> </div>
<div id="toolbarRight"> <c:if test="${!memoryPersistence}">
<div id="export" class="buttonOn"> <div id="toolbarRight">
<img src="../../images/editor/export.svg" /> <div id="export" class="buttonOn">
<img src="../../images/editor/export.svg" />
</div>
<div id="publishIt" class="buttonOn">
<img src="../../images/editor/public.svg" />
</div>
<div id="history" class="buttonOn">
<img src="../../images/editor/history.svg" />
</div>
<div id="print" class="buttonOn">
<img src="../../images/editor/print.svg" />
</div>
<div id="account">
<img src="../../images/editor/account.svg"/>
</div>
<div id="share" class="actionButton">
<spring:message code="SHARE"/>
</div>
</div> </div>
</c:if>
<div id="publishIt" class="buttonOn">
<img src="../../images/editor/public.svg" />
</div>
<div id="history" class="buttonOn">
<img src="../../images/editor/history.svg" />
</div>
<div id="print" class="buttonOn">
<img src="../../images/editor/print.svg" />
</div>
<div id="account">
<img src="../../images/editor/account.svg"/>
</div>
<div id="share" class="actionButton">
Share
</div>
</div>
</div>