+
+
= $this->render($not_editable ? 'board/task_public' : 'board/task_private', array(
'project' => $project,
@@ -73,6 +82,13 @@
)) ?>
+
+
+
+ = $this->e($column['title']) ?>
+
+
+
|
\ No newline at end of file
diff --git a/assets/css/app.css b/assets/css/app.css
index b1400922d..b12966e16 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -757,6 +757,19 @@ nav .active a {
overflow-x: scroll;
}
+#board {
+ table-layout: fixed;
+}
+
+#board th.board-column-header {
+ width: 240px;
+}
+
+#board td {
+ vertical-align: top;
+}
+
+/* compact mode/horizontal scrolling */
.board-container-compact {
overflow-x: initial;
}
@@ -767,30 +780,43 @@ nav .active a {
}
}
-#board {
- table-layout: fixed;
-}
-
-#board th {
- width: 120px; /* Width of swimlane column */
-}
-
-#board th.board-column-header {
- width: 240px; /* Width of other columns, in default [horizontal scrolling] view mode */
-}
-
#board th.board-column-header.board-column-compact {
width: initial; /* Do not force the width of the columns in compact view mode */
}
-#board th a {
- text-decoration: none;
- color: #3366CC;
- font-size: 150%;
+/* show/hide column */
+.board-column-collapsed {
+ display: none;
}
-#board td {
- vertical-align: top;
+td.board-column-task-collapsed {
+ font-weight: bold;
+ background-color: #fbfbfb;
+}
+
+#board th.board-column-header-collapsed {
+ width: 28px;
+ min-width: 28px;
+ text-align: center;
+ overflow: hidden;
+}
+
+.board-rotation-wrapper {
+ position: relative;
+ padding: 8px 4px;
+}
+
+.board-rotation {
+ min-width: 250px;
+ -webkit-backface-visibility: hidden;
+ -webkit-transform: rotate(90deg);
+ -moz-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+ -webkit-transform-origin: 0 100%;
+ -moz-transform-origin: 0 100%;
+ -ms-transform-origin: 0 100%;
+ transform-origin: 0 100%;
}
/* column header */
@@ -800,29 +826,33 @@ nav .active a {
}
.board-add-icon a {
+ text-decoration: none;
+ color: #3366CC;
+ font-size: 150%;
line-height: 70%;
}
-.task-count {
+.board-add-icon a:focus,
+.board-add-icon a:hover {
+ text-decoration: none;
+ color: red;
+}
+
+.board-column-header-task-count {
color: #999;
font-weight: normal;
}
-/* drag and drop */
-.draggable-item {
- cursor: pointer;
- user-select: none;
-}
-
-.draggable-placeholder {
- border: 2px dashed #000;
- background: #fafafa;
- height: 70px;
- margin-bottom: 10px;
+th.board-column-header-collapsed .board-column-header-task-count {
+ font-size: 0.85em;
}
/* swimlanes */
-#board th a.board-swimlane-toggle {
+th.board-swimlane-header {
+ width: 120px;
+}
+
+a.board-swimlane-toggle {
font-size: 0.95em;
}
@@ -844,6 +874,19 @@ nav .active a {
.board-task-list-limit {
background-color: #DF5353;
}
+
+/* drag and drop */
+.draggable-item {
+ cursor: pointer;
+ user-select: none;
+}
+
+.draggable-placeholder {
+ border: 2px dashed #000;
+ background: #fafafa;
+ height: 70px;
+ margin-bottom: 10px;
+}
/* task inside the board */
.task-board {
position: relative;
diff --git a/assets/css/print.css b/assets/css/print.css
index 293bed348..540d759e7 100644
--- a/assets/css/print.css
+++ b/assets/css/print.css
@@ -162,6 +162,19 @@ th a:hover {
overflow-x: scroll;
}
+#board {
+ table-layout: fixed;
+}
+
+#board th.board-column-header {
+ width: 240px;
+}
+
+#board td {
+ vertical-align: top;
+}
+
+/* compact mode/horizontal scrolling */
.board-container-compact {
overflow-x: initial;
}
@@ -172,30 +185,43 @@ th a:hover {
}
}
-#board {
- table-layout: fixed;
-}
-
-#board th {
- width: 120px; /* Width of swimlane column */
-}
-
-#board th.board-column-header {
- width: 240px; /* Width of other columns, in default [horizontal scrolling] view mode */
-}
-
#board th.board-column-header.board-column-compact {
width: initial; /* Do not force the width of the columns in compact view mode */
}
-#board th a {
- text-decoration: none;
- color: #3366CC;
- font-size: 150%;
+/* show/hide column */
+.board-column-collapsed {
+ display: none;
}
-#board td {
- vertical-align: top;
+td.board-column-task-collapsed {
+ font-weight: bold;
+ background-color: #fbfbfb;
+}
+
+#board th.board-column-header-collapsed {
+ width: 28px;
+ min-width: 28px;
+ text-align: center;
+ overflow: hidden;
+}
+
+.board-rotation-wrapper {
+ position: relative;
+ padding: 8px 4px;
+}
+
+.board-rotation {
+ min-width: 250px;
+ -webkit-backface-visibility: hidden;
+ -webkit-transform: rotate(90deg);
+ -moz-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+ -webkit-transform-origin: 0 100%;
+ -moz-transform-origin: 0 100%;
+ -ms-transform-origin: 0 100%;
+ transform-origin: 0 100%;
}
/* column header */
@@ -205,29 +231,33 @@ th a:hover {
}
.board-add-icon a {
+ text-decoration: none;
+ color: #3366CC;
+ font-size: 150%;
line-height: 70%;
}
-.task-count {
+.board-add-icon a:focus,
+.board-add-icon a:hover {
+ text-decoration: none;
+ color: red;
+}
+
+.board-column-header-task-count {
color: #999;
font-weight: normal;
}
-/* drag and drop */
-.draggable-item {
- cursor: pointer;
- user-select: none;
-}
-
-.draggable-placeholder {
- border: 2px dashed #000;
- background: #fafafa;
- height: 70px;
- margin-bottom: 10px;
+th.board-column-header-collapsed .board-column-header-task-count {
+ font-size: 0.85em;
}
/* swimlanes */
-#board th a.board-swimlane-toggle {
+th.board-swimlane-header {
+ width: 120px;
+}
+
+a.board-swimlane-toggle {
font-size: 0.95em;
}
@@ -249,6 +279,19 @@ th a:hover {
.board-task-list-limit {
background-color: #DF5353;
}
+
+/* drag and drop */
+.draggable-item {
+ cursor: pointer;
+ user-select: none;
+}
+
+.draggable-placeholder {
+ border: 2px dashed #000;
+ background: #fafafa;
+ height: 70px;
+ margin-bottom: 10px;
+}
/* task inside the board */
.task-board {
position: relative;
diff --git a/assets/css/src/board.css b/assets/css/src/board.css
index 469e57737..00766c66f 100644
--- a/assets/css/src/board.css
+++ b/assets/css/src/board.css
@@ -14,6 +14,19 @@
overflow-x: scroll;
}
+#board {
+ table-layout: fixed;
+}
+
+#board th.board-column-header {
+ width: 240px;
+}
+
+#board td {
+ vertical-align: top;
+}
+
+/* compact mode/horizontal scrolling */
.board-container-compact {
overflow-x: initial;
}
@@ -24,30 +37,43 @@
}
}
-#board {
- table-layout: fixed;
-}
-
-#board th {
- width: 120px; /* Width of swimlane column */
-}
-
-#board th.board-column-header {
- width: 240px; /* Width of other columns, in default [horizontal scrolling] view mode */
-}
-
#board th.board-column-header.board-column-compact {
width: initial; /* Do not force the width of the columns in compact view mode */
}
-#board th a {
- text-decoration: none;
- color: #3366CC;
- font-size: 150%;
+/* show/hide column */
+.board-column-collapsed {
+ display: none;
}
-#board td {
- vertical-align: top;
+td.board-column-task-collapsed {
+ font-weight: bold;
+ background-color: #fbfbfb;
+}
+
+#board th.board-column-header-collapsed {
+ width: 28px;
+ min-width: 28px;
+ text-align: center;
+ overflow: hidden;
+}
+
+.board-rotation-wrapper {
+ position: relative;
+ padding: 8px 4px;
+}
+
+.board-rotation {
+ min-width: 250px;
+ -webkit-backface-visibility: hidden;
+ -webkit-transform: rotate(90deg);
+ -moz-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+ -webkit-transform-origin: 0 100%;
+ -moz-transform-origin: 0 100%;
+ -ms-transform-origin: 0 100%;
+ transform-origin: 0 100%;
}
/* column header */
@@ -57,29 +83,33 @@
}
.board-add-icon a {
+ text-decoration: none;
+ color: #3366CC;
+ font-size: 150%;
line-height: 70%;
}
-.task-count {
+.board-add-icon a:focus,
+.board-add-icon a:hover {
+ text-decoration: none;
+ color: red;
+}
+
+.board-column-header-task-count {
color: #999;
font-weight: normal;
}
-/* drag and drop */
-.draggable-item {
- cursor: pointer;
- user-select: none;
-}
-
-.draggable-placeholder {
- border: 2px dashed #000;
- background: #fafafa;
- height: 70px;
- margin-bottom: 10px;
+th.board-column-header-collapsed .board-column-header-task-count {
+ font-size: 0.85em;
}
/* swimlanes */
-#board th a.board-swimlane-toggle {
+th.board-swimlane-header {
+ width: 120px;
+}
+
+a.board-swimlane-toggle {
font-size: 0.95em;
}
@@ -101,3 +131,16 @@
.board-task-list-limit {
background-color: #DF5353;
}
+
+/* drag and drop */
+.draggable-item {
+ cursor: pointer;
+ user-select: none;
+}
+
+.draggable-placeholder {
+ border: 2px dashed #000;
+ background: #fafafa;
+ height: 70px;
+ margin-bottom: 10px;
+}
diff --git a/assets/js/app.js b/assets/js/app.js
index 8a4bb34a7..ce56d93f9 100644
--- a/assets/js/app.js
+++ b/assets/js/app.js
@@ -39,8 +39,8 @@ c,a,e),l[d.key][c?"unshift":"push"]({callback:b,modifiers:d.modifiers,action:d.a
unbind:function(a,b){return m.bind(a,function(){},b)},trigger:function(a,b){if(q[a+":"+b])q[a+":"+b]({},a);return this},reset:function(){l={};q={};return this},stopCallback:function(a,b){return-1<(" "+b.className+" ").indexOf(" mousetrap ")?!1:"INPUT"==b.tagName||"SELECT"==b.tagName||"TEXTAREA"==b.tagName||b.isContentEditable},handleKey:function(a,b,d){var c=C(a,b,d),e;b={};var f=0,g=!1;for(e=0;e
'+a+"
");b.router.dispatch();b.app.listen()})};p.prototype.close=function(a){a&&a.preventDefault();$("#popover-container").remove()};p.prototype.onClick=function(a){a.preventDefault();
a.stopPropagation();var b=a.target.getAttribute("href");b||(b=a.target.getAttribute("data-href"));b&&this.open(b)};p.prototype.listen=function(){$(document).on("click",".popover",this.onClick.bind(this));$(document).on("click",".close-popover",this.close.bind(this));$(document).on("click","#popover-container",this.close.bind(this));$(document).on("click","#popover-content",function(a){a.stopPropagation()})};v.prototype.listen=function(){var a=this;$(document).on("click",function(){a.close()});$(document).on("click",
".dropdown-menu",function(b){b.preventDefault();b.stopImmediatePropagation();b=$(this).next("ul");b.is(":visible")?a.close():(a.close(),$(this).offset().top+240>$(window).height()?b.addClass("dropdown-submenu-open dropdown-submenu-top"):b.addClass("dropdown-submenu-open"))})};v.prototype.close=function(){$(".dropdown-submenu-open").removeClass("dropdown-submenu-open")};w.prototype.listen=function(){var a=this;$(".tooltip").tooltip({track:!1,show:!1,hide:!1,position:{my:"left-20 top",at:"center bottom+9",
@@ -50,45 +50,49 @@ var c=this;setTimeout(function(){$(".ui-tooltip:hover").length||$(c).tooltip("cl
f.find(".markdown").html(a);f.css("height",e.css("height"));f.css("width",e.css("width"));d.hide();f.show()})};r.prototype.showWriter=function(a){a.preventDefault();$(this).closest("ul").find("li").removeClass("form-tab-selected");$(this).parent().addClass("form-tab-selected");$(".write-area").show();$(".preview-area").hide()};r.prototype.listen=function(){$(document).on("click","#markdown-preview",this.showPreview.bind(this));$(document).on("click","#markdown-write",this.showWriter.bind(this))};
t.prototype.expand=function(a){a.preventDefault();$(".sidebar-container").removeClass("sidebar-collapsed");$(".sidebar-collapse").show();$(".sidebar h2").show();$(".sidebar ul").show();$(".sidebar-expand").hide()};t.prototype.collapse=function(a){a.preventDefault();$(".sidebar-container").addClass("sidebar-collapsed");$(".sidebar-expand").show();$(".sidebar h2").hide();$(".sidebar ul").hide();$(".sidebar-collapse").hide()};t.prototype.listen=function(){$(document).on("click",".sidebar-collapse",this.collapse);
$(document).on("click",".sidebar-expand",this.expand)};u.prototype.focus=function(){$(document).on("focus","#form-search",function(){$("#form-search")[0].setSelectionRange&&$("#form-search")[0].setSelectionRange($("#form-search").val().length,$("#form-search").val().length)})};u.prototype.listen=function(){$(document).on("click",".filter-helper",function(a){a.preventDefault();$("#form-search").val($(this).data("filter"));$("form.search").submit()})};u.prototype.keyboardShortcuts=function(){Mousetrap.bind("v b",
-function(a){a=$(".view-board");a.length&&(window.location=a.attr("href"))});Mousetrap.bind("v c",function(a){a=$(".view-calendar");a.length&&(window.location=a.attr("href"))});Mousetrap.bind("v l",function(a){a=$(".view-listing");a.length&&(window.location=a.attr("href"))});Mousetrap.bind("f",function(a){a.preventDefault();(a=document.getElementById("form-search"))&&a.focus()})};k.prototype.listen=function(){this.popover.listen();this.markdown.listen();this.sidebar.listen();this.tooltip.listen();
-this.dropdown.listen();this.search.listen();this.search.focus();this.taskAutoComplete();this.datePicker();this.focus()};k.prototype.refresh=function(){$(document).off();this.listen()};k.prototype.focus=function(){$("[autofocus]").each(function(a,b){$(this).focus()});$(document).on("focus",".auto-select",function(){$(this).select()});$(document).on("mouseup",".auto-select",function(a){a.preventDefault()})};k.prototype.poll=function(){window.setInterval(this.checkSession,6E4)};k.prototype.keyboardShortcuts=
-function(){var a=this;Mousetrap.bindGlobal("mod+enter",function(){$("form").submit()});Mousetrap.bind("b",function(a){a.preventDefault();$("#board-selector").trigger("chosen:open")});Mousetrap.bindGlobal("esc",function(){a.popover.close();a.dropdown.close()})};k.prototype.checkSession=function(){$(".form-login").length||$.ajax({cache:!1,url:$("body").data("status-url"),statusCode:{401:function(){window.location=$("body").data("login-url")}}})};k.prototype.datePicker=function(){$.datepicker.setDefaults($.datepicker.regional[$("body").data("js-lang")]);
-$(".form-date").datepicker({showOtherMonths:!0,selectOtherMonths:!0,dateFormat:"yy-mm-dd",constrainInput:!1});$(".form-datetime").datetimepicker({controlType:"select",oneLine:!0,dateFormat:"yy-mm-dd",constrainInput:!1})};k.prototype.taskAutoComplete=function(){$(".task-autocomplete").length&&(""==$(".opposite_task_id").val()&&$(".task-autocomplete").parent().find("input[type=submit]").attr("disabled","disabled"),$(".task-autocomplete").autocomplete({source:$(".task-autocomplete").data("search-url"),
-minLength:1,select:function(a,b){var c=$(".task-autocomplete").data("dst-field");$("input[name="+c+"]").val(b.item.id);$(".task-autocomplete").parent().find("input[type=submit]").removeAttr("disabled")}}))};k.prototype.boardSelector=function(){$(".chosen-select").chosen({width:"200px",no_results_text:$(".chosen-select").data("notfound"),disable_search_threshold:10});$("#board-selector").chosen({width:180,no_results_text:$("#board-selector").data("notfound")});$("#board-selector").change(function(){window.location=
-$(this).attr("data-board-url").replace(/PROJECT_ID/g,$(this).val())})};k.prototype.showLoadingIcon=function(){$("body").append('