Card
Below is an example configuration of a panel using the Card module:
The view_params are:
model: The model shown in the card
url_name: Unique reference for the panel
field_definition:
footer_setting: Basic setting for the footer such as privilege
bg_class_setting: The setting of the background
success: The background is green when the field is True
danger: The background is red when the field is False
heading_field: The heading of the card
group_items:
label: The heading of the field in the card
field_name: The field in the model
format: The format of the input box
input: The input type
select_options: The option of the input
mapping: The mapping of the options
allowed_user_group: The user group who can see the content
Last updated