Skip to content

Commit de82aee

Browse files
committed
Merged PR 21984: add deprecation note
add deprecation note
2 parents 5c7aab6 + 692f97e commit de82aee

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

demo/code-demo/step_authorize.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
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>

demo/code-demo/style/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,16 @@ a:hover, a:visited, a:link, a:active
8787
margin-right: 30px;
8888
}
8989

90+
#deprecationNote {
91+
margin-bottom: 30px;
92+
}
93+
94+
#deprecationNote .pageTitle {
95+
margin-bottom: 15px;
96+
font-weight: normal;
97+
color: red;
98+
}
99+
90100
#sampleReportImgDiv img {
91101
width: 265px;
92102
height: 180px;

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
</body>
55

66
<script>
7-
window.location = "code-demo/index.html";
7+
window.location = "v2-demo/index.html";
88
</script>
99
</html>

0 commit comments

Comments
 (0)