カテゴリ

ダッシュボードのフォームをまとめます。

  1. categories 属性
  2. Category オブジェクト

categories 属性

config.yaml の最上位の categories リスト:

属性 説明
categories
array

Categories
🔗 valid category object

The categories group the forms together in a tree-like view. The Default category is mandatory and holds all forms without a category.

追加 3.1.0

Added nested categories

例:

1) Categories

categories:
- name: Default          # is mandatory
  icon: bars
- name: Provisioning
  icon: pencil-alt
- name: Decommissioning
  icon: trash-alt
  items:                 # sub categories
    - name: Linux
      icon: star
    - name: Windows
      icon: bullseye  

Category オブジェクト

categories リストの各エントリ:

A category groups together 1 or more forms.

属性 説明
name
string / required / unique

The name of the category
alphanumeric + dash + underscore + space

The name of a category has to be unique. The Default category is mandatory and holds all non-category forms.

icon
string

Category icon
Free fontawesome 6 icon

You can add a nice icon to your categories. The icon name is a free fontawesome 6 icon. You can find more information at www.fontawesome.com.

items
object
added in version 3.1.0

Sub categories
A category object

A category can have sub categories, which is again a category object.

Examples

1) Categories

categories:
- name: Default          # is mandatory
  icon: bars
- name: Provisioning
  icon: pencil-alt
- name: Decommissioning
  icon: trash-alt
  items:                 # sub categories
    - name: Linux
      icon: star
    - name: Windows
      icon: bullseye