-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (76 loc) · 3.52 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Trello GTD</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style>
.btn.material-icons{
font-size: 1.5rem;
line-height: .85;
}
html, body{
height: 100%;
}
body{
background-size: cover;
background-repeat: no-repeat;
}
</style>
</head>
<body>
<div id="login">
Login required
</div>
<div id="mainView" style="display: none;" class="container-fluid mb-3">
<div class="row pt-3 pb-1 mb-3 bg-light">
<form id="newCardForm" class="col-12">
<label class="input-group">
<input id="cardTitle" name="cardTitle" placeholder="New Card Title" class="form-control"/>
<span class="input-group-btn">
<input id="newCardSubmit" class="btn btn-primary" type="submit" value="Add">
</span>
<span class="input-group-btn">
<button class="btn btn-secondary material-icons" type="button" data-toggle="collapse" data-target="#add-config">
settings
</button>
</span>
</label>
<div id="add-config" class="collapse">
<label class="input-group">
<span class="input-group-addon">Board</span>
<select id="new-board" class="custom-select form-control">
</select>
<span class="input-group-addon">Column</span>
<select id="new-column" class="custom-select form-control">
</select>
</label>
</div>
</form>
</div>
<div class="row">
<div class="col">
<label class="input-group">
<span class="input-group-addon">Board</span>
<select id="todo-board" class="custom-select form-control">
</select>
<span class="input-group-addon">Column</span>
<select id="todo-column" class="custom-select form-control">
</select>
</label>
</div>
</div>
<div class="card w-9">
<ul id="todoList" class="list-group list-group-flush">
</ul>
</div>
</div>
<script>window.$ = window.jQuery = require('jquery');</script>
<script src="https://api.trello.com/1/client.js?key=e905d78fbbc1ee59156b8b12f35b6776"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
</body>
<script>require('./renderer.js')</script>
</html>