Minor reorganization on templates related to backlog row and confirm lightbox.

stable
Andrey Antukh 2014-06-17 20:46:42 +02:00
parent 0cdb91fcb9
commit fdae3479be
6 changed files with 13 additions and 15 deletions

View File

@ -11,5 +11,7 @@ html(lang="en", ng-app="taiga")
body
include partials/views/modules/nav
div.master(ng-view="")
div.lightbox.lightbox_confirm-delete
include partials/views/modules/lightbox_confirm-delete
script(src="/js/libs.js?v=#{v}")
script(src="/js/app.js?v=#{v}")

View File

@ -4,10 +4,10 @@ block head
title Taiga Project management web application with scrum in mind!
block content
div.wrapper
div.wrapper(tg-backlog, ng-controller="BacklogController as ctrl")
sidebar.menu-secondary.extrabar.filters-bar
include views/modules/filters
section.main.backlog(tg-backlog)
section.main.backlog
include views/components/mainTitle
include views/components/summary
include views/modules/burndown
@ -31,6 +31,3 @@ block content
include views/modules/lightbox_add-bulk
div.lightbox.lightbox_add-sprint
include views/modules/lightbox_add-sprint
div.lightbox.lightbox_confirm-delete
include views/modules/lightbox_confirm-delete

View File

@ -4,8 +4,8 @@ div.row(ng-repeat="us in userstories")
input(type="checkbox", name="")
a(href="") {{ us.subject }}
span.us-settings
a.icon.icon-edit(href="", title="Edit")
a.icon.icon-delete(href="", title="Delete")
a.icon.icon-edit(href="", ng-click="ctrl.deleteUserStory(us)", title="Edit")
a.icon.icon-delete(href="", ng-click="ctrl.deleteUserStory(us)", title="Delete")
div.user-story-tags
span.tag Tag name
span.tag Tag name

View File

@ -10,6 +10,8 @@ section.backlog-table-header
div.points.width-1 Front
div.points.width-1 Total
section.backlog-table-body
include ../components/backlog-row
// - for (var x = 0; x < 40; x++)
// div.row
// div.user-stories
@ -44,6 +46,3 @@ section.backlog-table-body
// a(href="", title="Status 3") Status 3
// a.icon.icon-drag-v(href="", title="Drag")
// hr.doom-line
script(type="text/ng-template" id="backlog-row.html")
include ../components/backlog-row

View File

@ -3,8 +3,8 @@ a.close(href="", title="close")
form
h2.title Delete User Story
p
span.us-delete-question Are you sure you want to delete?
span.us-to-delete #125 Crear el perfil de usuario senior en el admin
span.delete-question Are you sure you want to delete?
span.subtitle #125 Crear el perfil de usuario senior en el admin
div.delete-options
a.button.button-green(href="", title="Accept")
span Accept

View File

@ -223,13 +223,13 @@
min-width: 420px;
width: 420px;
}
.us-delete-question,
.us-to-delete {
.delete-question,
.subtitle {
display: block;
line-height: 2rem;
text-align: center;
}
.us-to-delete {
.subtitle {
@extend %large;
font-family: 'ostrichSans';
}