Repeat column headers for each swimlane
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
/* task inside the board */
|
||||
.task-board {
|
||||
position: relative;
|
||||
margin-bottom: 2px;
|
||||
margin-bottom: 4px;
|
||||
border: 1px solid #000;
|
||||
padding: 2px;
|
||||
font-size: 0.85em;
|
||||
@@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
div.task-board-recent {
|
||||
box-shadow: 2px 2px 5px rgba(0,0,0,0.25);
|
||||
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
div.task-board-status-closed {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -231,7 +231,7 @@ Board.prototype.toggleCollapsedMode = function() {
|
||||
Board.prototype.restoreColumnViewMode = function() {
|
||||
var self = this;
|
||||
|
||||
$("tr:first th").each(function() {
|
||||
$(".board-column-header").each(function() {
|
||||
var columnId = $(this).data('column-id');
|
||||
if (localStorage.getItem("hidden_column_" + columnId)) {
|
||||
self.hideColumn(columnId);
|
||||
|
||||
@@ -15,7 +15,8 @@ Swimlane.prototype.expand = function(swimlaneId) {
|
||||
|
||||
localStorage.setItem(this.getStorageKey(), JSON.stringify(swimlaneIds));
|
||||
|
||||
$('.swimlane-row-' + swimlaneId).css('display', 'table-row');
|
||||
$('.board-swimlane-columns-' + swimlaneId).css('display', 'table-row');
|
||||
$('.board-swimlane-tasks-' + swimlaneId).css('display', 'table-row');
|
||||
$('.hide-icon-swimlane-' + swimlaneId).css('display', 'inline');
|
||||
$('.show-icon-swimlane-' + swimlaneId).css('display', 'none');
|
||||
};
|
||||
@@ -28,7 +29,8 @@ Swimlane.prototype.collapse = function(swimlaneId) {
|
||||
localStorage.setItem(this.getStorageKey(), JSON.stringify(swimlaneIds));
|
||||
}
|
||||
|
||||
$('.swimlane-row-' + swimlaneId).css('display', 'none');
|
||||
$('.board-swimlane-columns-' + swimlaneId + ':not(:first-child)').css('display', 'none');
|
||||
$('.board-swimlane-tasks-' + swimlaneId).css('display', 'none');
|
||||
$('.hide-icon-swimlane-' + swimlaneId).css('display', 'none');
|
||||
$('.show-icon-swimlane-' + swimlaneId).css('display', 'inline');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user