forked from microsoft/PowerBI-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatic.html
50 lines (43 loc) · 2.42 KB
/
static.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 charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Power BI - Sample - Client - JavaScript</title>
<base path="/" />
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="styles/app.css" />
</head>
<body>
<div class="container">
<h1>Power BI - Sample - Client - Javascript</h1>
<p>Demonstrate how to embed reports and interact with them using the api provided by the core library. <a href="https://github.com/microsoft/PowerBI-JavaScript" target="_blank">PowerBI-JavaScript</a></p>
<h2>Scenarios:</h2>
<ul id="navigation" class="nav nav-pills">
<li id="pageLinkStatic" class="active"><a href="index.html">Scenario 1: Static Embed</a></li>
<li id="pageLinkDynamic" class=""><a href="dynamic.html">Scenario 2: Dynamic Embed</a></li>
<li id="pageLinkPageNav" class=""><a href="pagenavigation.html">Scenario 3: Custom Page Navigation</a></li>
<li id="pageLinkFilters" class=""><a href="filters.html">Scenario 4: Custom Filter Pane</a></li>
<li id="pageLinkDefaults" class=""><a href="defaults.html">Scenario 5: Default Page and/or Filter</a></li>
<li id="pageLinkSettings" class=""><a href="settings.html">Scenario 6: Update Settings</a></li>
<li id="pageLinkDataSelection" class=""><a href="dataselection.html">Scenario 7: Data Selection</a></li>
</ul>
<h2>Static Embed</h2>
<p>Report to embed is known by the developer.</p>
<div id="reportstatic" class="powerbi-container"></div>
<br>
<p>
<button type="button" id="getId" class="btn btn-warning">Get Report ID</button>
<button type="button" id="fullscreen" class="btn btn-warning">Toggle Fullscreen</button>
<button type="button" id="reloadReport" class="btn btn-warning">Reload Report</button>
<button type="button" id="printReport" class="btn btn-warning">Print Report</button>
</p>
</div>
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/es6-promise/dist/es6-promise.js"></script>
<script src="node_modules/fetch/lib/fetch.js"></script>
<script src="node_modules/powerbi-client/dist/powerbi.js"></script>
<script src="app/index.js"></script>
</body>
</html>