Fixed Taskboard buttons

stable
Xavier Julián 2014-07-25 12:57:14 +02:00
parent 97b676c976
commit 700e0af420
2 changed files with 27 additions and 23 deletions

View File

@ -4,8 +4,6 @@ div.taskboard-table
h2.task-colum_name "User story" h2.task-colum_name "User story"
h2.task-colum_name(ng-repeat="s in taskStatusList track by s.id") h2.task-colum_name(ng-repeat="s in taskStatusList track by s.id")
span(tg-bo-html="s.name") 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-body
div.taskboard-table-inner(tg-taskboard-row-size-fixer) div.taskboard-table-inner(tg-taskboard-row-size-fixer)
div.task-row(ng-repeat="us in userstories track by us.id") div.task-row(ng-repeat="us in userstories track by us.id")
@ -15,13 +13,9 @@ div.taskboard-table
h3.us-title h3.us-title
span.us-ref(tg-bo-ref="us.ref") span.us-ref(tg-bo-ref="us.ref")
span(ng-bind="us.subject") span(ng-bind="us.subject")
//- TODO Delete all this buttons and logic p.points-value
div.status(tg-us-status="us", on-update="ctrl.loadSprintState()") a.icon.icon-plus(href="", title="Add New task")
a.us-status(href="", title="Change user story status") a.icon.icon-bulk(href="", title="Add New bulk")
span.us-status-bind
span.icon.icon-arrow-bottom
ul.points-list(tg-taskboard-us-points="us")
//- include ../components/addnewtask
div.taskboard-tasks-box.task-column(ng-repeat="st in taskStatusList track by st.id", tg-taskboard-sortable) 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", div.taskboard-task(ng-repeat="task in usTasks[us.id][st.id] track by task.id",

View File

@ -33,19 +33,7 @@ $column-margin: 0 10px 0 0;
&:last-child { &:last-child {
margin-right: 0; 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;
}
}
} }
} }
@ -77,6 +65,21 @@ $column-margin: 0 10px 0 0;
.taskboard-tasks-box { .taskboard-tasks-box {
background: $whitish; background: $whitish;
} }
.taskboard-userstory-box {
.icon {
@include transition(color .2s linear);
color: $gray-light;
position: absolute;
right: .5rem;
top: 1rem;
&:hover {
color: $green-taiga;
}
&.icon-plus {
right: 2rem;
}
}
}
} }
.taskboard-userstory-box { .taskboard-userstory-box {
@ -88,8 +91,14 @@ $column-margin: 0 10px 0 0;
.us-title { .us-title {
@extend %large; @extend %large;
@extend %title; @extend %title;
margin-bottom: 1rem; margin-bottom: 0;
margin-right: 3rem;
} }
.points-value {
@extend %large;
color: $gray-light;
}
/*
.us-ref { .us-ref {
color: $gray; color: $gray;
margin-right: .5rem; margin-right: .5rem;
@ -135,6 +144,7 @@ $column-margin: 0 10px 0 0;
.button-green { .button-green {
padding: 7px 80px; padding: 7px 80px;
} }
*/
} }
.points-list { .points-list {