Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
Make project row in list link to project details
Browse files Browse the repository at this point in the history
  • Loading branch information
nakhbari committed Apr 17, 2018
1 parent cfdb398 commit 6209348
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/app/dashboard/dashboard.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ng-container>

<mat-header-row *matHeaderRowDef="DISPLAYED_COLUMNS"></mat-header-row>
<mat-row *matRowDef="let row; columns: DISPLAYED_COLUMNS;"></mat-row>
<mat-row *matRowDef="let row; columns: DISPLAYED_COLUMNS; let project" [routerLink]="['/project', project.id]"></mat-row>
</mat-table>
</mat-card>
</div>
Expand Down
15 changes: 14 additions & 1 deletion web/app/dashboard/dashboard.component.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.fci-dashboard-header {
background-color: #F3E5F5;
background-color: #E1BEE7;
height: 448px;
margin-bottom: -112px;
.fci-dashboard-welcome {
Expand All @@ -19,3 +19,16 @@
}
}
}

.fci-project-table {
.mat-header-row {
font-family: 'Google Sans', sans-serif;
font-size: 16px;
}
.mat-row {
cursor: pointer;
&:hover {
background-color: #F3E5F5
}
}
}

0 comments on commit 6209348

Please sign in to comment.