-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
53 lines (46 loc) · 1.43 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
<!DOCTYPE html>
<html>
<head>
<title>Wunderlist → Trello</title>
<style type="text/css">
.completed {
opacity: 0.5;
}
.info{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 1px solid;
padding: 20px;
box-shadow: 2px 2px 0px 0px #bbb, 0 0 200px 200px white;
display:none;
background: white;
}
.info__task{
font-weight: bold;
}
</style>
</head>
<body>
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="wtt.js"></script>
<!-- -->
<form action="" onsubmit="javascript:WTT.getTrello($('#api-key').val());return false;">
<input type="text" name="" placeholder="API_KEY" id="api-key" value="">
<button type="submit">Auth me</button>
</form>
<textarea id="wunderlist-json" placeholder="PASTE YOUR WUNDERLIST JSON HERE" onchange="javascript:WTT.parseJSON();"></textarea>
<form action="#" onsubmit="javascript:WTT.export();return false;">
<p><label>Board <input type="text" id="board-id" name="board-id" value=""></label></p>
<p><label>Include completed tasks <input type="checkbox" name="include-completed" checked=""></label></p>
<div>
<button type="submit">Export</button >
</div>
</form>
<ul id="wunderlist-lists" onmousedown="javascript:WTT.toggleTasks()"></ul>
<div class="info">
<p>Added task <span class="info__task"></span></p>
</div>
</body>
</html>