add item to log entries.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-01-05 21:23:05 +01:00
parent c3e589aa3e
commit 00218bb817
4 changed files with 42 additions and 1 deletions
+20 -1
View File
@@ -29,7 +29,12 @@
</div>
<div class="description">
<p>{log.description}</p>
<div class="item">
<div class="item-icon">
<Icon name={log.item.icon} />
</div>
<div class="item-name">{log.item.name} ({log.item.groupWeight})</div>
</div>
<OptionRow>
<Option open={mdLogEdit}>Edit Log</Option>
<Option open={mdLogDelete}>Delete Log</Option>
@@ -92,4 +97,18 @@
div.log {
padding: 0.25em 1ch;
}
div.item {
display: flex;
flex-direction: row;
margin-top: 0.25em;
margin-bottom: 0em;
font-size: 0.75em;
}
div.item div.item-icon {
padding: 0.25em 0.5ch 0.25em 0;
}
div.item div.item-name {
padding: 0.125em;
}
</style>
+2
View File
@@ -1,3 +1,4 @@
import type Item from "./item";
import type Task from "./task";
export default interface Log {
@@ -16,6 +17,7 @@ export interface LogFilter {
export interface LogResult extends Log {
task: Task
item: Item
}
export interface LogInput {