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

StoreTest.php: fixed phpunit problem with new config.qfq.ini

parent f9075337
......@@ -526,6 +526,8 @@ SQL Statement
* This is only possible for the outermost SELECT.
.. _form-main:
Form: main
----------
......@@ -567,10 +569,10 @@ Form: main
|bsLabelColumns | string | 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|
|bsInputColumns | string | for all *FormElements*. Exceptions per *FormElement* can be specified per *FormElement*.|
+-------------------------+----------------------------------------------------------+ Default: label=3, input=6, note=3 |
+-------------------------+----------------------------------------------------------+ Default: label=3, input=6, note=3. See :ref:`form-layout`. |
|bsNoteColumns | string | |
+-------------------------+----------------------------------------------------------+-----------------------------------------------------------------------------------------+
|parameter | text | Misc additional parameters. See :ref:`form-parameter` |
|parameter | text | Misc additional parameters. See :ref:`form-parameter`. |
+-------------------------+----------------------------------------------------------+-----------------------------------------------------------------------------------------+
|deleted | string | 'yes'|'no'. |
+-------------------------+----------------------------------------------------------+-----------------------------------------------------------------------------------------+
......@@ -1508,11 +1510,34 @@ To make a form dynamic:
* Label and Description are not 'Dynamic Update' aware (Feature Request #2081).
.. _form-layout:
Form Layout
-----------
The forms will be rendered with Bootstrap CSS classes, based on the 12 column grid model (Bootstrap 3.x). The default
column with is 3,6,3 for label, input, note. The default can be changed system wide via config.qfq.ini `config.qfq.ini`_
The forms will be rendered with Bootstrap CSS classes, based on the 12 column grid model (Bootstrap 3.x).
Generally a 3 column layout for *label* columne on the left side, an *input* field column in the middle and a *note*
column on the right side will be rendered.
The used default column (=bootstrap grid) width is *3,6,3* for *label, input, note*.
Individual settings can be done via *FORM_BS_<type>_COLUMNS* (config.qfq.ini) or *bs<type>Columns* (parameter). *type*
is *label*, *input*, *note*.
* The system wide default can be changed via config.qfq.ini :ref:`config.qfq.ini` - the new settings are the default settings for all forms.
* Per *Form* settings can be done in the *Form* parameter field. They overwrite the system wide default.
* Per *FormElement* settings can be done in the *FormElement* parameter field. They overwrite the *Form* setting.
Custom field width
^^^^^^^^^^^^^^^^^^
Per 'row' the width of the three columns 'label', 'input' and 'note' can be configured for via BS Column fields on the
FormElement.
Multiple Elements per row
^^^^^^^^^^^^^^^^^^^^^^^^^
Report
======
......@@ -3278,8 +3303,6 @@ Table: Note
sqlDelete={{DELETE FROM Note WHERE id={{slaveId}} LIMIT 1}}
sqlAfter={{UPDATE Person SET noteIdAvatar={{slaveId}} WHERE id={{id:R0}} LIMIT 1
FAQ
===
......
......@@ -236,6 +236,7 @@ EOT;
F_BS_NOTE_COLUMNS => '3',
F_CLASS_PILL => 'qfq-color-grey-1',
F_CLASS_BODY => 'qfq-color-grey-2',
F_BUTTON_ON_CHANGE_CLASS => 'btn-info alert-info',
];
$fileName = $this->createFile($body);
......
Supports Markdown
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