super-productivity/app-src/scripts/work-view/work-view-d.html
2017-11-29 22:26:43 +00:00

53 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<header class="work-view-header">
<p>
<ng-md-icon icon="playlist_play"></ng-md-icon>
Working today: <strong ng-bind="vm.totalTimeWorkedToday|duration"></strong>
<ng-md-icon icon="timer"></ng-md-icon>
Estimate remaining: ~<strong ng-bind="vm.totalEstimationRemaining|duration"></strong>
<ng-md-icon icon="timer"></ng-md-icon>
<md-button ng-click="vm.collapseAllNotesAndSubTasks()"
class="md-icon-button md-primary">
<ng-md-icon icon="vertical_align_center" aria-label="collapse sub tasks and notes"></ng-md-icon>
</md-button>
</p>
</header>
<section class="work-view-tasks work-view-tasks--undone">
<p ng-if="!vm.tasksUndone.length">You currently have no undone tasks.</p>
<task-list tasks="vm.tasksUndone"
current-task-id="r.currentTask.id"
on-task-done-changed="vm.onTaskDoneChangedUndoneList(task)"
allow-task-selection="true"></task-list>
</section>
<md-button ng-click="vm.openAddTask()"
class="md-primary md-raised">
<ng-md-icon icon="add"></ng-md-icon>
Add new Task
</md-button>
<md-button ui-sref="daily-summary"
class="md-primary md-raised">
<ng-md-icon icon="done_all"></ng-md-icon>
Finish your work day
</md-button>
<h2 class="md-title">
<ng-md-icon icon="playlist_add_check"></ng-md-icon>
Done Tasks
</h2>
<section class="work-view-tasks work-view-tasks--done">
<p ng-if="!vm.tasksDone.length">You currently have no done tasks.</p>
<task-list tasks="vm.tasksDone"
on-task-done-changed="vm.onTaskDoneChangedDoneList(task)"
current-task-id="r.currentTask.id"></task-list>
</section>