aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.html
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-03-06 23:29:12 +0800
committerGitHub <noreply@github.com>2019-03-06 23:29:12 +0800
commit4b37c96de2c7d3fe046a6f342d2da8ef03d3c807 (patch)
treee5618cddfa6f637d7033ae5b52e6da825eb53c63 /Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.html
parentaca753fba19a221f1aec65030ba4aec4bc34f576 (diff)
parentb5e01c4571061cbaf5915aa4c0f1b7126ef1ed18 (diff)
downloadtimeline-4b37c96de2c7d3fe046a6f342d2da8ef03d3c807.tar.gz
timeline-4b37c96de2c7d3fe046a6f342d2da8ef03d3c807.tar.bz2
timeline-4b37c96de2c7d3fe046a6f342d2da8ef03d3c807.zip
Merge pull request #3 from crupest/user
Develop user dialog.
Diffstat (limited to 'Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.html')
-rw-r--r--Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.html b/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.html
new file mode 100644
index 00000000..6f76e73b
--- /dev/null
+++ b/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.html
@@ -0,0 +1,9 @@
+<mat-card class="mat-elevation-z2 item-card">
+ <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>
+ </div>
+</mat-card>