-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (64 loc) · 2.84 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
<html>
<head>
<title>M52 Data Feed</title>
<meta http-equiv="Cache-Control" content="no-store" />
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" type="text/javascript"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" crossorigin="anonymous"></script>
<script src="https://connectors.tableau.com/libs/tableauwdc-2.0.latest.js" type="text/javascript"></script>
<script src="M52.js" type="text/javascript"></script>
<style>
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
not supported by any browser */
}
.pointer {
cursor:pointer;
}
</style>
</head>
<body>
<div class="container container-table">
<div class="row vertical-center-row">
<div class="text-center col-md-4 col-md-offset-4">
<h2>Get Data from Method52</h2>
<form>
<table>
<tr>
<td><label> Server </label></td>
<td><input type="text" id="serverInput" value="http://127.0.0.1:8081"/></td>
</tr>
<tr>
<td><label> Access Token </label></td>
<td> <input type="text" id="tokenInput" value=""/></td>
</tr>
<tr>
</tr>
</table>
</form>
<button type = "button" id = "checkToken" class = "btn btn-success" style = "margin: 10px;">Check Access Token</button>
<table class="table table-hover noselect" id="keySelection">
<thead>
<tr>
<th>Key</th>
<th>Selected
<span id="toggleSelected" class="btn btn-primary btn-xs">toggle</span>
<span id="allSelected" class="btn btn-primary btn-xs">all</span>
</th>
</tr>
</thead>
<tbody class="pointer">
</tbody>
</table>
<button disabled type = "button" id = "submitButton" class = "btn btn-success" style = "margin: 10px;">Go</button>
<div id="errorMsg"></div>
</div>
</div>
</div>
</body>
</html>