forked from HabitRPG/habitica-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
181 lines (169 loc) · 6.8 KB
/
options.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<html>
<head>
<title>HabitRPG Chrome Settings</title>
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/options.js"></script>
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<div id="head">
<div class="container-fluid">
<div class="row-fluid">
<div class="span5 offset2" id="head-title">
<h1>HabitRPG Chrome Settings</h1>
</div>
</div>
</div>
</div>
<br />
<div class="container" id="wrap">
<div class="span4">
<div id="messages"></div>
<form id="habitrpgForm" class="form-horizontal">
<div class="control-group">
<label title="Find this under your settings menu on the HabitRPG Website" for="uid" class="control-label">HabitRPG UserId:</label>
<div class="controls"><input type="text" id="uid" name="uid" /></div>
</div>
<div class="control-group">
<label title="Find this under your settings menu on the HabitRPG Website" for="apiToken" class="control-label">HabitRPG API Token:</label>
<div class="controls"><input id="apiToken" name="apiToken" type="text" /></div>
</div>
<div class="control-group">
<label class="control-label" title="Days in which work hours are in effect">Work Days</label>
<div class="span2">
<label>
<input type="checkbox" id="workMon"> Monday
</label>
<label>
<input type="checkbox" id="workTues"> Tuesday
</label>
<label>
<input type="checkbox" id="workWed"> Wednesday
</label>
<label>
<input type="checkbox" id="workThur"> Thursday
</label>
<label>
<input type="checkbox" id="workFri"> Friday
</label>
<label>
<input type="checkbox" id="workSat"> Saturday
</label>
<label>
<input type="checkbox" id="workSun"> Sunday
</label>
</div>
</div>
<div class="control-group" id="workHours">
<label title="The hours of the day that you'll be punished for lingering on your unproductive websites" class="control-label">Work Hours</label>
<div class="controls">
<input min="0" id="workStart" max="24" maxlength="2" type="number" size="2" />
to
<input min="0" id="workEnd" max="24" maxlength="2" type="number" size="2" />
<a id="alwaysOn" href="#">Always On</a>
</div>
</div>
<div class="control-group">
<label title="How many minutes on a website until you are punished or rewarded" for="interval" class="control-label">Score every</label>
<div class="controls">
<input type="number" name="interval" size="2" min="1" max="30" maxlength="2" id="interval" /> minutes
</div>
</div>
<div class="control-group">
<label title="Vice Domains: Websites you really shouldn't be lingering on during the productive hours of the day; one domain per line" for="viceDomains" class="control-label">Websites where you procrastinate</label>
<div class="controls">
<textarea id="viceDomains" name="viceDomains" rows="10">
reddit.com
9gag.com
facebook.com</textarea>
<span class="help-block">One domain per line</span>
</div>
</div>
<div class="control-group">
<label title="Good Domains: Websites you are rewarded for ultilising; one domain per line" for="goodDomains" class="control-label">Websites where you're productive</label>
<div class="controls">
<textarea id="goodDomains" name="goodDomains" rows="10">
lifehacker.com
codecademy.com
khanacademy.org</textarea>
<span class="help-block">One domain per line</span>
</div>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" class="btn btn-success">Save</button>
</div>
</div>
<div class="controls">
<a id="reDownload" href="#">Download Cloud Data</a>
</div>
</form>
</div>
<div class="span6 offset1" >
<h4>About</h4>
<p><a href="https://habitrpg.com/">HabitRPG</a> is a tracker app which treats your goals like a Role Playing Game to help you be more productive. This extension will help to stop you wasting away the day on those unproductive websites you know you just love to browse. Sites like Facebook or Reddit can eat away the hours of your day when you should be working hard on websites which help you achieve your goals.</p>
<p>The extension will add a Habit to your <a href="https://habitrpg.com/">HabitRPG</a> user entitled "Browsing Productivity" so you can see how often you are punished or rewarded for your browsing habits.</p>
<h4>Changelog v0.1.5</h4>
<h5>12/02/2013</h5>
<ul>
<li>Added cloud storage saving thanks to <a href="https://github.com/ashjolliffe">@AshJolliffe</a> - Log into your Google Account in Chrome to use.</li>
<li>Due to demand have added Work Days to toggle days that Work Hours take effect on.</li>
<li>Added character data to notifications</li>
<li>Added warnings if you have low HP when scored on or entering a vice site.</li>
</ul>
<h4>Changelog v0.1.4</h4>
<h5>10/02/2013</h5>
<ul>
<li>Added CSS styles to most elements thanks to <a href="https://github.com/cgardner">@cgardner</a></li>
<li>Fixed requiring restart after first input of UID & APIToken - <a href="https://github.com/cgardner">@cgardner</a> again.</li>
<li>Added a display for work-hours in the pop-up.</li>
<li>Changed the alert for not having UID or APIToken to a webkit notifaction.</li>
<li>Added tooltips for options elements!</li>
<li>Started writing these fancy changlogs!</li>
</ul>
</div>
</div>
<footer class="footer">
<div class="container">
<div>
<ul>
<li>Copyright © 2012 OCDevel LLC</li>
<li>
<a target="_blank" href="http://habitrpg.com/splash.html">About</a>
</li>
<li>
<a target="_blank" href="http://habitrpg.tumblr.com/">Blog</a>
</li>
<li>
<a target="_blank" href="https://github.com/lefnire/habitrpg/issues?state=open">Bugs</a>
</li>
<li>
<a target="_blank" href="https://trello.com/board/habitrpg/50e5d3684fe3a7266b0036d6">Features</a>
</li>
<li>
<a target="_blank" href="https://github.com/lefnire/habitrpg/wiki/FAQ">FAQ</a>
</li>
<li>
<a target="_blank" href="https://github.com/lefnire/habitrpg/wiki/API">API</a>
</li>
<li>
<a target="_blank" href="https://github.com/lefnire/habitrpg#contact">Contact</a>
</li>
<li>
<a target="_blank" href="http://habitrpg.com/privacy">Privacy</a>
</li>
<li>
<a target="_blank" href="http://habitrpg.com/terms">Terms</a>
</li>
</ul>
</div>
</div>
</footer>
<div id="hidden">
<div class="alert">
<button class="close" data-dismiss="alert">×</button>
</div>
</div>
</body>
</html>