-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (53 loc) · 1.71 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>
<meta charset="utf-8">
<title>Standard Connections Placeholder Example</title>
<!-- In order to use promises, like this example, you will need to include this polyfill to add promises
functionality to the built in Tableau WDC browser (it does not have ES6 functionality by default) -->
<script src="https://www.promisejs.org/polyfills/promise-7.0.4.min.js"></script>
<script src="https://connectors.tableau.com/libs/tableauwdc-2.3.latest.js" type="text/javascript"></script>
<script src="index.js"></script>
<style>
* {
padding: 0px;
margin: 0px;
font-family: Arial, sans-serif;
color: #1c1c1c;
}
body {
background-color: #f5f5f5;
text-align: center;
}
h1 {
margin-top: 30px;
font-weight: normal;
margin-bottom: 15px;
}
p {
margin-bottom: 15px;
line-height: 1.4;
}
button {
padding: 6px 12px;
background-color: #5cb85c;
border: 2px solid #4cae4c;
color: white;
border-radius: 4px;
margin: 0 auto;
font-size: 1.2em;
transition: background-color .4s, border-color .4s;
}
button:hover{
cursor: pointer;
background-color: #3c9e3c;
border-color: #3c9e3c;
}
</style>
</head>
<body>
<h1>JSON Placeholder Web Data Connector <br> Standard Connections</h1>
<p>Example Web Data Connector demonstrating the Standard Connections feature <br>using the <a href="http://jsonplaceholder.typicode.com/">JSON Placeholder REST service</a>.</p>
<button id="submitButton" onclick="send()">Get Data</button>
</body>
</html>