Skip to content

Commit 8fc86e5

Browse files
author
Amit Shuster
committed
Merged PR 4054: Graphic update and more
Major changes: * Name changed to playground * IE graphic support * Authorize was changed to Select * Radio buttons update * Visual level filters were added * Authorize page was updated with the new samples layout * Sample tool menu update * Mobile embed for dashboard & report fixed * Copy code fixed * Tool mobile support was added * Embedded view grey shoulders removed * Demos tab is now hidden ![1.JPG](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/4054/attachments/1.JPG) ![2.JPG](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/4054/attachments/2.JPG) ![3.JPG](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/4054/attachments/3.JPG) ![4.JPG](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/1dd63332-e003-46a3-ac6f-70213a1bcc2e/pullRequests/4054/attachments/4.JPG)
1 parent 799a267 commit 8fc86e5

30 files changed

+786
-293
lines changed

demo/v2-demo/demos.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div>
2+
<div class="title">
3+
<h2>Demos</h2>
4+
</div>
5+
</div>

demo/v2-demo/images/collapse.svg

Lines changed: 13 additions & 13 deletions
Loading

demo/v2-demo/images/expand.svg

Lines changed: 18 additions & 18 deletions
Loading
120 KB
Loading

demo/v2-demo/images/sampleqna.png

59.2 KB
Loading
319 KB
Loading

demo/v2-demo/images/sampletile.png

18.2 KB
Loading
20.4 KB
Loading

demo/v2-demo/index.html

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,40 @@
1515

1616
<body>
1717
<header>
18+
<div class="logo-text">
19+
<div class="logo-text-span">Microsoft Power BI Embedded Playground</div>
20+
</div>
21+
</header>
22+
<div id="navbar-content">
1823
<div id="navbar">
19-
<div class="logo-text">
20-
<div class="logo-text-span">Microsoft Power BI Embedded Sample</div>
21-
</div>
22-
<div id="top-nav-bar">
23-
<div id="top-ul-dev">
24-
<ul id="top-ul" class="top-ul">
25-
<li id="top-sample" class="top-li-active" onclick="OpenSampleSection();">
26-
<div><a href="#">Sample tool</a></div>
27-
</li>
28-
<li id="top-demos" class="top-li-active"><!-- onclick="OpenDemosSection();" -->
29-
<div><a href="#">Demos</a></div>
30-
</li>
31-
<li id="top-docs" onclick="OpenDocumentationSection();">
32-
<div><a href="#">Documentation</a></div>
33-
</li>
34-
</ul>
24+
<div id="main-nav-bar">
25+
<div id="main-ul-dev">
26+
<ul id="main-ul" class="main-ul">
27+
<li id="main-sample" class="main-li-active" onclick="OpenSampleSection();">
28+
<div><a href="#">Sample tool</a></div>
29+
</li>
30+
<li id="main-demos" class="main-li-active" onclick="OpenDemosSection();" style="display: none;">
31+
<div><a href="#">Demos</a></div>
32+
</li>
33+
<li id="main-docs" onclick="OpenDocumentationSection();">
34+
<div><a href="#">Documentation</a></div>
35+
</li>
36+
</ul>
37+
</div>
3538
</div>
36-
</div>
3739
</div>
38-
</header>
40+
<div id="contentWrapper">
41+
<div id ="sampleContent" class="content">
42+
</div>
3943

40-
<div id="contentWrapper">
41-
<div id ="sampleContent" class="content">
42-
</div>
44+
<div id ="demosContent" class="content">
45+
</div>
4346

44-
<div id ="documentationContent" class="content">
45-
</div>
47+
<div id ="documentationContent" class="content">
48+
</div>
4649

47-
<div id ="anyReportContent" class="content">
50+
<div id ="anyReportContent" class="content">
51+
</div>
4852
</div>
4953
</div>
5054

@@ -62,7 +66,7 @@
6266

6367
<script src="scripts/report.js"></script>
6468

65-
<script src="scripts/step_authorize.js"></script>
69+
<script src="scripts/step_select.js"></script>
6670
<script src="scripts/step_embed.js"></script>
6771
<script src="scripts/step_interact.js"></script>
6872

demo/v2-demo/report.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<div id="authorize-step-wrapper">
2+
<div id="select-step-wrapper">
33
</div>
44
<div id="embed-and-interact-steps-wrapper">
55
<div class="topPanel">
@@ -14,10 +14,10 @@
1414
<div class="editorTitleText">Embedded view</div>
1515
</div>
1616
<div class="textAreaControls">
17-
<button id="btnDesktopView" class="textAreaControl" onclick="EmbedAreaDesktopView();">
17+
<button id="btnDesktopView" class="textAreaControl wide" onclick="EmbedAreaDesktopView();">
1818
<img src="images\pc.png"/> Desktop
1919
</button>
20-
<button id="btnPhoneView" class="textAreaControl" onclick="EmbedAreaMobileView();">
20+
<button id="btnPhoneView" class="textAreaControl narrow" onclick="EmbedAreaMobileView();">
2121
<img src="images\phone.png"/> Phone
2222
</button>
2323
</div>
@@ -51,7 +51,7 @@
5151

5252
<script>
5353
$(document).ready(function() {
54-
$("#authorize-step-wrapper").load("step_authorize.html");
54+
$("#select-step-wrapper").load("step_select.html");
5555

5656
LoadLogWindow("#logWindow");
5757

@@ -81,8 +81,8 @@
8181
}
8282
else
8383
{
84-
// Open Authorization Step after this page loads.
85-
OpenAuthStep();
84+
// Open Select Step after this page loads.
85+
OpenSelectStep();
8686
}
8787

8888
Log = InitLogger("txtResponse");

0 commit comments

Comments
 (0)