User Tools

Site Tools


mantisbt:style_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mantisbt:style_guide [2010/10/14 23:04]
daryn
mantisbt:style_guide [2013/04/30 05:54] (current)
dregad
Line 1: Line 1:
-====== Style Guide DRAFT ======+====== Style Guide (DRAFT======
  
 ===== HTML ===== ===== HTML =====
Line 22: Line 22:
  
 ===== Javascript ===== ===== Javascript =====
-  * The only method allowed for including Javascript is via including an external script file in the <head> of the document +  * The only method allowed for including Javascript is via including an external script file in the <head> of the document //(or by placing all script tags just before the body closing tag as this seems to be the standard now)// 
-  * The pages should be able to function without Javascript enabled. If Javascript is available then it can be used to replace parts of the DOM with more advanced functionality (in the same way jQuery UI operates)+  * The pages must be able to fully function without Javascript enabled. If Javascript is available then it can be used to replace parts of the DOM with more advanced functionality (in the same way jQuery UI operates)
   * Use jQuery exclusively for any javascript based features   * Use jQuery exclusively for any javascript based features
   * Use only jQuery plugins with high rates of usage and active, healthy development   * Use only jQuery plugins with high rates of usage and active, healthy development
   * Do not use inline Javascript in any HTML output   * Do not use inline Javascript in any HTML output
     * No onclick, onmouseover, etc. attributes     * No onclick, onmouseover, etc. attributes
-    * No inline <script..>something();</script> blocks //(Perhaps with the exception of placing all script tags just before the body closing tag as this seems to be the standard now)//+    * No inline <script..>something();</script> blocks
     * Do not use javascript:something() in hyperlink hrefs.     * Do not use javascript:something() in hyperlink hrefs.
  
Line 38: Line 38:
   * Don't make life hard for power users.  Clean up the interface but keep the functionality readily accessible   * Don't make life hard for power users.  Clean up the interface but keep the functionality readily accessible
   * Workflow must be as efficient as possible   * Workflow must be as efficient as possible
 +
  
 ===== Questions for discussion ===== ===== Questions for discussion =====
Line 43: Line 44:
   - Any requirements to have MantisBT grease monkey friendly to allow users to easily customize the page?  Not sure what that means, does it mean naming fields? divs, etc?   - Any requirements to have MantisBT grease monkey friendly to allow users to easily customize the page?  Not sure what that means, does it mean naming fields? divs, etc?
   - Supported browsers / versions?  What is the cut off?   - Supported browsers / versions?  What is the cut off?
 +    - Firefox 3.0+
 +    - Recent versions of Opera, Chromium, Konqueror, Safari (should almost come for free from I)
 +    - IE7+
 +    - IE6 support, if needed, can come through community contributions
   - Come to some sort of arrangement on how plugins will manipulate the HTML to insert their own buttons, widgets, etc as required.   - Come to some sort of arrangement on how plugins will manipulate the HTML to insert their own buttons, widgets, etc as required.
- + 
mantisbt/style_guide.1287111850.txt.gz · Last modified: 2010/10/14 23:19 (external edit)