Skip to content

Commit

Permalink
Extend web tabs to support more iframe options
Browse files Browse the repository at this point in the history
  • Loading branch information
tonykay committed Nov 21, 2024
1 parent 82957e0 commit 91c1262
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
14 changes: 11 additions & 3 deletions ansible/roles/showroom/templates/service_web1/tab_web1.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<div id="web1_tab" class="tabcontent">
<iframe id="web1" src="{{ showroom_tab_web1_url }}" width="100%" style="border:none;"></iframe>
</div>
<div id="web1_tab" class="tabcontent">
<iframe
id="web1"
src="{{ showroom_tab_web1_url }}"
sandbox="allow-scripts allow-same-origin"
allow="fullscreen"
referrerpolicy="no-referrer"
width="100%"
style="border:none;">
</iframe>
</div>
10 changes: 9 additions & 1 deletion ansible/roles/showroom/templates/service_web2/tab_web2.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<div id="web2_tab" class="tabcontent">
<iframe id="web2" src="{{ showroom_tab_web2_url }}" width="100%" style="border:none;"></iframe>
<iframe
id="web2"
src="{{ showroom_tab_web2_url }}"
sandbox="allow-scripts allow-same-origin"
allow="fullscreen"
referrerpolicy="no-referrer"
width="100%"
style="border:none;">
</iframe>
</div>

0 comments on commit 91c1262

Please sign in to comment.