import:
  admin/admin:
    path: $GRAMEXAPPS/admin2/gramex.yaml    # Note the "admin2" instead of "admin"
    YAMLURL: /$YAMLURL/admin/               # URL to show the admin page at

  admin/admin-kwargs:
    path: $GRAMEXAPPS/admin2/gramex.yaml
    YAMLURL: /$YAMLURL/admin-kwargs/
    ADMIN_KWARGS:
      logo: https://gramener.com/uistatic/gramener.png
      title: Admin Page Options
      theme: '?primary=%2320186f&dark=%2320186f&font-family-base=roboto&body-bg=%23f8f8f8'
      components: [info, shell, users]

  admin/admin-user:
    path: $GRAMEXAPPS/admin2/gramex.yaml
    YAMLURL: /$YAMLURL/admin-user/
    ADMIN_KWARGS:
      logo: https://gramener.com/uistatic/gramener.png
      title: User Management
      theme: '?primary=%2320186f&dark=%2320186f&font-family-base=roboto&body-bg=%23f8f8f8'
      components: [users]
      authhandler: auth/dbsimple

  admin1:
    path: $GRAMEXAPPS/admin/gramex.yaml   # Source of the app
    YAMLURL: /$YAMLURL/admin1/            # Location to mount at
    ADMIN_LOOKUP:
      url: $YAMLPATH/../auth/lookup.xlsx
      id: user
    ADMIN_USER: ['alpha']
    ADMIN_ROLE: ['admin']
    LOGIN_URL: /$YAMLURL/../auth/db
    LOGOUT_URL: /$YAMLURL/../auth/logout
