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