forked from microsoft/PowerBI-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.html
42 lines (36 loc) · 1.05 KB
/
report.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
<!DOCTYPE html>
<div id="authorize-step-wrapper">
</div>
<div id="embed-and-interact-steps-wrapper">
<div class="topPanel">
<div id="settings"></div>
<div id="embedCodeDiv"></div>
<div id="logWindow"></div>
</div>
<div class="bottomPanel">
<div id="embedArea">
<div class="editorTitle">
<div class="editorTitleText">Embedded report</div>
</div>
<div id="reportContainer"></div>
</div>
</div>
</div>
<script>
$(document).ready(function() {
$("#authorize-step-wrapper").load("step_authorize.html");
LoadLogWindow("#logWindow");
var modeUrlParam = GetParameterByName("mode");
var mode = modeUrlParam ? modeUrlParam : "view";
if (GetParameterByName("embedUrl") || GetParameterByName("embedId") || GetParameterByName("accessToken"))
{
OpenEmbedStep(mode);
}
else
{
// Open Authorization Step after this page loads.
OpenAuthStep();
}
Log = InitLogger("txtResponse");
});
</script>