File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ < div id ="playground-survey " onclick ="openSurvey(); ">
2+ < p id ="playground-survey-text "> We are looking for your feedback! </ p > < p id ="playground-survey-text-underlined "> Click here to participate</ p >
3+ < img id ="playground-survey-close " src ="images\close.png " onclick ="closeSurveyBanner(); "/>
4+ </ div >
15< div id ="steps-nav-bar ">
26 < div id ="steps-ul-dev ">
37 < ul id ="steps-ul " class ="steps-ul ">
@@ -28,4 +32,19 @@ <h3>Welcome to the Power BI Embedded Playground</h3>
2832</ div >
2933
3034< div id ="mainContent ">
31- </ div >
35+ </ div >
36+
37+ < script >
38+ var showSurveyBanner = true ;
39+ function closeSurveyBanner ( ) {
40+ showSurveyBanner = false ;
41+ $ ( "#playground-survey" ) . hide ( ) ;
42+ }
43+
44+ function openSurvey ( ) {
45+ if ( ! showSurveyBanner )
46+ return ;
47+
48+ window . open ( "https://aka.ms/pbieplaygroundsurvey" , '_blank' ) ;
49+ }
50+ </ script >
Original file line number Diff line number Diff line change @@ -1857,4 +1857,39 @@ input:checked + .slider.round {
18571857 right : calc ( 50% - 60px ) ;
18581858 position : absolute;
18591859 font-size : 14px ;
1860+ }
1861+
1862+ # playground-survey {
1863+ height : 48px ;
1864+ text-align : center;
1865+ background-color : # F2C811;
1866+ padding : 12px ;
1867+ border-bottom : solid 1px # F1F1F1;
1868+ cursor : pointer;
1869+ }
1870+
1871+ # playground-survey : hover {
1872+ background-color : # ddb612;
1873+ }
1874+
1875+ # playground-survey-text , # playground-survey-text-underlined {
1876+ font-size : 16px ;
1877+ font-weight : 600 ;
1878+ display : inline-block;
1879+ }
1880+
1881+ # playground-survey-text-underlined {
1882+ text-decoration : underline;
1883+ }
1884+
1885+ # playground-survey-close {
1886+ float : right;
1887+ margin-top : 4px ;
1888+ margin-right : 8px ;
1889+ }
1890+
1891+ @media only screen and ( max-width : 500px ) {
1892+ # playground-survey {
1893+ display : none;
1894+ }
18601895}
You can’t perform that action at this time.
0 commit comments