forked from tableau/webdataconnector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Simulator.html
executable file
·67 lines (60 loc) · 2.56 KB
/
Simulator.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Cache-Control" content="no-store" />
<title>Web Data Connector Host</title>
<link rel="stylesheet" type="text/css" href="css/simulator.css">
<!-- Use the local version of jquery in case we are offline -->
<!-- <script src="js/jquery-1.11.1.min.js" type="text/javascript"></script> -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" type="text/javascript"></script>
<script src="js/simulator.js" type="text/javascript"></script>
</head>
<body>
<!-- Header DIV -->
<div class="header">
<p>Web Connector URL: </p>
<input type="text" id="url" size="70"/>
<button type="button" id="reload" class="headerButton">Reload</button>
<button type="button" id="incrementalRefresh" class="headerButton">Incremental Refresh</button>
</div>
<!-- Tools Menu -->
<div class="tools">
<div id="tableauObject">
<h4>Fields</h4>
<label for="connectionName">Connection Name:</label>
<input type="text" id="connectionName"/>
<br>
<label for="connectionData">Connection Data:</label>
<input type="text" id="connectionData" />
<br>
<label for="incrementalExtractColumn">Incremental Refresh Column:</label>
<input type="text" id="incrementalExtractColumn" />
<br>
<label for="username">Username:</label>
<input type="text" id="username" />
<br>
<label for="password">Password:</label>
<input type="text" id="password" />
</div>
<br>
</div>
</div>
<!-- Web Data Connector iframe -->
<div class="main">
<iframe id="host-iframe" onload="iframeLoaded()" frameborder="0" style="width: 98%; height:350px;"></iframe>
</div>
<!-- Web Data Connector Results -->
<div id="fetchedData"></div>
<!-- Console / Log spacer -->
<div id="footerSpacer"></div>
<!-- Console / Log -->
<div id="footerHolder">
<div class="footerHead">
<button type="button" id="clearLog">Clear Log</button>
</div>
<div class="log" id="footer">
<div id="log"></div>
</div>
</div>
</body>
</html>