Skip to content

Commit

Permalink
Changed homepage to include new planner feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
JGefroh committed Mar 15, 2015
1 parent 0b45a60 commit 87ee564
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ToDoListClient/src/app/modules/splash/Splash.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ <h3 class="text-center">Use a hard-to-guess ID to get started.</h3>
<h3 class="text-center">
<span class="fa fa-list-ol fa-5x"></span>
<br/><br/>
Add Tasks To Your List
Track Your Tasks
</h3>
</a>
</div>
<div class="col-xs-12 col-md-3">
<a data-ng-href="#/completed/{{splashCtrl.params.userID}}">
<a data-ng-href="#/planner/calendar/{{splashCtrl.params.userID}}">
<h3 class="text-center">
<span class="fa fa-check fa-5x"></span>
<span class="fa fa-calendar fa-5x"></span>
<br/><br/>
See Completed Tasks
Plan and Schedule
</h3>
</a>
</div>
Expand All @@ -59,7 +59,7 @@ <h3 class="text-center">
<h3 class="text-center">
<span class="fa fa-bookmark fa-5x"></span>
<br/><br/>
Bookmark To Save
Bookmark to Save
</h3>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.jgefroh.todolist.server.todolists;

import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.logging.Logger;

Expand Down Expand Up @@ -93,10 +94,12 @@ private ToDoList createList(final String ownerId) {

private void addTutorialTasks(final ToDoList list) {
Task firstTask = taskDAO.update(Task.create(list.getOwnerId(), "Welcome to ToDoList! You can mark this task as 'Complete', edit its details, or track time on it!", "Tutorial"));
firstTask.schedule(new Date());
firstTask.tag("Tutorial");
list.addTask(firstTask);

Task firstCompletedTask = Task.create(list.getOwnerId(), "You can mark this completed task as 'Incomplete', or delete it forever!", "Tutorial");
firstCompletedTask.schedule(new Date());
firstCompletedTask.markComplete();
firstCompletedTask.tag("Tutorial");
firstCompletedTask = taskDAO.update(firstCompletedTask);
Expand Down

0 comments on commit 87ee564

Please sign in to comment.