Skip to content

Commit 692f97e

Browse files
committed
move deprecation note above.
1 parent bf1df94 commit 692f97e

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

demo/code-demo/step_authorize.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
<!DOCTYPE html>
22
<div id="authStepDiv">
33
<div id="sampleReport" class="pbi-line">
4+
<div id="deprecationNote">
5+
<div class="pageTitle">
6+
<h3>Deprecation Note</h3>
7+
</div>
8+
This sample is deprecated. please use the new sample available
9+
<a href="https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html">here</a>.
10+
11+
<br/>
12+
13+
The new sample accommodates the changes announced in the embedded offering described in
14+
<a href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/">Power BI Documentation page</a>.
15+
</div>
16+
417
<div class="pageTitle">
518
<h3>Sample Report</h3>
619
<h8>You can embed a sample report and interact with Power BI Embedded firsthand by clicking below.</h8>
720
</div>
821
<div class="settings">
922
<button id="GoToEmbedStepButton" class="blueButton" onclick="OpenEmbedStepWithSample()">Embed sample report</button>
1023
</div>
11-
12-
<div id="deprecationNote">
13-
<div class="title">Deprecation Note</div>
14-
This sample is deprecated. please use the new sample available <a href="https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html">here</a>
15-
</div>
1624
</div>
1725
</div>
1826

demo/code-demo/style/style.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,12 @@ a:hover, a:visited, a:link, a:active
8888
}
8989

9090
#deprecationNote {
91-
margin-top: 30px;
91+
margin-bottom: 30px;
9292
}
9393

94-
#deprecationNote .title {
95-
font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe WP Light', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
96-
font-size: 16px;
97-
font-weight: bolder;
94+
#deprecationNote .pageTitle {
95+
margin-bottom: 15px;
96+
font-weight: normal;
9897
color: red;
9998
}
10099

0 commit comments

Comments
 (0)