Move tasks Gantt chart
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
@@ -17,6 +17,7 @@
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.menu-inline li.active a,
|
||||
.views li.active a {
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
|
||||
@@ -30,6 +30,7 @@ div.ganttview-hzheader-month {
|
||||
height: 20px;
|
||||
border-right: 1px solid #d0d0d0;
|
||||
line-height: 20px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.ganttview-hzheader-day {
|
||||
|
||||
@@ -92,12 +92,17 @@ nav .active a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.menu-inline li,
|
||||
.page-header li {
|
||||
display: inline;
|
||||
padding-right: 10px;
|
||||
font-size: 0.95em;
|
||||
}
|
||||
|
||||
.menu-inline {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
|
||||
.page-header-mobile li {
|
||||
|
||||
@@ -301,3 +301,8 @@ span.task-board-date-overdue {
|
||||
.task-show-start-link:focus {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.flag-milestone {
|
||||
color: green;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -32,6 +32,8 @@ Search.prototype.listen = function() {
|
||||
};
|
||||
|
||||
Search.prototype.keyboardShortcuts = function() {
|
||||
var self = this;
|
||||
|
||||
// Switch view mode for projects: go to the board
|
||||
Mousetrap.bind("v b", function(e) {
|
||||
var link = $(".view-board");
|
||||
@@ -59,6 +61,15 @@ Search.prototype.keyboardShortcuts = function() {
|
||||
}
|
||||
});
|
||||
|
||||
// Switch view mode for projects: go to the gantt chart
|
||||
Mousetrap.bind("v g", function(e) {
|
||||
var link = $(".view-gantt");
|
||||
|
||||
if (link.length) {
|
||||
window.location = link.attr('href');
|
||||
}
|
||||
});
|
||||
|
||||
// Focus to the search field
|
||||
Mousetrap.bind("f", function(e) {
|
||||
e.preventDefault();
|
||||
@@ -68,5 +79,18 @@ Search.prototype.keyboardShortcuts = function() {
|
||||
input.focus();
|
||||
}
|
||||
});
|
||||
|
||||
// Reset to the search field
|
||||
Mousetrap.bind("r", function(e) {
|
||||
e.preventDefault();
|
||||
$("#form-search").val("status:open");
|
||||
|
||||
if ($('#board').length) {
|
||||
self.app.board.reloadFilters("status:open");
|
||||
}
|
||||
else {
|
||||
$("form.search").submit();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user