Taskboard and kanban add US buttons
parent
b90faf0b6d
commit
0a3507f806
|
@ -3,8 +3,8 @@ div.kanban-table
|
|||
div.kanban-table-inner
|
||||
h2.task-colum_name(ng-repeat="s in usStatusList track by s.id")
|
||||
span(tg-bo-html="s.name")
|
||||
a.icon.icon-plus(href="", title="Add New task",
|
||||
ng-click="ctrl.addNewUs('standard', s.id)")
|
||||
a.icon.icon-plus(href="", title="Add New task", ng-click="ctrl.addNewUs('standard', s.id)")
|
||||
a.icon.icon-bulk(href="", title="Add New bulk")
|
||||
|
||||
div.kanban-table-body
|
||||
div.kanban-table-inner
|
||||
|
|
|
@ -2,7 +2,10 @@ div.taskboard-table
|
|||
div.taskboard-table-header
|
||||
div.taskboard-table-inner(tg-taskboard-row-size-fixer)
|
||||
h2.task-colum_name "User story"
|
||||
h2.task-colum_name(ng-repeat="s in taskStatusList track by s.id", tg-bo-html="s.name")
|
||||
h2.task-colum_name(ng-repeat="s in taskStatusList track by s.id")
|
||||
span(tg-bo-html="s.name")
|
||||
a.icon.icon-plus(href="", title="Add New task")
|
||||
a.icon.icon-bulk(href="", title="Add New bulk")
|
||||
div.taskboard-table-body
|
||||
div.taskboard-table-inner(tg-taskboard-row-size-fixer)
|
||||
div.task-row(ng-repeat="us in userstories track by us.id")
|
||||
|
@ -12,13 +15,13 @@ div.taskboard-table
|
|||
h3.us-title
|
||||
span.us-ref(tg-bo-ref="us.ref")
|
||||
span(ng-bind="us.subject")
|
||||
//-
|
||||
//- TODO Delete all this buttons and logic
|
||||
div.status(tg-us-status="us", on-update="ctrl.loadSprintState()")
|
||||
a.us-status(href="", title="Change user story status")
|
||||
span.us-status-bind
|
||||
span.icon.icon-arrow-bottom
|
||||
ul.points-list(tg-taskboard-us-points="us")
|
||||
include ../components/addnewtask
|
||||
//- include ../components/addnewtask
|
||||
|
||||
div.taskboard-tasks-box.task-column(ng-repeat="st in taskStatusList track by st.id", tg-taskboard-sortable)
|
||||
div.taskboard-task(ng-repeat="task in usTasks[us.id][st.id] track by task.id",
|
||||
|
|
|
@ -26,11 +26,25 @@ $column-margin: 0 10px 0 0;
|
|||
background: $whitish;
|
||||
margin: $column-margin;
|
||||
padding: .5rem 0;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.icon {
|
||||
@include transition(color .2s linear);
|
||||
color: $gray-light;
|
||||
position: absolute;
|
||||
right: .5rem;
|
||||
top: .5rem;
|
||||
&:hover {
|
||||
color: $green-taiga;
|
||||
}
|
||||
&.icon-plus {
|
||||
right: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -36,6 +36,9 @@ $column-margin: 0 10px 0 0;
|
|||
&:hover {
|
||||
color: $green-taiga;
|
||||
}
|
||||
&.icon-plus {
|
||||
right: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue