-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (77 loc) · 3.86 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Better MOMO</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="jumbotron">
<div class="container">
<h1>Better MOMO</h1>
<p>Drag this button to your bookmarks bar to add some fun features that we think up.</p>
<p><a href="javascript:(function(a){var b=a.createElement('script');b.src='//tadams88.github.io/better-momo/src/betterMomo.js';a.getElementsByTagName('head')[0].appendChild(b)})(document);" class="btn btn-primary btn-lg" role="button">Better MOMO</a></p>
<p>All you need to do is go to MOMO and click the bookmarklet. Easy as that!</p>
<h2>Tired of clicking the bookmarklet?</h2>
<p>Install <a href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en">Tampermonkey</a> for Chrome, or <a href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/">Greasemonkey</a> for Firefox and add the following UserScript:</p>
<pre>
<code>// ==UserScript==
// @name Better MOMO
// @namespace http://tadams88.github.io/better-momo/
// @version 0.1
// @description Makes MOMO Better
// @match http://momo/TimesheetMain.aspx*
// @match http://momo/
// @copyright 2014+, Ted Adams
// ==/UserScript==
(function(a){
var b = a.createElement('script');
b.src = '//tadams88.github.io/better-momo/src/betterMomo.js';
a.getElementsByTagName('head')[0].appendChild(b);
})(document);</code>
</pre>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-9">
<h2>Features</h2>
<ul>
<li>
<h3>Time Tracking</h3>
<p>Click the play button next to any of your time inputs and, as long as you keep the window open, the script will automatically add your time spent.</p>
<p>Switching to another task? Click the play button next to your new task and time will be added there. If a comment is required on your previous task the comment popup will appear.</p>
<p>Finished for the day? Just hit the pause button next to your active task. If a comment is required the popup will appear, and then you can save.</p>
</li>
<li>
<h3>Localized Current Day</h3>
<p>MOMO displays the current day as the current day in NZ (which is always a day off in the US). Better MOMO corrects this.</p>
</li>
<li>
<h3>Updated Styles</h3>
<p>Modifies styling of the page so it isn't such a sprawling white expanse. (NOTE: Does not work in compatibility mode, which is turned on by default in Internet Explorer for intranet pages.)</p>
</li>
</ul>
</div>
<div class="col-md-3">
<h2>Developer?</h2>
<p>Come contribute something!</p>
<p><a href="https://github.com/tadams88/better-momo" class="btn btn-default" role="button">View on Github</a></p>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</body>
</html>