forked from rapportive-oss/plv8js
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<div class=list-header"> | ||
<div class="list-header clearfix"> | ||
<div ng-show="!tasksIncomplete().length "> | ||
<h2><i>Nothing left to do! Go you!</i></h2> | ||
</div> | ||
<div ng-show="tasksIncomplete().length "> | ||
<h2><b>Next: {{tasksIncomplete()[0].Description}}</b></h2> | ||
<div class="pull-right time">{{ clock }}</div> | ||
<div class="description"><b> | ||
<div class="clock">{{ clock }}</div> - {{tasksIncomplete()[0].Description}}</b></div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
<ng-include src="'partials/app/listStatus.html'"></ng-include> | ||
|
||
<h2>To do today</h2> | ||
<ul class="tasks"> | ||
<li ng-repeat="task in list.tasks | filter:{AddedLater: false }" > | ||
<li ng-repeat="task in list.tasks | filter:{AddedLater: false }" | ||
ng-class="task.Complete && 'complete' || 'incomplete'" | ||
> | ||
<input class="toggle" type="checkbox" ng-model="task.Complete" ng-change="updateTask(task)"/> | ||
<span class="taskDescription">{{task.Description}}</span> | ||
<span | ||
class="taskDescription">{{task.Description}}</span> | ||
<a ng-click="destroyTask(task)"><i class="icon icon-trash"></i></i></a> | ||
</li> | ||
</ul> | ||
<h2>Tasks you added later...</h2> | ||
</ul> | ||
<div class="well later"> | ||
<h3>It's ok if you don't get to tasks you added later...</h3> | ||
<ul class="tasks"> | ||
<li ng-repeat="task in list.tasks | filter:{AddedLater: true }" > | ||
<li ng-repeat="task in list.tasks | filter:{AddedLater: true }" | ||
ng-class="task.Complete && 'complete' || 'incomplete'" > | ||
<input class="toggle" type="checkbox" ng-model="task.Complete" ng-change="updateTask(task)"/> | ||
<span class="taskDescription">{{task.Description}}</span> | ||
<a ng-click="destroyTask(task)"><i class="icon icon-trash"></i></a> | ||
</li> | ||
</ul> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
samples/today-app/app/assets/partials/app/sidebarProgress.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<span><small>Finished {{ initialTasksComplete().length }} of {{ initialTasks().length }} (+ {{ laterTasksComplete().length }} bonus)</small></span> | ||
<div class="progress-wrapper"> | ||
<h2>Progress</h2> | ||
<span class="progress-status"><small>{{ initialTasksComplete().length }} of {{ initialTasks().length }} (+{{ laterTasksComplete().length }} bonus)</small></span> | ||
<div class="progress progress-striped"> | ||
<div class="bar" style="width: {{initialTasksCompletePercentage()}}%;"></div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters