Changeset 125


Ignore:
Timestamp:
03/06/13 01:22:57 (6 years ago)
Author:
nhoyt
Message:

Added Basic Rules view.

Location:
trunk/proto-11/chrome
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/proto-11/chrome/content/ai-sidebar.js

    r124 r125  
    120120    return nls.getString('view.title.layout'); 
    121121    break; 
     122  case view.BASIC: 
     123    return nls.getString('view.title.basic'); 
     124    break; 
    122125  case view.ALLRULES: 
    123126    return nls.getString('view.title.allrules'); 
  • trunk/proto-11/chrome/content/ai-sidebar.xul

    r123 r125  
    5555      label="&ai-label.view.layout;" 
    5656      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.LAYOUT)"/> 
     57    <command id="ai-cmd-view-basic" 
     58      label="&ai-label.view.basic;" 
     59      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.BASIC)"/> 
    5760    <command id="ai-cmd-view-allrules" 
    5861      label="&ai-label.view.allrules;" 
  • trunk/proto-11/chrome/content/ff-overlay.js

    r124 r125  
    2323  'MEDIA', 
    2424  'LAYOUT', 
     25  'BASIC', 
    2526  'ALLRULES', 
    2627  'WCAG_1_1', 
  • trunk/proto-11/chrome/content/summary-rc.xul

    r122 r125  
    9696          </row> 
    9797          <row class="tbl-summary-data" 
     98            id="ai-summary-basic"> 
     99            <label class="tbl-summary-name text-link" 
     100              value="&ai-label.title.basic;" 
     101              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.BASIC)"/> 
     102          </row> 
     103          <row class="tbl-summary-data" 
    98104            id="ai-summary-allrules" 
    99105            style="background: #F3F6FA"> 
  • trunk/proto-11/chrome/content/view-summary.js

    r121 r125  
    2929  document.getElementById("ai-summary-layout").setData(ainspectorSidebar.getSummaryData()); 
    3030  document.getElementById("ai-summary-allrules").setData(ainspectorSidebar.getSummaryData()); 
     31  document.getElementById("ai-summary-basic").setData(ainspectorSidebar.getSummaryData()); 
    3132 
    3233  document.getElementById("ai-summary-wcag-1-1").setData(ainspectorSidebar.getSummaryData()); 
  • trunk/proto-11/chrome/content/views-button.js

    r123 r125  
    5353  case view.LAYOUT: 
    5454    return document.getElementById("ai-sidebar-view-layout"); 
     55    break; 
     56  case view.BASIC: 
     57    return document.getElementById("ai-sidebar-view-basic"); 
    5558    break; 
    5659  case view.ALLRULES: 
  • trunk/proto-11/chrome/content/views-button.xul

    r123 r125  
    4444                id="ai-sidebar-view-layout" 
    4545                command="ai-cmd-view-layout"/> 
     46      <menuseparator/> 
     47      <menuitem type="radio" name="ai-sidebar-view-radio" 
     48                id="ai-sidebar-view-basic" 
     49                command="ai-cmd-view-basic"/> 
    4650      <menuitem type="radio" name="ai-sidebar-view-radio" 
    4751                id="ai-sidebar-view-allrules" 
  • trunk/proto-11/chrome/locale/en-US/ai-sidebar.dtd

    r123 r125  
    2929<!ENTITY ai-label.view.media       "Audio/Video"> 
    3030<!ENTITY ai-label.view.layout      "Layout"> 
     31<!ENTITY ai-label.view.basic       "Basic Rules"> 
    3132<!ENTITY ai-label.view.allrules    "All Rules"> 
    3233 
     
    5455<!ENTITY ai-label.title.media      "Audio/Video"> 
    5556<!ENTITY ai-label.title.layout     "Layout/Order"> 
     57<!ENTITY ai-label.title.basic      "Basic Rules"> 
    5658<!ENTITY ai-label.title.allrules   "All Rules"> 
    5759 
  • trunk/proto-11/chrome/locale/en-US/ai-sidebar.properties

    r123 r125  
    1010view.title.media     = Audio/Video 
    1111view.title.layout    = Layout/Order 
     12view.title.basic     = Basic Rules 
    1213view.title.allrules  = All Rules 
    1314 
Note: See TracChangeset for help on using the changeset viewer.