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
1 parent
6d09f44
commit 6565e1d
Showing
9 changed files
with
976 additions
and
68 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
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
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
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,5 +1,3 @@ | ||
<h1>New pom</h1> | ||
<h1>Start A Pomodoro</h1> | ||
|
||
<%= render 'form' %> | ||
<%= link_to 'Back', poms_path %> |
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,62 +1,15 @@ | ||
<p id="notice"><%= notice %></p> | ||
|
||
|
||
|
||
<% if @pom.seconds_remaining > 0 %> | ||
|
||
<script> | ||
Aumodoro.timer.seconds_elapsed = <%= @pom.seconds_elapsed %>; | ||
</script> | ||
|
||
<div class='timer'></div> | ||
|
||
<% end %> | ||
|
||
|
||
|
||
|
||
<hr/> | ||
|
||
|
||
|
||
<p> | ||
<b>Start time:</b> | ||
<%= @pom.datetime %> | ||
</p> | ||
|
||
<p> | ||
<b>Success:</b> | ||
<%= @pom.success %> | ||
</p> | ||
|
||
<p> | ||
<b>User:</b> | ||
<%= @pom.user_id %> | ||
</p> | ||
|
||
<p> | ||
<b>Project:</b> | ||
<%= @pom.project.name if @pom.project %> | ||
</p> | ||
|
||
<p> | ||
<b>Description:</b> | ||
<%= @pom.description %> | ||
</p> | ||
|
||
<p> | ||
<b>Value:</b> | ||
<%= @pom.value %> | ||
</p> | ||
|
||
|
||
|
||
|
||
<div class='timer_display'> | ||
|
||
</div> | ||
|
||
|
||
<% end %> | ||
|
||
<br/> | ||
|
||
<%= link_to 'Edit', edit_pom_path(@pom) %> | | ||
<%= link_to 'Back', poms_path %> | ||
<%= render 'form' %> |
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
Oops, something went wrong.