mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-31 11:40:47 +00:00
beautify time tracking history
This commit is contained in:
parent
ad4ba1db07
commit
a253a8cdce
2 changed files with 21 additions and 2 deletions
|
|
@ -9,9 +9,22 @@ time-tracking-history {
|
|||
}
|
||||
}
|
||||
|
||||
.task-summary-table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.month {
|
||||
.md-icon-button {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
min-height: 30px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
&-title {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
&-time-spent {
|
||||
font-size: 18px;
|
||||
|
|
|
|||
|
|
@ -18,10 +18,16 @@
|
|||
class="day">
|
||||
|
||||
<div class="day-title">
|
||||
<strong>{{ worklogForDay.dateStr|amDateFormat:'DD-MM-YYYY, dddd' }}:</strong> {{ worklogForDay.timeSpent|duration }}
|
||||
<md-button class="md-raised md-icon-button"
|
||||
aria-label="export data"
|
||||
ng-click="worklogForDay.isVisible=!worklogForDay.isVisible;">
|
||||
<ng-md-icon icon="list"></ng-md-icon>
|
||||
</md-button>
|
||||
{{ worklogForDay.dateStr|amDateFormat:'DD-MM-YYYY, dddd' }}: <strong>{{ worklogForDay.timeSpent|duration }}</strong>
|
||||
</div>
|
||||
|
||||
<table class="task-summary-table">
|
||||
<table class="task-summary-table"
|
||||
ng-if="worklogForDay.isVisible">
|
||||
<tr ng-repeat="logEntry in worklogForDay.entries track by logEntry.task.id">
|
||||
<td>{{ logEntry.task.title }}</td>
|
||||
<td>{{ logEntry.task.timeSpentOnDay[worklogForDay.dateStr] |duration}}</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue