forked from fyyyyy/Toggl-to-Jira-Chrome-Extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
78 lines (75 loc) · 2.49 KB
/
popup.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
<!DOCTYPE html>
<!--
* Copyright (c) 2016 Frank Trigub. All rights reserved.*
frankyyyy at live com
-->
<html>
<head>
<title>Toggl 2 JIRA</title>
<script type="text/javascript" src="jquery.min.js">
</script>
<script type="text/javascript" src="lodash.core.js">
</script>
<script type="text/javascript" src="dateTimeHelpers.js">
</script>
<script type="text/javascript" src="identity.js">
</script>
<script type="text/javascript" src="parser.js">
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<ul style="float: right; list-style: none;">
<li><a href="https://www.patreon.com/fryyyy?ty=h" target="_blank">support me</a></li>
<li><a href="options.html">Options</a></li>
</ul>
<h3 style="margin-bottom: 0px;">
<img src="/toggl2jira_32.png" height="14" />
Toggl To JIRA
</h3>
<i id="connectionDetails"></i>
<p>
Log toggl entries to JIRA tasks via <strong>log work</strong>
</p>
<fieldset>
<label for="start-date" style="padding-left: 5px;">Start Date</label>
<input type="date" name="start-date" id="start-picker" />
<label for="end-date" style="padding-left: 10px;">End Date</label>
<input type="date" name="end-date" id="end-picker" />
<button id='next-day' title="Next Day" class="littleButton">></button>
<button id='previous-day' title="Previous Day" class="littleButton"><</button>
</fieldset>
<br />
<table>
<theader>
<tr>
<th>
</th>
<th>
Issue
</th>
<th>
Toggl Task Description
</th>
<th>
Date
</th>
<th>
Duration
</th>
<th>
Jira Work Log Comment
</th>
<th>
Logged?
</th>
</tr>
</theader>
<tbody id="toggle-entries">
</tbody>
</table>
<button id="submit">Log work to JIRA</button>
<br />
<p id="error"></p>
</body>
</html>