📫
Automail
  • Introduction
  • Installation
    • Local DEV
    • Containerized PROD
    • Windows PROD
  • Repository
  • Architecture
  • Configurations
    • Settings
    • UI Configuration
      • Site
        • Selectpickers
          • Filter
          • Tokenfield
        • Panels
          • ChartJS
          • Amcharts
          • Table
          • Regular Table
          • Metrics
          • Gallery
          • LeafletMap
          • Itemlist
          • Card
          • Downloads
      • Admin
    • Workflow Configuration
      • Sync Workflows
        • Autoform Nav Elements
      • Custom Workflows
      • Dags
Powered by GitBook
On this page
  1. Configurations
  2. UI Configuration
  3. Site
  4. Panels

Itemlist

Below is an example configuration of a panel using the Itemlist module:

{
    "width": 12,
    "full_row": True,
    "url_name": "panel_listgroup_tables",
    "content": {
        "view": module_views.ListGroup,
        "view_params": {
            "url_open_new_tab": False,
            "context_items": context_items,
        },
    },
}
        

We will define the context_items in url_variables.py like this:

context_items = []
for context_item in [...]:    
    .....
    context_items.append(
        {
            "title":
            "listgroups":
        }
    )

PreviousLeafletMapNextCard

Last updated 7 months ago