Home | History | Annotate | Download | only in options
      1 <div class="page hidden" id="certificateManagerPage">
      2   <h1 i18n-content="certificateManagerPage"></h1>
      3 
      4   <!-- Navigation tabs -->
      5   <div class="subpages-nav-tabs">
      6     <span id="personal-certs-nav-tab" class="tab"
      7         tab-contents="personalCertsTab">
      8       <span class="tab-label"
      9           i18n-content="personalCertsTabTitle"></span>
     10       <span class="active-tab-label"
     11           i18n-content="personalCertsTabTitle"></span>
     12     </span>
     13     <span id="server-certs-nav-tab" class="tab"
     14         tab-contents="serverCertsTab">
     15       <span class="tab-label"
     16           i18n-content="serverCertsTabTitle"></span>
     17       <span class="active-tab-label" i18n-content="serverCertsTabTitle"></span>
     18     </span>
     19     <span id="ca-certs-nav-tab" class="tab"
     20         tab-contents="caCertsTab">
     21       <span class="tab-label" i18n-content="caCertsTabTitle"></span>
     22       <span class="active-tab-label" i18n-content="caCertsTabTitle"></span>
     23     </span>
     24     <span id="other-certs-nav-tab" class="tab"
     25         tab-contents="otherCertsTab">
     26       <span class="tab-label"
     27           i18n-content="unknownCertsTabTitle"></span>
     28       <span class="active-tab-label" i18n-content="unknownCertsTabTitle"></span>
     29     </span>
     30   </div>
     31 
     32   <!-- TODO(mattm): get rid of use of tables? -->
     33 
     34   <!-- Tab contents -->
     35   <div id="personalCertsTab" class="subpages-tab-contents">
     36     <table class="certificate-tree-table">
     37       <tr><td>
     38         <span i18n-content="personalCertsTabDescription"></span>
     39       </td></tr>
     40       <tr><td>
     41         <tree id="personalCertsTab-tree" class="certificate-tree"></tree>
     42       </td></tr>
     43       <tr><td>
     44         <button id="personalCertsTab-view" i18n-content="view_certificate"
     45           disabled></button>
     46         <!-- TODO(mattm):
     47         <button id="personalCertsTab-backup-all"
     48           i18n-content="export_all_certificates"
     49           disabled></button>
     50         -->
     51         <button id="personalCertsTab-import" i18n-content="import_certificate"
     52           ></button>
     53         <if expr="pp_ifdef('chromeos')">
     54           <button id="personalCertsTab-import-and-bind"
     55             i18n-content="importAndBindCertificate" disabled></button>
     56         </if>
     57         <button id="personalCertsTab-backup" i18n-content="export_certificate"
     58           disabled></button>
     59         <button id="personalCertsTab-delete" i18n-content="delete_certificate"
     60           disabled></button>
     61       </td></tr>
     62     </table>
     63   </div>
     64 
     65   <div id="serverCertsTab" class="subpages-tab-contents">
     66     <table class="certificate-tree-table">
     67       <tr><td>
     68         <span i18n-content="serverCertsTabDescription"></span>
     69       </td></tr>
     70       <tr><td>
     71         <tree id="serverCertsTab-tree" class="certificate-tree"></tree>
     72       </td></tr>
     73       <tr><td>
     74         <button id="serverCertsTab-view" i18n-content="view_certificate"
     75           disabled></button>
     76         <!-- TODO(mattm):
     77         <button id="serverCertsTab-edit" i18n-content="edit_certificate"
     78           disabled></button>
     79         -->
     80         <button id="serverCertsTab-import" i18n-content="import_certificate"
     81           ></button>
     82         <button id="serverCertsTab-export" i18n-content="export_certificate"
     83           disabled></button>
     84         <button id="serverCertsTab-delete" i18n-content="delete_certificate"
     85           disabled></button>
     86       </td></tr>
     87     </table>
     88   </div>
     89 
     90   <div id="caCertsTab" class="subpages-tab-contents">
     91     <table class="certificate-tree-table">
     92       <tr><td>
     93         <span i18n-content="caCertsTabDescription"></span>
     94       </td></tr>
     95       <tr><td>
     96         <tree id="caCertsTab-tree" class="certificate-tree"></tree>
     97       </td></tr>
     98       <tr><td>
     99         <button id="caCertsTab-view" i18n-content="view_certificate"
    100           disabled></button>
    101         <button id="caCertsTab-edit" i18n-content="edit_certificate"
    102           disabled></button>
    103         <button id="caCertsTab-import" i18n-content="import_certificate"
    104           ></button>
    105         <button id="caCertsTab-export" i18n-content="export_certificate"
    106           disabled></button>
    107         <button id="caCertsTab-delete" i18n-content="delete_certificate"
    108           disabled></button>
    109       </td></tr>
    110     </table>
    111   </div>
    112 
    113   <div id="otherCertsTab" class="subpages-tab-contents">
    114     <table class="certificate-tree-table">
    115       <tr><td>
    116         <span i18n-content="unknownCertsTabDescription"></span>
    117       </td></tr>
    118       <tr><td>
    119         <tree id="otherCertsTab-tree" class="certificate-tree"></tree>
    120       </td></tr>
    121       <tr><td>
    122         <button id="otherCertsTab-view" i18n-content="view_certificate"
    123           disabled></button>
    124         <button id="otherCertsTab-export" i18n-content="export_certificate"
    125           disabled></button>
    126         <button id="otherCertsTab-delete" i18n-content="delete_certificate"
    127           disabled></button>
    128       </td></tr>
    129     </table>
    130   </div>
    131 
    132 </div>
    133