-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcurrentuserassignments.html
84 lines (80 loc) · 2.77 KB
/
currentuserassignments.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
<!doctype html>
<html lang="en">
<head>
<title>LeanKit Current User Assignments</title>
<meta http-equiv="Cache-Control" content="no-store" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://connectors.tableau.com/libs/tableauwdc-2.3.latest.js" type="text/javascript"></script>
<script src="./dist/currentuserassignments.bundle.js" type="text/javascript"></script>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col">
<img src="./LeanKit.png" alt="LeanKit" class="logo">
<h1>LeanKit Current User Assignments</h1>
</div>
</div>
<div class="row">
<div class="col">
<div class="alert alert-danger" id="errorMsg" style="display: none;"></div>
</div>
</div>
<div class="row">
<div class="col">
<div id="auth">
<table>
<tr>
<td>
<button id="loginTab" class="btn btn-secondary active">Login</button>
</td>
<td>
<button id="tokenTab" class="btn btn-light">Use Token</button>
</td>
</tr>
</table>
<hr />
<form id="authform">
<div class="form-group">
<label for="account">Account URL</label>
<input id="account" name="account" class="form-control" type="url" placeholder="https://myaccount.leankit.com">
</div>
<div id="loginPanel">
<div class="form-group">
<label for="username">Username</label>
<input id="username" name="username" class="form-control" type="text" placeholder="[email protected]">
</div>
<div class="form-group">
<label for="password">Password</label>
<input id="password" name="password" class="form-control" type="password">
</div>
</div>
<div id="tokenPanel" style="display: none;">
<div class="form-group">
<label for="token">API token</label>
<input id="token" name="token" class="form-control" type="text" placeholder="Ex: eyJhbGciOiJIUzI1NiIsI...">
</div>
</div>
<div class="form-group">
<button id="getBoards" class="btn btn-primary" type="submit">Next ></button>
</div>
</form>
</div>
<div id="boards" style="display: none;">
<div class="form-group">
<label for="boardList" class="label">Select which board(s) to include:</label>
<select id="boardList" name="boardList" class="form-control" multiple size="6">
</select>
<small class="form-text text-muted">Hint: Hold down the CTRL or CMD key to select multiple boards.</small>
</div>
<div class="form-group">
<button id="backButton" class="btn">< Back</button>
<button id="submitButton" class="btn btn-primary">Submit</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>