aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-02-22 15:24:26 +0000
committer杨宇千 <crupest@outlook.com>2019-02-22 15:24:26 +0000
commitfe5838a966a314b72ecb4d992f86f5fce635a96f (patch)
tree6d00a55b9e5f98315384f33aaf5bfc5a60645a0d /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
parent25e606b67506b3bc0242414aebe472f13a02bd9c (diff)
parente236b5064cd62f40bc910fafe48ac4b9701a4bcd (diff)
downloadtimeline-fe5838a966a314b72ecb4d992f86f5fce635a96f.tar.gz
timeline-fe5838a966a314b72ecb4d992f86f5fce635a96f.tar.bz2
timeline-fe5838a966a314b72ecb4d992f86f5fce635a96f.zip
Merged PR 5: Develop link feature on todo page.
Develop link feature on todo page. Related work items: #1, #3
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html')
-rw-r--r--Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
index ce6eb2ed..4e1aa2f1 100644
--- a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
+++ b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
@@ -3,19 +3,20 @@
<mat-list>
<mat-list-item *ngFor="let item of items; let i = index" style="height:unset;">
<div class="item-box" [class.first-item-box]="i === 0">
- <mat-card [class.align-self-bottom]="i === 0">
+ <mat-card class="mat-elevation-z2" [class.align-self-bottom]="i === 0">
<span class="item-id" [class.item-id-closed]="item.closed"
[class.item-id-open]="!item.closed">{{item.id}}</span>
- {{item.title}}
+ <a class="mat-h3 item-title" [href]="item.detailUrl">{{item.title}}</a>
</mat-card>
<div class="sample-box" *ngIf="i === 0">
- <div class="mat-caption">
- <span class="item-id-sample item-id-open"></span> means working now.
- </div>
- <div class="mat-caption">
- <span class="item-id-sample item-id-closed"></span> means completed.
- </div>
+ <div class="mat-caption sample-container">
+ <span class="item-id-sample item-id-open"></span> means working now.
</div>
+ <div class="mat-caption sample-container">
+ <span class="item-id-sample item-id-closed"></span> means completed.
+ </div>
+ <div class="mat-caption">click on item to see details.</div>
+ </div>
</div>
</mat-list-item>
</mat-list>