Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed LICENSE
Empty file.
22 changes: 22 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)
=====================

Copyright (c) 2013 Juani Ruiz Echazu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
html5timetracker
================

Try it live on http://unlayered.com/time/
Forked from the good work of heyimjuani, but adds various features.

Code is far from being OK. Please bare with me, I don't know what I had been doing half of the time, I'm still learning Javascript :D
So far:
- Support for tasks longer than one hour
- Continue timing until task is actually logged (in case you ignore the alarm)
- Copy tasks to TSV (to paste into OpenOffice spreadsheet)
- Keyboard support (enter and esc)

================

Needs Keith Wood's countdown jQuery plugin (https://github.com/kbwood/countdown) to work.
Note that I had to change a line, more on that here: https://github.com/kbwood/countdown/issues/26
16 changes: 10 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head>
<title>HTML5 Time Tracker - by Juani</title>
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="jquery.countdown.min.js"></script>
<script type="text/javascript" src="site.min.js"></script>
<script type="text/javascript" src="site.js"></script>
</head>
<body>
<section id="settings">
Expand Down Expand Up @@ -37,14 +37,20 @@ <h1>Build the habit of logging time</h1>
</section>

<section id="list">
<div id="total">
<h2>Total</h2>
<span class="value"></span>
</div>
<ul id="done">

</ul>
<div id="actions">
<a href="" class="btn-start">Get back to work</a>
<br>
<a href="" id="reset">Clear activity log</a>
<a href="" class="btn-footer" id="reset">Clear activity log</a>
<span>Are you sure? <a href="" class="confirm">Yes</a> <a href="" class="cancel">No</a></span>

<a href="" class="btn-footer" id="copyTSV">Copy as TSV</a>
</div>
<a href="" class="settings set-cycle">Settings</a>
</section>
Expand All @@ -62,8 +68,6 @@ <h1>Build the habit of logging time</h1>
</section>

<a href="http://twitter.com/heyimjuani" target="_blank" id="by"><strong>HTML5 Time Tracker</strong> by Juani</a>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://unlayered.com/time" data-text="HTML5 Time Tracker" data-via="heyimjuani" data-related="heyimjuani">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

</body>
</html>
</html>
6 changes: 6 additions & 0 deletions jquery-1.10.2.min.js

Large diffs are not rendered by default.

Loading