Commit f8cf4e8b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Manual.rst: several places where the bs-column description are updated with...

Manual.rst: several places where the bs-column description are updated with the new way 'col-md-...' instead of '12'
parent 5bce7966
Pipeline #1137 passed with stage
in 1 minute and 41 seconds
......@@ -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
^^^^^^^^^^^^^^^^^^
......
......@@ -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
^^^^^^^^
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment