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