diff options
| author | 杨宇千 <crupest@outlook.com> | 2019-03-04 19:57:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-04 19:57:56 +0800 |
| commit | aca753fba19a221f1aec65030ba4aec4bc34f576 (patch) | |
| tree | 552cbe6c50573e2d78e323e5d460db989cdd0a77 /Timeline/ClientApp/src/app/todo-item/todo-item.component.html | |
| parent | 1259f24a7febc35400a10149b72af41dd00617ee (diff) | |
| parent | cb58648843160a672ba9427b0abfb2dd87c86206 (diff) | |
| download | timeline-aca753fba19a221f1aec65030ba4aec4bc34f576.tar.gz timeline-aca753fba19a221f1aec65030ba4aec4bc34f576.tar.bz2 timeline-aca753fba19a221f1aec65030ba4aec4bc34f576.zip | |
Merge pull request #2 from crupest/migrate-todo
Migrate todo page from Azure DevOps WorkItems to Github Issues.
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.html | 8 |
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> |
