Display short status messages and links in a single horizontal bar. Each row adds one segment. When there are several segments, the last one aligns to the far edge. If the segments do not all fit, scroll the bar horizontally to see the rest.
Introduced in SQLPage v0.49.0.
Top-level parameters
name
required
type
description
class
TEXT
class attribute added to the container in HTML. It can be used to apply custom styling to this item through css. Added in v0.18.0.
fixed
BOOLEAN
Keep the bar at the bottom of the screen while the page scrolls. Defaults to true. A fixed bar overlays page content, so leave space below your last item if needed. Set to false to place the bar in the page where the SQL appears.
id
TEXT
id attribute added to the container in HTML. It can be used to target this item through css or for scrolling to this item through links (use "#id" in link url).
label
TEXT
Accessible name for the bar. Defaults to "Status bar".
Row-level parameters
name
required
type
description
class
TEXT
class attribute added to the container in HTML. It can be used to apply custom styling to this item through css. Added in v0.18.0.
Text shown when hovering over the segment or focusing its link. For an icon without a title, supply a tooltip to give the segment an accessible name.
Example 1
A query workspace shows the database connection, row count, and a link to the function reference. Omit fixed to pin this bar to the bottom of the screen.
select
'status_bar' as component,
'Query status' as label,
FALSE as fixed;
select
'Connected' as title,
'database' as icon,
'green' as color,
'Connected to the reporting database' as tooltip;
select
'24 rows' as title;
select
'SQL functions' as title,
'book' as icon,
'/functions.sql' as link;