aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-item/todo-item.component.html
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-04 19:58:48 +0800
committercrupest <crupest@outlook.com>2019-03-04 19:58:48 +0800
commit4daf2ce80df373fa38d32c74ee475f33a07b18f1 (patch)
tree09573a7ed1eb98c21a3694f1155022b573951310 /Timeline/ClientApp/src/app/todo-item/todo-item.component.html
parent38a1d4de0c5d9be5dff1da32356fb4b20ff16181 (diff)
parentaca753fba19a221f1aec65030ba4aec4bc34f576 (diff)
downloadtimeline-4daf2ce80df373fa38d32c74ee475f33a07b18f1.tar.gz
timeline-4daf2ce80df373fa38d32c74ee475f33a07b18f1.tar.bz2
timeline-4daf2ce80df373fa38d32c74ee475f33a07b18f1.zip
Merge branch 'master' into user
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-item/todo-item.component.html')
-rw-r--r--Timeline/ClientApp/src/app/todo-item/todo-item.component.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/Timeline/ClientApp/src/app/todo-item/todo-item.component.html b/Timeline/ClientApp/src/app/todo-item/todo-item.component.html
index bf080e83..6f76e73b 100644
--- a/Timeline/ClientApp/src/app/todo-item/todo-item.component.html
+++ b/Timeline/ClientApp/src/app/todo-item/todo-item.component.html
@@ -1,9 +1,7 @@
<mat-card class="mat-elevation-z2 item-card">
- <span class="item-color-block" [class.color-block-completed]="item.isCompleted" [class.color-block-resolving]="!item.isCompleted"></span>
- <!-- Do not move the margin style to class because there is some preset classes on mat-card children making it invalid. -->
- <div class="mat-h3 item-body-box" style="margin: 5px;">
- <img class="item-icon" [src]="item.iconUrl" />
- <span class="item-title">{{ item.id }}. {{ item.title }}</span>
+ <span class="item-color-block" [class.color-block-closed]="item.isClosed" [class.color-block-open]="!item.isClosed"></span>
+ <div class="mat-h3 item-body-box">
+ <span class="item-title">{{ item.number }}. {{ item.title }}</span>
<a mat-icon-button class="item-detail-button" [href]="item.detailUrl">
<mat-icon>arrow_forward</mat-icon>
</a>