forked from fyyyyy/Toggl-to-Jira-Chrome-Extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
69 lines (64 loc) · 2.54 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
<!DOCTYPE html>
<html>
<head>
<title>Toggl 2 Jira Options</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="identity.js"></script>
</head>
<body>
<i style="float: right;"><a href="https://www.patreon.com/fryyyy?ty=h" target="_blank">support me</a></i>
<label><b>Configuration</b></label>
<br />
<br />
<label>Jira Server URL</label> <i>( e.g. <b>https://jira.atlassian.net</b> )</i>
<input id="jira-url" style="width: 100%;" />
<label id="jiraTestResult"></label>
<br />
<br />
<label>Toggl User API Token</label> <i>( Find yours at <b><a href="https://toggl.com/app/profile" target="_blank">https://toggl.com/app/profile</a></b> )</i>
<input id="toggl-api-token" style="width: 100%;" />
<label id="togglTestResult"></label>
<br />
<br />
<hr>
<label><b>Options</b></label>
<br />
<br />
<label>Should merge Toggl Time by...?</label>
<br />
<select id="merge-entries-by">
<option value="no-merge">No merge</option>
<option value="issue-only">By issue only</option>
<option value="issue-and-date">By issue and date</option>
</select>
<br />
<br />
<input type="checkbox" id="use-toggl-description" />
<label>Use Toggl description as Log Work comment</label>
<br />
<i>Only works with 'No merge' option above</i>
<br />
<br />
<label>Default Log Work comment sent with every log</label>
<input id="log-comment" style="width: 100%;" />
<i>Appended to comment if Toggl decription is used above</i>
<br />
<br />
<label>Round duration to next X minutes</label>
<input id="round_minutes" style="width: 100%;" />
<i>15 will round to to the next quarter => 24mins logged will become 30mins etc.</i>
<br />
<br />
<input type="checkbox" id="jump-to-today" />
<label>Always jump to today instead of remembering last logged date</label>
<br />
<br />
<hr>
<button id="save">Save</button>
<label id="status" class="success"></label>
<button id="close" style="float: right;">Close</button>
<!-- Load last since it has pure javascript event handlers -->
<script src="options.js"></script>
</body>
</html>