Skip to content

Commit

Permalink
added fixes according to suggestions from conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Frank Hoffmann authored and Dr. Frank Hoffmann committed Oct 1, 2018
1 parent 32d4b16 commit 655b33a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/ZMI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ needed by ace-editor to determine the fitting syntax high-lighting.
ZPT-Example see: ``../Zope/src/Products/PageTemplates/www/ptEdit.zpt``

**File upload element:**
The file upload element has an own form container (classfied as ``zmi-upload``).
The file upload element has it's own form container (classfied as ``zmi-upload``).
All subseqeunt elements are nested as 'input-group' containing a div classified as
``custom-file`` nestingthe actual input element. An inline JS fired on the
onchange-event beautifies the file name showed after selecting it.
Expand All @@ -239,15 +239,16 @@ by the width defining div-container). Possible text colors are declared by
typical bootstrap class names like ``text-warning``.

**Icons:**
Zope4 object classes which are show in the ZMI have declared a global variable
Zope4 object classes which are shown in the ZMI have declared a class variable
``zmi_icon``; this string corresponds to an appropiate font icon-CSS class
supplied by the Fontawsome web font (https://fontawesome.com/icons)

**Tables:**
Bootstraps requires an explictit CSS class ``table`` for any table; espcially
long item lists should get an additional CSS class ``table-sm`` and maybe another
class ``table-striped`` for a better readability. Finally it is recommended
to add a specific identifying class name. The table structure is
to add a specific identifying class name. The table structure is compliant to
bootstrap standard table (https://getbootstrap.com/docs/4.1/content/tables/).

**ZMI-classes:**
All basic stylings of the zmi-elements are defined in the CSS file, see:
Expand Down

0 comments on commit 655b33a

Please sign in to comment.