-
Notifications
You must be signed in to change notification settings - Fork 0
/
qdt-devhub-template.html
50 lines (47 loc) · 1.76 KB
/
qdt-devhub-template.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
<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Qlik Sense Mashup</title>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="cleartype" content="on">
<link rel="stylesheet" href="qdt-devhub-template.css">
<script src="qdt-devhub-template.js"></script>
<script src="qdt-components.js"></script>
</head>
<body style="overflow: auto">
<div class="flex-container">
<div id="QV01" class="qvplaceholder"></div>
<div id="QV02" class="qvplaceholder"></div>
</div>
<!--Error Popup-->
<div id="popup">
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="closePopup"><span aria-hidden="true">×</span></button>
<p id="popupText"></p>
</div>
<script type="text/javascript">
var qConfig = {
"config": {
"host": "localhost",
"secure": false,
"port": 4848,
"prefix": "",
"appId": "Helpdesk Management.qvf"
},
"connections": {
"vizApi": true,
"engineApi": true
}
}
var QdtComponent = new window.QdtComponents(qConfig.config, qConfig.connections);
QdtComponent.render('QdtSelectionToolbar', {height:'300px'}, document.getElementById('QV01'));
QdtComponent.render('QdtViz', {id: 'ycppXj', height:'300px'}, document.getElementById('QV02'));
</script>
</body>
</html>