SipX ConfigServer HTML guidelines

From SIPfoundry sipx, The Open Source SIP PBX for Linux - Calivia

Jump to: navigation, search

under construction

Contents

[edit] HTML forms

[edit] 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.


[edit] 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.)

[edit] HTML tables

[edit] Column headers capitalization

Use title capitalization for column headers, do not use colons in column headers

good 
Configuration File
bad 
Configuration file
Personal tools