-
Notifications
You must be signed in to change notification settings - Fork 2
/
togglwdc.html
70 lines (66 loc) · 3.13 KB
/
togglwdc.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
<!DOCTYPE html>
<html lang="en" style="height:100%;">
<head>
<title>Toggl Web Data Connector</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" type="text/javascript"></script>
<script src='https://connectors.tableau.com/libs/tableauwdc-2.3.latest.js' type='text/javascript'></script>
<script src="togglwdc.js" type="text/javascript"></script>
</head>
<body style="height:100%;">
<div class="container" style="height:100%;">
<div class="row" style="text-align:center;margin:5px;">
<img src="./toggl-track-logo-pink.png" style="max-width:200px;" />
</div>
<div class="row">
<div class="col-xs-2"></div>
<div class="col-xs-8" style="text-align:center">
<div class="row">
<div class="form-group">
<label>Email</label>
<input type="email" class="form-control" id="email" placeholder="Example: [email protected]" required />
</div>
<div class="form-group">
<label>Workspace ID</label>
<input type="text" class="form-control" id="workspace" placeholder="Example: 999999" required />
</div>
<div class="form-group">
<label>API Token</label>
<input type="text" class="form-control" id="token" placeholder="Example: vz0dt5uu9n2ff4lubls1kgfi3e2l5d8t"
required />
</div>
</div>
<div class="row">
<div class="form-group" style="float:left;">
<label>Start Date</label>
<input type="date" class="form-control" id="startdate" required />
</div>
<div class="form-group" style="float:right;">
<label>End Date</label>
<input type="date" class="form-control" id="enddate" required disabled />
<input type="checkbox" id="today" checked> Always today
</div>
</div>
<div class="row">
<div class="form-group">
<button id="submitb" class="btn btn-primary" type="submit">Get Toggl Data</button>
</div>
</div>
</div>
</div>
<div class="row" style="text-align:center;font-size:.9em;">
<p><i><b>Workspace ID:</b> Use the number shown in the url on the <a
href="https://track.toggl.com/reports/detailed">"Reports"</a> page</i></br>
<i>For example: https://track.toggl.com/reports/detailed/<b>999999</b></i></p>
<p><i><b>API Token:</b> This can be found at the bottom of your "<a href="https://toggl.com/app/profile"
target="_blank">My Profile</a>" page</i></p>
<p>Made by <a href="https://keshiarose.github.io/Toggl-Web-Data-Connector/" target="_blank">Keshia Rose</a></p>
</div>
<div class="row">
</div>
</div>
<img src="https://devplat-hit-counter.herokuapp.com/counter.png" alt="" style="display:none;" aria-hidden="true">
<!-- Hit tracker -->
</body>
</html>