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:06] – 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: |
Line 16: | Line 20: | ||
== Notification Bar == | == Notification Bar == | ||
- | < | + | < |
- | message | + | "message" |
- | warning | + | "warning" |
- | error | + | "error" |
+ | " | ||
</ | </ | ||
+ | |||
+ | Note: Hidden notifications can still be viewed by clicking on the small hamburger menu in the upper right corner of Protogrid. | ||
== Card Menu == | == Card Menu == | ||
- | < | + | < |
- | print_card | + | " |
- | card_properties | + | "card_properties" |
- | open_proto | + | " |
- | trash_single | + | "trash_single" |
- | to_menu | + | "to_menu" |
</ | </ | ||
== TableView Actions Menu == | == TableView Actions Menu == | ||
- | < | + | < |
- | import_csv | + | "trash_multiple" |
- | export_csv | + | "card_update" |
- | trash_multiple | + | |
- | card_update | + | |
</ | </ |