SipX ConfigServer HTML guidelines
From SIPfoundry sipx, The Open Source SIP PBX for Linux - Calivia
under construction
Contents |
HTML forms
Field labels capitalization
Use sentence capitalization for field labels
- good
- Configuration file:
- good
- Prefix for PSTN calls:
- bad
- Configuration File:
Keep labels in properties file to enable localization.
Forms mark-up
Use FieldPanel component in forms to ensure proper labels mark-up.
If you cannot use it directly try to extend it. If it cannot be extended, use the following proper HTML/tapestry mark-up for fields
<label for="id_of_the_component"><span jwcid="jwcid@FieldLabel_or_jwcid">My label</span>:</label>
please note where the colon is - do not put colons in defaultName parameter for FieldLabel (if you do that validator output looks strange)
- no spaces between label and colon, no trailing spaces after colon
- do not put colons after labels that follow controls (labels for checkboxes, radio buttons etc.)
HTML tables
Column headers capitalization
Use title capitalization for column headers, do not use colons in column headers
- good
- Configuration File
- bad
- Configuration file
