Skip to content

Commit dc8ef86

Browse files
committed
2 parents 406ad80 + af1ed33 commit dc8ef86

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-3
lines changed

demo/v2-demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<body>
1717
<header>
1818
<div class="logo-text">
19-
<div class="logo-text-span">Microsoft Power BI Embedded Sample</div>
19+
<div class="logo-text-span">Microsoft Power BI Embedded Playground</div>
2020
</div>
2121
</header>
2222
<div id="navbar-content">

demo/v2-demo/sample.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,17 @@
1515
</div>
1616
</div>
1717

18+
<div id="welcome-text">
19+
<h3>Welcome to the Power BI Embedded Playground</h3>
20+
<br>
21+
<div id="sample-tool-description">
22+
While you are here, you can try many of our features without writing any code. <br>
23+
Explore our APIs and see the results instantly so you know the options for your application. <br><br>
24+
To get started, select the sample you want to explore, make any changes to get the results you want, and then click “Run”. <br><br>
25+
<!-- You can check out our Tutorials for guided learning of new features. <br> -->
26+
We add the latest features into the Playground, so you can explore them before adding them to your implementation.
27+
</div>
28+
</div>
29+
1830
<div id="mainContent">
1931
</div>

demo/v2-demo/scripts/report.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ function OpenSamplesStep() {
2626
// Hide Embed view in samples step.
2727
$("#samples-step-wrapper").show();
2828
$("#embed-and-interact-steps-wrapper").hide();
29+
30+
$("#welcome-text").show();
2931
}
3032

3133
function OpenCodeStepFromNavPane()
@@ -48,6 +50,8 @@ function OpenCodeStep(mode, entityType, tokenType) {
4850
$("#samples-step-wrapper").hide();
4951
$("#embed-and-interact-steps-wrapper").show();
5052

53+
$("#welcome-text").hide();
54+
5155
let containers = $(".iframeContainer");
5256
containers.removeClass(active_class);
5357

demo/v2-demo/style/layout.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ header
4040
}
4141

4242
#mainContent {
43-
padding: 16px 8px 8px 8px;
43+
padding: 0 8px 8px 8px;
4444
width: 100%;
4545
background: #F1F1F1;
4646
}
@@ -117,7 +117,7 @@ header
117117
table-layout: fixed;
118118
width: 100%;
119119
height: 330px;
120-
margin-bottom: 15px;
120+
margin: 15px 0 15px 0;
121121
}
122122

123123
.bottomPanel {
@@ -146,6 +146,21 @@ header
146146
height: 100%;
147147
}
148148

149+
#welcome-text {
150+
margin-top: 2px;
151+
padding: 16px 24px 24px 24px;
152+
background: #FFFFFF;
153+
}
154+
155+
#sample-tool-header {
156+
margin-bottom: 16px;
157+
font-size: 24px;
158+
}
159+
160+
#sample-tool-description {
161+
max-width: 1000px;
162+
}
163+
149164
@media only screen and (max-width: 1050px) {
150165
.textAreaControl {
151166
margin-right: 20px;

0 commit comments

Comments
 (0)