Skip to content

Commit

Permalink
advanced-usage: add iframe widget
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander committed Nov 23, 2023
1 parent b9db240 commit 1267786
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Binary file added advanced-usage/iframe-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added advanced-usage/iframe-widget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions advanced-usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ This is primarily useful for underwater vehicles.
Configuration determines whether the exact depth value is shown, and the colour of the lines:
{{ easy_image(src="depth-hud-config", width=500, center=true) }}

##### IFrame

The iframe widget provides an inline frame that can display another HTML page within the Cockpit interface.
This is particularly useful for showing the interfaces for BlueOS Extensions:
{{ easy_image(src="iframe-widget", width=400, center=true) }}

Configuration determines the URL to fetch the page from, as well as the overall transparency of the iframe:
{{ easy_image(src="iframe-config", width=400, center=true) }}

##### Image Viewer

The image viewer widget shows an image that is accessible to the control station computer via its network.
Expand Down

0 comments on commit 1267786

Please sign in to comment.