code indendt

This commit is contained in:
Ezequiel Bergamaschi 2014-02-11 00:48:48 -03:00
parent 6299f43067
commit 4b4c07c5fe

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 () {
@ -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">