Add styles and template changes on ssearch part.
parent
91d03424ba
commit
937d0f5579
|
@ -4,7 +4,9 @@ block head
|
||||||
title Taiga Project management web application with scrum in mind!
|
title Taiga Project management web application with scrum in mind!
|
||||||
|
|
||||||
block content
|
block content
|
||||||
div.wrapper
|
div.wrapper(tg-search, ng-controller="SearchController as ctrl",
|
||||||
|
ng-init="section='search'")
|
||||||
|
|
||||||
sidebar.menu-secondary.sidebar
|
sidebar.menu-secondary.sidebar
|
||||||
include views/modules/search-in
|
include views/modules/search-in
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,30 @@
|
||||||
section.search-filter
|
section.search-filter
|
||||||
ul
|
ul
|
||||||
li
|
li.userstories(data-name="userstories")
|
||||||
a.active(href="#")
|
a.active(href="#")
|
||||||
span.icon.icon-bulk
|
span.icon.icon-bulk
|
||||||
| 20 User Stories
|
span.num 0
|
||||||
|
span.name User Stories
|
||||||
|
|
||||||
li
|
li.issues(data-name="issues")
|
||||||
a(href="#")
|
a(href="#")
|
||||||
span.icon.icon-issues
|
span.icon.icon-issues
|
||||||
| 3 Issues
|
span.num 0
|
||||||
|
span.name Issues
|
||||||
|
|
||||||
li
|
li.tasks(data-name="tasks")
|
||||||
a(href="#")
|
a(href="#")
|
||||||
span.icon.icon-bulk
|
span.icon.icon-bulk
|
||||||
| 23 Task
|
span.num 0
|
||||||
|
span.name Task
|
||||||
|
|
||||||
li
|
li.wiki(data-name="wiki")
|
||||||
a(href="#")
|
a(href="#")
|
||||||
span.icon.icon-wiki
|
span.icon.icon-wiki
|
||||||
| 2 Wiki pages
|
span.num 0
|
||||||
|
span.name Wiki Pages
|
||||||
|
|
||||||
li
|
// li
|
||||||
a(href="#")
|
// a(href="#")
|
||||||
span.icon.icon-edit
|
// span.icon.icon-edit
|
||||||
| 12 Documents
|
// | 3 Users
|
||||||
|
|
||||||
li
|
|
||||||
a(href="#")
|
|
||||||
span.icon.icon-edit
|
|
||||||
| 3 Users
|
|
|
@ -1,6 +1,5 @@
|
||||||
section.search-in
|
section.search-in
|
||||||
header
|
header
|
||||||
form
|
|
||||||
fieldset
|
fieldset
|
||||||
input(type="text", placeholder="Search in...")
|
input(type="text", placeholder="Search in...", ng-model="searchTerm")
|
||||||
a.icon.icon-search(href="", title="search")
|
a.icon.icon-search(href="", title="search")
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
section.search-result-table.basic-table
|
section.search-result-table
|
||||||
|
div.search-result-table-header
|
||||||
div.row.title
|
div.row.title
|
||||||
div.user-stories.width-4 User Stories
|
div.user-stories.width-4 User Stories
|
||||||
div.status.width-2 Status
|
div.status.width-2 Status
|
||||||
div.points.width-1 Points
|
div.points.width-1 Points
|
||||||
div.points.width-1 Sprints
|
div.points.width-1 Sprints
|
||||||
|
div.search-result-table-body
|
||||||
- for (var x = 0; x < 50; x++)
|
- for (var x = 0; x < 50; x++)
|
||||||
div.row.table-main
|
div.row.table-main
|
||||||
div.user-stories.width-4
|
div.user-stories.width-4
|
||||||
|
@ -12,3 +14,13 @@ section.search-result-table.basic-table
|
||||||
div.status.width-2 Status
|
div.status.width-2 Status
|
||||||
div.points.width-1 12
|
div.points.width-1 12
|
||||||
div.points.width-1 54
|
div.points.width-1 54
|
||||||
|
|
||||||
|
|
||||||
|
script(type="text/ng-template", id="search-issues")
|
||||||
|
div.row.table-main(ng-repeat="issue in issues track by issue.id")
|
||||||
|
div.user-stories.width-4
|
||||||
|
div.user-story-name
|
||||||
|
a(href="") Crear el perfil de usuario Senior en el admin
|
||||||
|
div.status.width-2 Status
|
||||||
|
div.points.width-1 12
|
||||||
|
div.points.width-1 54
|
||||||
|
|
|
@ -21,4 +21,8 @@
|
||||||
.icon {
|
.icon {
|
||||||
margin-right: .4rem;
|
margin-right: .4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.name {
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,21 @@
|
||||||
.search-result-table {
|
.search-result-table {
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
|
@include table-flex;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: lighten($green-taiga, 60%);
|
background: lighten($green-taiga, 60%);
|
||||||
@include transition (background .2s ease-in);
|
@include transition (background .2s ease-in);
|
||||||
}
|
}
|
||||||
|
div {
|
||||||
|
@include table-flex-child(1, 0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.row-selected {
|
.row-selected {
|
||||||
background: lighten($green-taiga, 60%);
|
background: lighten($green-taiga, 60%);
|
||||||
@include transition (background .2s ease-in);
|
@include transition (background .2s ease-in);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: refactor xaviju
|
||||||
.user-story-name {
|
.user-story-name {
|
||||||
flex-basis: 500px;
|
flex-basis: 500px;
|
||||||
input {
|
input {
|
||||||
|
|
Loading…
Reference in New Issue