diff --git a/wise-webapp/src/main/resources/messages_en.properties b/wise-webapp/src/main/resources/messages_en.properties index 68543832..102f5b2d 100644 --- a/wise-webapp/src/main/resources/messages_en.properties +++ b/wise-webapp/src/main/resources/messages_en.properties @@ -72,6 +72,7 @@ SHARED=Shared ONLY_VIEW_PRIVATE = This mindmap can be viewed by you only. ALL_VIEW_PUBLIC = This mindmap can be viewed by any user. NEW_MAP_MSG=Create a new map +NEW_LABEL_MSG=Create a new label PUBLISH=Publish PUBLISH_DETAILS=By publishing the map you make it visible to everyone on the Internet. ACCOUNT_DETAIL=Do you want to change you user options?. Here is the place. @@ -134,16 +135,20 @@ LANGUAGE=Language FILTERS=Filter MORE=More ADD_NEW_MAP=Add New Map +ADD_NEW_LABEL=Add New Label IMPORTING=Importing ... NEW=New -NEW_MAP=New Map -NEW_FOLDER=New Folder +NEW_MAP=Map +NEW_LABEL=Label MIND_FILE=File +PARENT_LABEL=Nest label under +SELECT_LABEL=Please select a parent label NO_SEARCH_RESULT=No mindmap available for the selected filter criteria SEARCH=Search GENERAL=General SECURITY=Security MAP_NAME_HINT=Name of the new map to create +LABEL_NAME_HINT=Name of the new label to create MAP_DESCRIPTION_HINT=Some description for your map WARNING=Warning DELETE_MAPS_WARNING=Deleted mindmap can not be recovered. Do you want to continue ?. diff --git a/wise-webapp/src/main/webapp/js/mindmapList.js b/wise-webapp/src/main/webapp/js/mindmapList.js index ef079694..a7bedbee 100644 --- a/wise-webapp/src/main/webapp/js/mindmapList.js +++ b/wise-webapp/src/main/webapp/js/mindmapList.js @@ -252,12 +252,15 @@ $(function () { redirect:"c/maps/{header.resourceId}/edit", url:"c/restful/maps" }); - }); + } + ); - //Eze todo hoy esta creando un dialog de mapa $("#newFolderBtn").click( - function() { - window.alert('falta crear el dialog de folder') + function () { + $("#new-folder-dialog-modal").dialogForm({ + //redirect:"c/maps/{header.resourceId}/edit", + //url:"c/restful/maps" + }); } ); @@ -395,6 +398,16 @@ $(function () { dataTable.fnReloadAjax("c/restful/maps/?q=" + $(this).attr('data-filter'), callbackOnTableInit, true); event.preventDefault(); }); + + $("#parentLblCheckbox").click( + function () { + if ($(this).is(":checked")) { + $("#dropdownLabel").prop("disabled", false); + } else { + $("#dropdownLabel").prop("disabled", true); + } + } + ) }); // Register time update functions .... diff --git a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp index 3f00b4ca..ec0ca084 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp @@ -177,8 +177,8 @@
  • - - + +
  • @@ -284,6 +284,43 @@ + +
    " class="modal fade"> + + + +
    +