Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
protogrid:locally_hide_ui_elements [2018-03-21 20:04] – dru | protogrid:locally_hide_ui_elements [2022-04-14 23:19] (current) – dru | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Locally Hide Ui Elements ====== | + | ====== Locally Hide UI Elements |
- | This article explains how to locally hide UI elements like notifications, | + | This article explains how to locally hide UI elements like [[notifications]], [[protogrid: |
- | You can use the [[protogrid: | + | You can use the [[protogrid: |
- | For example | + | Please note: These settings apply only to the UI and must not be used for safety-related purposes. |
+ | |||
+ | |||
+ | === Example === | ||
+ | To reduce distractions for less experienced users you could add the following code to the bottom of a newly created [[protogrid: | ||
<code javascript> | <code javascript> | ||
- | mod_csl_helpers().locally_hide_elements([" | + | mod_csl_helpers().locally_hide_elements([" |
</ | </ | ||
- | Now, create a [[protogrid: | + | Then create a [[protogrid: |
- | ==List of hideable UI elements== | ||
- | In the notification bar: | + | === List of Hideable UI Elements === |
- | n bar: | + | |
- | < | + | == Notification Bar == |
- | message | + | < |
- | warning | + | "message" |
- | error | + | "warning" |
+ | "error" | ||
+ | " | ||
</ | </ | ||
- | In the card menu: | + | Note: Hidden notifications can still be viewed by clicking on the small hamburger |
- | < | + | |
- | print_card | + | == Card Menu == |
- | card_properties | + | < |
- | open_proto | + | " |
- | trash_single | + | "card_properties" |
- | to_menu | + | " |
+ | "trash_single" | ||
+ | "to_menu" | ||
</ | </ | ||
- | In the TableView | + | == TableView |
- | < | + | < |
- | import_csv | + | "trash_multiple" |
- | export_csv | + | "card_update" |
- | trash_multiple | + | |
- | card_update | + | |
</ | </ |