parent
71f5087140
commit
0d25604f9e
|
@ -20,7 +20,7 @@ block content
|
||||||
//-include views/modules/list-filters-kanban
|
//-include views/modules/list-filters-kanban
|
||||||
include views/modules/kanban-table
|
include views/modules/kanban-table
|
||||||
|
|
||||||
div.lightbox.lightbox-generic-form(tg-lb-create-edit-userstory)
|
div.lightbox.lightbox-generic-form.lb-create-edit-userstory(tg-lb-create-edit-userstory)
|
||||||
include views/modules/lightbox-us-create-edit
|
include views/modules/lightbox-us-create-edit
|
||||||
|
|
||||||
div.lightbox.lightbox-generic-bulk(tg-lb-create-bulk-userstories)
|
div.lightbox.lightbox-generic-bulk(tg-lb-create-bulk-userstories)
|
||||||
|
|
|
@ -6,33 +6,8 @@ div.kanban-task-inner
|
||||||
span.task-num(tg-bo-ref="us.ref")
|
span.task-num(tg-bo-ref="us.ref")
|
||||||
a.task-name(href="", tg-bo-title="us.subject", tg-bind-html="us.subject",
|
a.task-name(href="", tg-bo-title="us.subject", tg-bind-html="us.subject",
|
||||||
tg-nav="project-userstories-detail:project=project.slug,ref=us.ref")
|
tg-nav="project-userstories-detail:project=project.slug,ref=us.ref")
|
||||||
ul.task-points-per-role
|
a.task-points(href="", title="Total Us points")
|
||||||
li
|
|
||||||
a(href="", title="Role Points")
|
|
||||||
span User Experience
|
|
||||||
span(tg-bind-html="us.total_points") --
|
span(tg-bind-html="us.total_points") --
|
||||||
span points
|
span points
|
||||||
span.icon.icon-arrow-bottom
|
|
||||||
li
|
|
||||||
a(href="", title="Role Points")
|
|
||||||
span Design
|
|
||||||
span(tg-bind-html="us.total_points") --
|
|
||||||
span points
|
|
||||||
span.icon.icon-arrow-bottom
|
|
||||||
li
|
|
||||||
a(href="", title="Role Points")
|
|
||||||
span Front
|
|
||||||
span(tg-bind-html="us.total_points") --
|
|
||||||
span points
|
|
||||||
span.icon.icon-arrow-bottom
|
|
||||||
li
|
|
||||||
a(href="", title="Role Points")
|
|
||||||
span Back
|
|
||||||
span(tg-bind-html="us.total_points") --
|
|
||||||
span points
|
|
||||||
span.icon.icon-arrow-bottom
|
|
||||||
//-p.task-points
|
|
||||||
//- span(tg-bind-html="us.total_points") --
|
|
||||||
//- span points
|
|
||||||
a.icon.icon-edit(tg-check-permission="modify_us", href="", title="Edit")
|
a.icon.icon-edit(tg-check-permission="modify_us", href="", title="Edit")
|
||||||
a.icon.icon-drag-h(tg-check-permission="modify_us", href="", title="Drag&Drop")
|
a.icon.icon-drag-h(tg-check-permission="modify_us", href="", title="Drag&Drop")
|
||||||
|
|
|
@ -5,9 +5,25 @@ form
|
||||||
fieldset
|
fieldset
|
||||||
input(type="text", name="subject", ng-model="us.subject", tg-i18n="placeholder:common.subject",
|
input(type="text", name="subject", ng-model="us.subject", tg-i18n="placeholder:common.subject",
|
||||||
data-required="true", data-maxlength="500")
|
data-required="true", data-maxlength="500")
|
||||||
fieldset
|
// Add estimation points
|
||||||
select(name="status", ng-model="us.status", ng-options="s.id as s.name for s in usStatusList",
|
fieldset.estimation
|
||||||
tg-i18n="placeholder:common.status")
|
ul.points-per-role
|
||||||
|
li.total
|
||||||
|
span.points 40
|
||||||
|
span.role UX
|
||||||
|
li.total
|
||||||
|
span.points 30
|
||||||
|
span.role Front
|
||||||
|
li.total
|
||||||
|
span.points 20
|
||||||
|
span.role Design
|
||||||
|
li.total
|
||||||
|
span.points 10
|
||||||
|
span.role Back
|
||||||
|
// Remove status input
|
||||||
|
//-fieldset
|
||||||
|
//- select(name="status", ng-model="us.status", ng-options="s.id as s.name for s in usStatusList",
|
||||||
|
//- tg-i18n="placeholder:common.status")
|
||||||
fieldset
|
fieldset
|
||||||
div(tg-tag-line, editable="true", ng-model="us.tags")
|
div(tg-tag-line, editable="true", ng-model="us.tags")
|
||||||
|
|
||||||
|
|
|
@ -115,23 +115,14 @@
|
||||||
cursor: move;
|
cursor: move;
|
||||||
right: 45%;
|
right: 45%;
|
||||||
}
|
}
|
||||||
.task-points-per-role {
|
.task-points {
|
||||||
@extend %small;
|
@extend %small;
|
||||||
margin: 0;
|
|
||||||
a {
|
|
||||||
@include transition(color .2s linear);
|
|
||||||
color: darken($postit-hover, 15%);
|
color: darken($postit-hover, 15%);
|
||||||
&:hover {
|
display: block;
|
||||||
@include transition(color .2s linear);
|
margin: 0;
|
||||||
color: darken($postit-hover, 30%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-left: .2rem;
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
color: darken($postit-hover, 30%);
|
|
||||||
padding-left: 0;
|
|
||||||
padding-right: .2rem;
|
padding-right: .2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,7 +152,7 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
}
|
}
|
||||||
.task-points-per-role {
|
.task-points {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.icon-edit,
|
.icon-edit,
|
||||||
|
|
|
@ -160,8 +160,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.points-per-role {
|
.points-per-role {
|
||||||
|
@include table-flex();
|
||||||
position: relative;
|
position: relative;
|
||||||
> li {
|
> li {
|
||||||
|
@include table-flex-child(1, 18%, 0);
|
||||||
@include transition(color .3s linear);
|
@include transition(color .3s linear);
|
||||||
border-right: 1px solid rgba($grayer, .3);
|
border-right: 1px solid rgba($grayer, .3);
|
||||||
color: rgba($grayer, .3);
|
color: rgba($grayer, .3);
|
||||||
|
@ -169,14 +171,13 @@
|
||||||
margin: .5rem .1rem;
|
margin: .5rem .1rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 18%;
|
|
||||||
&.active {
|
&.active {
|
||||||
color: rgba($green-taiga, 1);
|
color: rgba($green-taiga, 1);
|
||||||
}
|
}
|
||||||
&:first-child {
|
&:first-child {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
&:nth-child(5n) {
|
&:last-child {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -501,3 +501,12 @@
|
||||||
width: 600px;
|
width: 600px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lb-create-edit-userstory {
|
||||||
|
.points-per-role {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
li {
|
||||||
|
margin: .5rem .1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue