Table of contents
If modules are to be written for xentral, some rules regarding the layout must be observed in order to create a uniform interface.
Error messages must always be specified above the live table, but - if present - be specified below the fieldset:
The "Menu" column must be kept as small as possible, however the size depends on the number of icons it contains. The last value in the Array is the column width of the menu. Example:
$width = array('10%', '10%', '24%','20%','15%','10%', '10%', '1%');
If an overview is displayed with a live table, the tab "Overview" must be used. Example:
If fieldsets are to be placed next to each other, set the bootstrap class around the fieldsets so that the fieldsets automatically adjust when the window is shrunk.
The labels in front of text fields should always end with a colon:
A TimePicker should be used to simplify the selection of a time:
Textareas can be expanded with formatting possibilities with the help of the CkEditor function.
The standard dialogs are opened in a separate window when editing entries.
To be able to save settings later, the following specifications must be observed:
- A "Save" button must always be available for saving
- If the settings area is not saved despite changes made, a message should appear
- Simple filter functions with direct, visual feedback without a button are to be created, if this is possible
- Actions should always be executable via buttons
If the file ./themes/new/css/custom.css or for PopUp ./themes/new/css/custom_popup.css exists xentral includes this file at the end. Thereby an independent access to the layout is possible.