code indendt

This commit is contained in:
Ezequiel Bergamaschi 2014-02-11 00:48:48 -03:00
parent ae71b1331f
commit 60d75b6f2d

View File

@ -92,8 +92,9 @@
// Customize search action ... // Customize search action ...
$('#mindmapListTable_filter').appendTo("#tableActions"); $('#mindmapListTable_filter').appendTo("#tableActions");
$('#mindmapListTable_filter input').addClass('input-small search-query form-control'); var input = $('#mindmapListTable_filter input');
$('#mindmapListTable_filter input').attr('placeholder', 'Search'); input.addClass('input-small search-query form-control');
input.attr('placeholder', 'Search');
$("#mindmapListTable_info").appendTo("#pageInfo"); $("#mindmapListTable_info").appendTo("#pageInfo");
// Re-arrange pagination actions ... // Re-arrange pagination actions ...
@ -102,9 +103,11 @@
$('#mindmapListTable_length select').attr("style", "width:60px;"); $('#mindmapListTable_length select').attr("style", "width:60px;");
$('input:checkbox[id="selectAll"]').click(function () { $('input:checkbox[id="selectAll"]').click(
function () {
$("#mindmapListTable").dataTableExt.selectAllMaps(); $("#mindmapListTable").dataTableExt.selectAllMaps();
}); }
);
// Hack for changing the pagination buttons ... // Hack for changing the pagination buttons ...
$('#nPageBtn').click(function () { $('#nPageBtn').click(function () {
@ -117,12 +120,12 @@
</script> </script>
</head> </head>
<body> <body>
<jsp:include page="header.jsp"> <jsp:include page="header.jsp">
<jsp:param name="removeSignin" value="false"/> <jsp:param name="removeSignin" value="false"/>
<jsp:param name="showLogout" value="true"/> <jsp:param name="showLogout" value="true"/>
</jsp:include> </jsp:include>
<div class="container"> <div class="container">
<div class="row hide" id="messagesPanel" style="margin-top: 20px"> <div class="row hide" id="messagesPanel" style="margin-top: 20px">
<div class="alert alert-danger alert-block fade in col-md-8 col-md-offset-2"> <div class="alert alert-danger alert-block fade in col-md-8 col-md-offset-2">
<strong><spring:message code="UNEXPECTED_ERROR"/></strong> <strong><spring:message code="UNEXPECTED_ERROR"/></strong>
@ -134,19 +137,29 @@
<div class="row"> <div class="row">
<div class="col-md-2" id="foldersContainer"> <div class="col-md-2" id="foldersContainer">
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li data-filter="all" class="active" style="display: none"><a href="#"><i <li data-filter="all" class="active" style="display: none">
class="glyphicon glyphicon-inbox glyphicon-white"></i> <a href="#"><i class="glyphicon glyphicon-inbox glyphicon-white"></i>
<spring:message <spring:message code="ALL_MAPS"/>
code="ALL_MAPS"/></a></li> </a></li>
<li data-filter="my_maps" style="display: none"><a href="#"><i class="glyphicon glyphicon-user"></i> <spring:message <li data-filter="my_maps" style="display: none">
code="MY_MAPS"/></a> <a href="#"><i class="glyphicon glyphicon-user"></i>
<spring:message code="MY_MAPS"/>
</a>
</li> </li>
<li data-filter="shared_with_me" style="display: none"><a href="#"><i class="glyphicon glyphicon-share"></i> <spring:message <li data-filter="shared_with_me" style="display: none">
code="SHARED_WITH_ME"/></a></li> <a href="#"><i class="glyphicon glyphicon-share"></i>
<li data-filter="starred" style="display: none"><a href="#"><i class="glyphicon glyphicon-star"></i> <spring:message <spring:message code="SHARED_WITH_ME"/>
code="STARRED"/></a></li> </a>
<li data-filter="public" style="display: none"><a href="#"><i class="glyphicon glyphicon-globe"></i> <spring:message </li>
code="PUBLIC_MAPS"/></a> <li data-filter="starred" style="display: none">
<a href="#"><i class="glyphicon glyphicon-star"></i>
<spring:message code="STARRED"/>
</a>
</li>
<li data-filter="public" style="display: none">
<a href="#"><i class="glyphicon glyphicon-globe"></i>
<spring:message code="PUBLIC_MAPS"/>
</a>
</li> </li>
</ul> </ul>
</div> </div>
@ -161,11 +174,12 @@
</div> </div>
<div class="btn-group"> <div class="btn-group">
<button id="newBtn" class="btn btn-primary"><i class="glyphicon glyphicon-file glyphicon-white"></i> <button id="newBtn" class="btn btn-primary">
<spring:message <i class="glyphicon glyphicon-file glyphicon-white"></i>
code="NEW"/></button> <spring:message code="NEW"/>
<button id="importBtn" class="btn btn-primary"><i </button>
class="glyphicon glyphicon-upload glyphicon-white"></i> <button id="importBtn" class="btn btn-primary">
<i class="glyphicon glyphicon-upload glyphicon-white"></i>
<spring:message code="IMPORT"/> <spring:message code="IMPORT"/>
</button> </button>
</div> </div>
@ -188,9 +202,10 @@
</div> </div>
<div class="btn-group act-multiple" id="deleteBtn" style="display:none"> <div class="btn-group act-multiple" id="deleteBtn" style="display:none">
<button class="btn btn-primary"><i class="glyphicon glyphicon-trash glyphicon-white"></i> <button class="btn btn-primary">
<spring:message <i class="glyphicon glyphicon-trash glyphicon-white"></i>
code="DELETE"/></button> <spring:message code="DELETE"/>
</button>
</div> </div>
<div id="infoBtn" class="btn-group act-single" style="display:none"> <div id="infoBtn" class="btn-group act-single" style="display:none">
@ -256,11 +271,11 @@
</div> </div>
</div> </div>
<jsp:include page="footer.jsp"/> <jsp:include page="footer.jsp"/>
</div> </div>
<div id="dialogsContainer"> <div id="dialogsContainer">
<!-- New map dialog --> <!-- New map dialog -->
<div id="new-dialog-modal" title="<spring:message code="ADD_NEW_MAP"/>" class="modal fade"> <div id="new-dialog-modal" title="<spring:message code="ADD_NEW_MAP"/>" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
@ -301,10 +316,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- New label dialog --> <!-- New label dialog -->
<div id="new-folder-dialog-modal" title="<spring:message code="ADD_NEW_LABEL"/>" class="modal fade"> <div id="new-folder-dialog-modal" title="<spring:message code="ADD_NEW_LABEL"/>" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -340,10 +355,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Duplicate map dialog --> <!-- Duplicate map dialog -->
<div id="duplicate-dialog-modal" class="modal fade"> <div id="duplicate-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
@ -384,10 +399,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Rename map dialog --> <!-- Rename map dialog -->
<div id="rename-dialog-modal" class="modal fade"> <div id="rename-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -425,10 +440,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Delete map dialog --> <!-- Delete map dialog -->
<div id="delete-dialog-modal" class="modal fade"> <div id="delete-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -449,10 +464,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Delete label dialog --> <!-- Delete label dialog -->
<div id="delete-label-dialog-modal" class="modal fade"> <div id="delete-label-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -472,10 +487,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Info map dialog --> <!-- Info map dialog -->
<div id="info-dialog-modal" class="modal fade"> <div id="info-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -490,10 +505,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Publish Dialog Config --> <!-- Publish Dialog Config -->
<div id="publish-dialog-modal" class="modal fade"> <div id="publish-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -510,10 +525,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Export Dialog Config --> <!-- Export Dialog Config -->
<div id="export-dialog-modal" class="modal fade"> <div id="export-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -530,10 +545,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Import Dialog Config --> <!-- Import Dialog Config -->
<div id="import-dialog-modal" class="modal fade"> <div id="import-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -551,10 +566,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- Share Dialog Config --> <!-- Share Dialog Config -->
<div id="share-dialog-modal" class="modal fade"> <div id="share-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -571,10 +586,10 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- History Dialog Config --> <!-- History Dialog Config -->
<div id="history-dialog-modal" class="modal fade"> <div id="history-dialog-modal" class="modal fade">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@ -589,8 +604,8 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</body> </body>
</html> </html>