forked from microsoft/PowerBI-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings_embed_tile.html
38 lines (36 loc) · 1.79 KB
/
settings_embed_tile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div id="tile-embed-table">
<div id="wrapper-settings-div">
<h8>Select token type:</h8>
<div id="typeSelector">
<label class="radioContainer">
<div onclick="OnTokenTypeRadioClicked(1);"><input type="radio" name="tokenType" value="1" checked="checked"> Embed token </input>
<span class="checkmark"></span></div>
</label>
<label class="radioContainer">
<div onclick="OnTokenTypeRadioClicked(0);"><input type="radio" name="tokenType" value="0"> AAD token </input>
<span class="checkmark"></span></div>
</label>
</div>
<div class="spacer"></div>
<div id="embedModeInput">
<h8>Fill in the fields below to get the code to embed your tile.</h8>
<div class="spacer"></div>
<div class="inputLine">
<div class="inputLineTitle">Embed Token</div>
<input type="text" id="txtAccessToken" onchange="UpdateSession(this, SessionKeys.AccessToken);" />
</div>
<div class="inputLine">
<div class="inputLineTitle">Embed URL</div>
<input type="text" id="txtTileEmbed" onchange="UpdateSession(this, SessionKeys.EmbedUrl);" value="https://embedded.powerbi.com/embed"/>
</div>
<div class="inputLine">
<div class="inputLineTitle">Dashboard ID</div>
<input type="text" id="txtEmbedDashboardId" onchange="UpdateSession(this, SessionKeys.DashboardId);"/>
</div>
<div class="inputLine">
<div class="inputLineTitle">Tile ID</div>
<input type="text" id="txtEmbedTileId" onchange="UpdateSession(this, SessionKeys.EmbedId);"/>
</div>
</div>
</div>
</div>