diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst index 86ffd44c49bcba3b8f2166ce9f4dc69784ffdb13..43ace6634d30c8c402b52e7af22c5ba3cf50527f 100644 --- a/extension/Documentation/Manual.rst +++ b/extension/Documentation/Manual.rst @@ -461,13 +461,13 @@ Extension Manager: QFQ Configuration +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+ | cssClassQfqFormBody | qfq-color-grey-2 | Wrap around FormElements: CSS Class, typically a background color. | +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+ -| formBsColumns | 12 | The whole form will be wrapped in 'col-md-??'. Default is 12 for 100%. | +| formBsColumns | col-md-12 col-lg-10 | The whole form will be wrapped. See `bs-custom-field-width`_ | +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+ -| formBsLabelColumns | 3 | Default number of BS columns for the 'label'-column. | -+-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+ -| formBsInputColumns | 6 | Default number of BS columns for the 'input'-column. | -+-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+ -| formBsNoteColumns | 3 | Default number of BS columns for the 'note'-column. | +| formBsLabelColumns | col-md-3 col-lg-3 | The column get the width. See `bs-custom-field-width`_ | ++-------------------------------+-------------------------------------------------------+ | +| formBsInputColumns | col-md-6 col-lg-6 | | ++-------------------------------+-------------------------------------------------------+ | +| formBsNoteColumns | col-md-3 col-lg-3 | | +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+ | extraButtonInfoInline | <img src="info.png"> | Image for `extraButtonInfo`_ (inline). | +-------------------------------+-------------------------------------------------------+----------------------------------------------------------------------------+ @@ -2113,7 +2113,7 @@ Definition |BS Label Columns | The bootstrap grid system is based on 12 columns. The sum of *bsLabelColumns*, | +-------------------------+ *bsInputColumns* and *bsNoteColumns* should be 12. These values here are the base values | |BS Input Columns | for all *FormElements*. Exceptions per *FormElement* can be specified per *FormElement*. | -+-------------------------+ Default: label=3, input=6, note=3. See `form-layout`_. | ++-------------------------+ Default: label=col-md-3, input=col-md-6, note=col-md-3. See `form-layout`_. | |BS Note Columns | | +-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+ |multiMode | NOT IMPLEMENTED - 'none, horizontal, vertical' (Default 'none') | @@ -2288,7 +2288,7 @@ Parameter +=============================+========+==========================================================================================================+ | dbIndex | int | Database credential index, given via `config-qfq-php`_ to let the current `Form` operate on the database.| +-----------------------------+--------+----------------------------------------------------------------------------------------------------------+ -| bsColumns | int | Wrap the whole form in '<div class="col-md-??"> | +| bsColumns | string | Wrap the whole form in '<div class="col-md-.. col-lg-..">. See `bs-custom-field-width`_. | +-----------------------------+--------+----------------------------------------------------------------------------------------------------------+ | maxVisiblePill | int | Show pills upto <maxVisiblePill> as button, all further in a drop-down menu. Eg.: maxVisiblePill=3. | +-----------------------------+--------+----------------------------------------------------------------------------------------------------------+ @@ -2698,12 +2698,12 @@ Fields: |Size | string |Visible length of input element. Might be omitted, depending on the chosen form layout. | | | |Format: <width>,<height> (in characters) _`field-size` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|BS Label Columns | string | Number of bootstrap grid columns for label. By default empty, value inherits from the form. | -| | | _`field-bsLabelColumns` | -+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|BS Input Columns | string | Number of bootstrap grid columns for input. By default empty, value inherits from the form. | -+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|BS Note Columns | string | Number of bootstrap grid columns for note. By default empty, value inherits from the form. | +|BS Label Columns | string | Number of bootstrap grid columns. By default empty, value inherits from the form. | +| | | _`field-bsLabelColumns`. See `bs-custom-field-width`_ | ++---------------------+-----------------------------+ | +|BS Input Columns | string | | ++---------------------+-----------------------------+ | +|BS Note Columns | string | | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |Label / Input / Note | enum(...) | Switch on/off opening|closing of bootstrap form classes _`field-rowLabelInputNote` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ @@ -4154,6 +4154,8 @@ The used default column (=bootstrap grid) width is *3,6,3* (col-md , col-lg) for A column will be switched off (no wrapping via `<div class='col-md-?>`) by setting a `0` on the respective column. +.. _bs-custom-field-width: + Custom field width ^^^^^^^^^^^^^^^^^^ diff --git a/extension/Documentation/Release.rst b/extension/Documentation/Release.rst index 955d066935c24f726128f69e5953bc476a7067d8..6f36c390e8cf0f4756e6009590d3b01c11b3c823 100644 --- a/extension/Documentation/Release.rst +++ b/extension/Documentation/Release.rst @@ -30,6 +30,9 @@ Date: <date> Notes ^^^^^ +* Existing installations: update QFQ extension config form-layout.formBsColumns/formBsLabelColumns/formBsInputColumns,formBsNoteColumns. + old: 12, new: 'col-md-12 col-lg10' resp. smaller values for individual columnns. + Features ^^^^^^^^