Skip to content

Commit

Permalink
added text about implicite
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Frank Hoffmann authored and Dr. Frank Hoffmann committed Oct 2, 2018
2 parents e8a6608 + 655b33a commit 169f833
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/ZMI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ resolvable by the browser aka not simple file system paths.)
Update your Zope2 ZMI template code
+++++++++++++++++++++++++++++++++++

The Zope4 ZMI uses some basic CSS class names of the bootstrap CSS framework
The old Zope2 styling rules did not allow a modern and responsive design. Nnow
the Zope4 ZMI uses some basic CSS class names of the bootstrap CSS framework
and structuring concepts for page layout and forms. A ZMI page usually sequences
following templates nesting the page core:

Expand Down Expand Up @@ -251,4 +252,10 @@ compliant to bootstrap standard table (https://getbootstrap.com/docs/4.1/content

**ZMI-classes:**
All basic stylings of the zmi-elements are defined in the CSS file, see:
``../Zope/src/zmi/styles/resources/zmi_base.css``
``../Zope/src/zmi/styles/resources/zmi_base.css``

**Implicit handling of old Zope2 ZMI templates:** Old templates which do not
contain the ``<main>``-element are automattically postprocessed by a Javascript
function in the browser. The DOM is minimally modified, so that old forms will fit
*somehow* into the Zope4 layout. In the page footer a hint about this autoamtic
customizing is shown.

0 comments on commit 169f833

Please sign in to comment.