#collections: # ---------------------------------------------------------------------------- # Module Default Settings # # - label: Module Configuration # name: module_default_settings # files: # ------------------------------------------------------------------------ # J1 Back2Top # - label: J1 Back2Top name: config_back2top file: packages/400_template_site/_cc_test_data/_data/modules/defaults/back2top.yml fields: # -------------------------------------------------------------------- # Description (used for J1 CC only) # - label: description name: description widget: object fields: - { label: module name, name: title, widget: string, hint: Provides a button displayed at the bottom of every page to scroll to the top } - { label: scope, name: scope, widget: string, hint: Scope the data is used } - { label: data file, name: location, widget: string, hint: Folder the configuration file is stored (relative to site root) } # -------------------------------------------------------------------- # User settings # - label: default settings name: defaults hint: Defauklt configuration settings for J1 Back2Top widget: object fields: - { label: enabled, name: enabled, widget: boolean, hint: Enables or Disables the module } - { label: anchor keyword, name: anchorkeyword, widget: string, hint: description } - { label: active color, name: active_color, widget: string, hint: Active color of the button } - { label: background color, name: background_color, widget: string, hint: Background color of the button } - { label: icon, name: icon, widget: string, hint: TBD } - { label: icon family, name: icon_family, widget: select, options: [ MDI, FA ], hint: TBD } - { label: startline, name: startline, widget: number, min: 100, max: 500, hint: description } - { label: scrollto, name: scrollto, widget: number, min: 0, max: 100, hint: description } - { label: scrollduration, name: scrollduration, widget: number, min: 500, max: 5000, hint: description } - { label: fadeduration, name: fadeduration, widget: number, min: 500, max: 1500, hint: description } - { label: result control HTML, name: controlHTML, widget: text, hint: HTML to render the scroll button } - { label: control attrs, name: controlattrs, widget: string, hint: TBD }