A lot of stuff. Sorry.

stable
Xavier Julián 2015-02-10 16:49:23 +01:00
parent 5466778017
commit 61ce5e21db
46 changed files with 149 additions and 193 deletions

View File

@ -9,7 +9,7 @@ div.wrapper.memberships(ng-controller="MembershipsController as ctrl",
include ../includes/components/mainTitle
.action-buttons
a.button.button-green(title="Add new member" href="" ng-click="ctrl.addNewMembers()")
a.button-green(title="Add new member" href="" ng-click="ctrl.addNewMembers()")
span.text + New member
include ../includes/modules/admin/admin-membership-table

View File

@ -12,7 +12,8 @@ div.wrapper(ng-controller="ProjectProfileController as ctrl",
p.admin-subtitle Export your project to save a backup or to create a new one based on this.
div.admin-project-export-buttons
a.button.button-green.button-export(href="", title="Export your project") Export
a.button-green.button-export(href="", title="Export your project")
span Export
div.admin-project-export-result.hidden
div.spin.hidden

View File

@ -12,7 +12,7 @@ div.wrapper(tg-project-values, ng-controller="ProjectValuesController as ctrl",
p.admin-subtitle Specify the priority levels users can assign to issues
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")
a.button-green.show-add-new(href="", title="Add New")
span Add new priority
include ../includes/modules/admin/project-types

View File

@ -12,7 +12,7 @@ div.wrapper(tg-project-values, ng-controller="ProjectValuesController as ctrl",
p.admin-subtitle Specify the severity level users can select to classify issues
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")
a.button-green.show-add-new(href="", title="Add New")
span Add new severity
include ../includes/modules/admin/project-types

View File

@ -12,7 +12,7 @@ div.wrapper(tg-project-values, ng-controller="ProjectValuesController as ctrl",
p.admin-subtitle Specify the column headers that you will use to classify Issues
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")
a.button-green.show-add-new(href="", title="Add New")
span Add new status
include ../includes/modules/admin/project-status

View File

@ -12,7 +12,7 @@ div.wrapper(tg-project-values, ng-controller="ProjectValuesController as ctrl",
p.admin-subtitle Specify the categories users can select to classify issues
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")
a.button-green.show-add-new(href="", title="Add New")
span Add new type
include ../includes/modules/admin/project-types

View File

@ -12,7 +12,7 @@ div.wrapper(tg-project-values, ng-controller="ProjectValuesController as ctrl",
p.admin-subtitle Specify the column headers that you will use to classify Tasks related to each User Stories
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")
a.button-green.show-add-new(href="", title="Add New")
span Add new status
include ../includes/modules/admin/project-status

View File

@ -15,7 +15,7 @@ div.wrapper(tg-project-values, ng-controller="ProjectValuesController as ctrl",
include ../includes/components/help-notion-button
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")
a.button-green.show-add-new(href="", title="Add New")
span Add new point
include ../includes/modules/admin/project-points

View File

@ -12,7 +12,7 @@ div.wrapper(tg-project-values, ng-controller="ProjectValuesController as ctrl",
p.admin-subtitle Specify the column headers that you will use to classify User Stories
div.project-values-options
a.button.button-green.show-add-new(href="", title="Add New")
a.button-green.show-add-new(href="", title="Add New")
span Add new status
include ../includes/modules/admin/project-us-status

View File

@ -9,7 +9,7 @@ div.wrapper.roles(ng-controller="RolesController as ctrl",
.header-with-actions
include ../includes/components/mainTitle
.action-buttons
a.button.button-red.delete-role(href="", title="Delete", ng-click="ctrl.delete()") Delete
a.button-red.delete-role(href="", title="Delete", ng-click="ctrl.delete()") Delete
div(tg-edit-role)

View File

@ -14,7 +14,7 @@ block content
p.admin-subtitle Webhooks notify external services about events in Taiga, like comments, user stories....
div.webhooks-options
a.button.button-green.hidden.add-webhook(href="",title="Add a New Webhook") Add Webhook
a.utton-green.hidden.add-webhook(href="",title="Add a New Webhook") Add Webhook
section.webhooks-table.basic-table
div.table-header

View File

@ -9,6 +9,7 @@ div.wrapper(tg-backlog, ng-controller="BacklogController as ctrl",
div.burndown(tg-gm-backlog-graph)
include ../includes/modules/burndown
div.backlog-menu
div.backlog-table-options
a.trans-button.move-to-current-sprint(href="", title="Move to Current Sprint",
id="move-to-current-sprint")
span.icon.icon-move

View File

@ -1,2 +1,4 @@
a(href="#", class="button button-gray item-block") Block
a(href="#", class="button button-red item-unblock") Unblock
a(href="#", class="button button-gray item-block")
span Block
a(href="#", class="button button-red item-unblock")
span Unblock

View File

@ -1 +1,2 @@
a(href="", class="button button-red") Delete
a(href="", class="button button-red")
span Delete

View File

@ -5,5 +5,5 @@ div.form
fieldset
textarea.reason(placeholder="Please explain the reason")
a.button.button-green(href="")
a.button-green(href="")
span Save

View File

@ -1,9 +1,9 @@
div.new-us
a.button.button-green(href="", title="Add a new User Story",
a.button-green(href="", title="Add a new User Story",
ng-click="ctrl.addNewUs('standard')",
tg-check-permission="add_us")
span.text + Add a new User Story
a.button.button-bulk(href="", title="Add some new User Stories in bulk",
a.button-bulk(href="", title="Add some new User Stories in bulk",
ng-click="ctrl.addNewUs('bulk')",
tg-check-permission="add_us")
span.icon.icon-bulk

View File

@ -1,37 +1,35 @@
div.summary.large-summary
div.large-summary-wrapper
div
div.summary-progress-bar
div.current-progress
div.data
span.number 30%
span.description completed
ul
li
div.summary-stats
span.number 12
span.description project<br />points
li
div.summary-stats
span.number 23
span.description defined<br />points
li
div.summary-stats
span.number 12
span.description assigned<br />points
li
div.summary-stats.summary-stats-divider
span.number 23
span.description closed<br />points
ul
li
div.summary-stats
span.icon.icon-bulk
span.number 73
span.description created<br />tasks
li
div.summary-stats
span.number 72
span.description closed<br />tasks
li
div.summary-stats
span.number 18
span.description remaining<br />tasks
ul
li
div.summary-stats
span.icon.icon-iocaine
span.number 10
span.description iocanie<br />doses

View File

@ -1,28 +1,26 @@
div.summary.large-summary
div
div.large-summary-wrapper
div.summary-progress-wrapper
div.summary-progress-bar(tg-progress-bar="stats.completedPercentage")
div.data
span.number(ng-bind="stats.completedPercentage + '%'")
ul
li
div.summary-stats
span.number(ng-bind="stats.totalPointsSum|default:'--'")
span.description total<br />points
li
div.summary-stats
span.number(ng-bind="stats.completedPointsSum|default:'--'")
span.description completed<br />points
ul
li
div.summary-stats
span.icon.icon-bulk
span.number(ng-bind="stats.openTasks|default:'--'")
span.description open<br />tasks
li
div.summary-stats
span.number(ng-bind="stats.completed_tasks|default:'--'")
span.description closed<br />tasks
ul
li(title="Feeling a bit overwhelmed by a task? Make sure others know about it by clicking on Iocaine when editing a task. It's possible to become immune to this (fictional) deadly poison by consuming small amounts over time just as it's possible to get better at what you do by occasionally taking on extra challenges!")
div.summary-stats(title="Feeling a bit overwhelmed by a task? Make sure others know about it by clicking on Iocaine when editing a task. It's possible to become immune to this (fictional) deadly poison by consuming small amounts over time just as it's possible to get better at what you do by occasionally taking on extra challenges!")
span.icon.icon-iocaine
span.number(ng-bind="stats.iocaine_doses|default:'--'")
span.description iocaine<br />doses

View File

@ -3,16 +3,16 @@ div.summary
div.data
span.number(ng-bind="stats.completedPercentage + '%'")
ul
li
div.summary-stats
span.number(ng-bind="stats.total_points") --
span.description project<br />points
li
div.summary-stats
span.number(ng-bind="stats.defined_points") --
span.description defined<br />points
li
div.summary-stats
span.number(ng-bind="stats.closed_points") --
span.description closed<br />points
li
div.summary-stats
span.number(ng-bind="stats.speed | number:0") --
span.description points /<br />sprint

View File

@ -10,6 +10,6 @@ section.admin-submenu-roles
span.icon.icon-arrow-right
div(tg-new-role)
a.button.button-gray.add-button(href="", title="Add New Role")
a.button-gray.add-button(href="", title="Add New Role")
span.text + New role
input(type="text", class="hidden new")

View File

@ -20,5 +20,5 @@ section.admin-submenu
a(href="") Front
span.icon.icon-arrow-right
a.button.button-gray(href="", title="Add New role")
a.button-gray(href="", title="Add New role")
span.text + New role

View File

@ -8,5 +8,5 @@ div.change-email-form-container(tg-cancel-account)
input(type="hidden", name="cancel_token", ng-model="data.cancel_token", data-required="true",
placeholder="cancel account token")
a.button.button-cancel-account.button-gray(href="", title="Yes, I'm leaving") Yes, I'm leaving!
a.button-cancel-account.button-gray(href="", title="Yes, I'm leaving") Yes, I'm leaving!
button(type="submit", class="hidden")

View File

@ -8,5 +8,5 @@ div.change-email-form-container(tg-change-email)
input(type="hidden", name="email_token", ng-model="data.email_token", data-required="true",
placeholder="change email token")
a.button.button-change-email.button-gray(href="", title="Change email") Change email
a.button-change-email.button-gray(href="", title="Change email") Change email
button(type="submit", class="hidden")

View File

@ -8,5 +8,5 @@ section
block content
div.options
a.button.button-green(href="", title="Accept")
a.button-green(href="", title="Accept")
span Accept

View File

@ -9,7 +9,7 @@ form
p.warning
div.options
a.button.button-green(href="", title="Accept")
a.button-green(href="", title="Accept")
span Accept
a.button.button-red(href="", title="Delete")
a.button-red(href="", title="Delete")
span Cancel

View File

@ -4,7 +4,7 @@ fieldset.attachments
span.icon.icon-attachment
span.attachments-num 1
span.attachments-text attachment
a.button.button-gray(href="", title="Add new attachment")
a.button-gray(href="", title="Add new attachment")
span + add attachment
div.attachment-body
- for(var x = 0; x < 1; x++)

View File

@ -6,7 +6,7 @@ form
span.question Are you sure you want to delete this project?
span.subtitle All project data US/Tasks/Issues/Sprints/WikiPages will be lost! :-(
div.options
a.button.button-green(href="", title="Yes, I'm really sure")
a.button-green(href="", title="Yes, I'm really sure")
span Yes, I'm really sure
a.button.button-red(href="", title="Cancel")
a.button-red(href="", title="Cancel")
span Cancel

View File

@ -6,7 +6,7 @@ form
span.subtitle
span.message
div.options
a.button.button-green(href="", title="Accept")
a.button-green(href="", title="Accept")
span Accept
a.button.button-red(href="", title="Delete")
a.button-red(href="", title="Delete")
span Cancel

View File

@ -3,5 +3,5 @@ a.close(href="", title="close")
section
h2.title
div.options
a.button.button-green(href="", title="Accept")
a.button-green(href="", title="Accept")
span Accept

View File

@ -4,5 +4,5 @@ section
h2.title
p.message
div.options
a.button.button-green(href="", title="Accept")
a.button-green(href="", title="Accept")
span Accept

View File

@ -6,8 +6,7 @@ section.list-filters
| SHOW FILTERS
div.new-issue
a.button.button-green(href="")
span.text
| + NEW TASK
a.button-green(href="")
span.text + NEW TASK
a.button-bulk(href="")
span.icon.icon-bulk

View File

@ -1,17 +1,6 @@
section.list-filters(tg-check-permission="add_issue")
ul
// li
// a(href="#").active
// span.icon.icon-issues
// | SHOW LIST
// li
// a(href="#")
// span.icon.icon-graph
// | SHOW GRAPH
div.new-issue
a.button.button-green(href="", ng-click="ctrl.addNewIssue()")
a.button-green(href="", ng-click="ctrl.addNewIssue()")
span.text
| + NEW ISSUE
a.button-bulk(href="", ng-click="ctrl.addIssuesInBulk()")

View File

@ -12,7 +12,7 @@ div.sprint-table
span(tg-bo-bind="us.subject")
div.column-points.width-1(tg-bo-bind="us.total_points", ng-class="{closed: us.is_closed, blocked: us.is_blocked}")
a.button.button-gray(tg-bo-title="'Go to Taskboard of ' + sprint.name",
a.button-gray(tg-bo-title="'Go to Taskboard of ' + sprint.name",
tg-nav="project-taskboard:project=project.slug,sprint=sprint.slug",
tg-check-permission="view_milestones")

View File

@ -2,14 +2,10 @@ section.sprints
header
h1 SPRINTS
div.summary
ul
li
div.total-sprints
span.number(ng-bind="project.total_milestones") --
span.description <br/>sprints
div.new-sprint
a.button.button-green(href="", title="Add New sprint",
ng-click="ctrl.addNewSprint()",
tg-check-permission="add_milestone")
a.button-green.add-sprint(href="", title="Add New sprint", ng-click="ctrl.addNewSprint()", tg-check-permission="add_milestone")
span.text + New sprint
div.sprint.sprint-open(ng-repeat="sprint in openSprints track by sprint.id", tg-backlog-sprint="sprint", tg-sprint-sortable)

View File

@ -1,2 +1,2 @@
a(class="button button-gray editable", tg-check-permission="add_us")
| Promote to User Story
span Promote to User Story

View File

@ -2,15 +2,6 @@ div.wrapper(tg-kanban, ng-controller="KanbanController as ctrl"
ng-init="section='kanban'")
section.main.kanban
include ../includes/components/mainTitle
//- div.kanban-settings
//- // a.button.button-trans(href="", title="Filter")
//- // span.icon.icon-filter
//- // span Filters
//- //a.button.button-gray(href="", title="Filter")
//- // span Show Statistics
//-include ../includes/components/large-summary
//-include ../includes/modules/burndown
//-include ../includes/modules/list-filters-kanban
include ../includes/modules/kanban-table
div.lightbox.lightbox-generic-form.lb-create-edit-userstory(tg-lb-create-edit-userstory)

View File

@ -10,7 +10,7 @@ div.wrapper
include ../includes/components/mainTitle
div.project-colors-options
a.button.button-green.new-color(href="")
a.button-green.new-color(href="")
span.text
| + Add new status

View File

@ -25,10 +25,10 @@ div.home-projects-list(ng-controller="ProjectsController as ctrl")
div(tg-projects-list)
.create-project-button-wrapper
a.button.button-green.create-project-button(href="", ng-click="ctrl.newProject()",
a.button-green.create-project-button(href="", ng-click="ctrl.newProject()",
title="Create new project") Create project
div(tg-import-project-button)
a.button.button-blackish.import-project-button(href="", title="Import project")
a.button-blackish.import-project-button(href="", title="Import project")
span.icon.icon-upload
input.import-file.hidden(type="file")

View File

@ -4,7 +4,7 @@ div.wrapper(ng-controller="TaskDetailController as ctrl",
div.us-detail-header.header-with-actions
include ../includes/components/mainTitle
.action-buttons
a.button.button-gray(
a.button-gray(
tg-check-permission="view_milestones",
href="", title="Go to taskboard",
tg-nav="project-taskboard:project=project.slug,sprint=sprint.slug",

View File

@ -4,7 +4,7 @@ div.wrapper(ng-controller="UserStoryDetailController as ctrl",
div.us-detail-header.header-with-actions
include ../includes/components/mainTitle
.action-buttons
a.button.button-gray(
a.button-gray(
tg-check-permission="view_milestones",
href="", title="Go to taskboard",
tg-nav="project-taskboard:project=project.slug,sprint=sprint.slug",

View File

@ -6,7 +6,7 @@ form
span.question Are you sure you want to delete your Taiga account?
span.subtitle We're going to miss you! :-(
div.options
a.button.button-green(href="", title="Accept")
a.button-green(href="", title="Accept")
span Accept
a.button.button-red(href="", title="Cancel")
a.button-red(href="", title="Cancel")
span Cancel

View File

@ -20,7 +20,7 @@ div.wrapper(tg-user-profile, ng-controller="UserSettingsController as ctrl",
tg-avatar-model="avatarAttachment")
p The image will be cropped to 80x80px.<br>
span.size-info.hidden(tg-bo-html="maxFileSizeMsg")
a.button.button-green.change(tg-bo-title="'Change photo. ' + maxFileSizeMsg") Change
a.button-green.change(tg-bo-title="'Change photo. ' + maxFileSizeMsg") Change
a.use-gravatar Use gravatar image
div.data

View File

@ -1,21 +1,17 @@
.summary {
@include clearfix;
align-content: center;
background: $grayer;
color: $white;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin-bottom: 2rem;
padding: 1em;
ul {
display: inline-block;
margin: 0;
padding: 0;
}
li {
display: inline-block;
margin-right: 1rem;
.summary-stats {
display: flex;
margin: 0 .5rem;
}
.data {
float: left;
margin-right: 1em;
margin-top: 4px;
.number {
color: $fresh-taiga;
@ -25,29 +21,24 @@
}
.icon {
@extend %large;
float: left;
}
.number {
@extend %xlarge;
@extend %bold;
float: left;
margin-right: .3rem;
position: relative;
top: 5px;
}
.description {
// line-height: 0;
@extend %small;
@extend %text;
float: left;
line-height: .9rem;
}
}
.summary-progress-bar {
background: $whitish;
float: left;
background: $white;
height: 30px;
margin-bottom: 0;
margin-right: 10px;
@ -78,15 +69,30 @@
.large-summary {
ul {
border-right: 1px solid $whitish;
justify-content: space-between;
.large-summary-wrapper {
align-content: center;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.summary-progress-wrapper {
display: flex;
}
.summary-progress-bar {
flex-basis: 200px;
min-width: 200px;
}
.summary-stats {
margin-right: 1rem;
vertical-align: top;
&:last-of-type {
&:last-child {
border: 0;
margin: 0;
}
}
.summary-stats-divider {
margin-right: 2rem;
}
.icon {
@extend %xlarge;
margin-right: .4rem;

View File

@ -1,13 +1,8 @@
.backlog {
.new-us {
float: right;
}
}
.backlog-menu {
@include clearfix;
background: $whitish;
color: $blackish;
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
padding: .5rem;
.trans-button {
@ -21,4 +16,7 @@
vertical-align: middle;
}
}
.button-bulk {
margin-left: .2rem;
}
}

View File

@ -1,19 +1,17 @@
.sprints {
.summary {
@include clearfix;
background: $gray-light;
ul {
width: 40%;
background: darken($whitish, 10%);
display: flex;
justify-content: space-between;
}
li {
.total-sprints {
align-items: flex-start;
color: $grayer;
display: flex;
}
}
.new-sprint {
float: right;
.button {
padding: .5rem 1.5rem;
}
.add-sprint {
margin: 0;
padding: .3rem 1.5rem;
}
.filter-closed-sprints {
@extend %small;

View File

@ -2,32 +2,10 @@
align-items: center;
background-color: $whitish;
display: flex;
justify-content: space-between;
justify-content: flex-end;
margin-bottom: 2rem;
padding: .5rem 1rem;
ul {
display: flex;
margin-bottom: 0;
}
li {
margin-right: 2rem;
a {
@extend %large;
@extend %title;
opacity: .4;
&:hover {
color: $blackish;
opacity: 1;
transition: opacity .3s linear;
}
}
.active {
color: $blackish;
opacity: 1;
transition: opacity .3s linear;
}
.icon {
padding-right: .5rem;
}
.button-bulk {
margin-left: .2rem;
}
}