summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/certificate_manager.html
blob: 2a5623df6aa473a25c20ecb56b8bd815c134f750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<div class="page hidden" id="certificateManagerPage">
  <h1>
    <span i18n-content="advancedPage"></span>
    &gt;
    <span i18n-content="certificateManagerPage"></span>
  </h1>

  <!-- Navigation tabs -->
  <div class="subpages-nav-tabs">
    <span i18n-content="personalCertsTabTitle" id="personal-certs-nav-tab"
        class="inactive-tab" tab-contents="personalCertsTab"></span><span
        i18n-content="emailCertsTabTitle" id="email-certs-nav-tab"
        class="inactive-tab" tab-contents="emailCertsTab"></span><span
        i18n-content="serverCertsTabTitle" id="server-certs-nav-tab"
        class="inactive-tab" tab-contents="serverCertsTab"></span><span
        i18n-content="caCertsTabTitle" id="ca-certs-nav-tab"
        class="inactive-tab" tab-contents="caCertsTab"></span><span
        i18n-content="unknownCertsTabTitle" id="other-certs-nav-tab"
        class="inactive-tab" tab-contents="otherCertsTab"></span>
  </div>

  <!-- TODO(mattm): get rid of use of tables? -->

  <!-- Tab contents -->
  <div id="personalCertsTab" class="subpages-tab-contents">
    <table class="certificate-tree-table">
      <tr><td>
        <span i18n-content="personalCertsTabDescription"></span>
      </td></tr>
      <tr><td>
        <tree id="personalCertsTab-tree" class="certificate-tree"></tree>
      </td></tr>
      <tr><td>
        <button id="personalCertsTab-view" i18n-content="view_certificate"
          disabled></button>
        <button id="personalCertsTab-backup" i18n-content="export_certificate"
          disabled></button>
        <!-- TODO(mattm):
        <button id="personalCertsTab-backup-all"
          i18n-content="export_all_certificates"
          disabled></button>
        -->
        <button id="personalCertsTab-import" i18n-content="import_certificate"
          ></button>
        <button id="personalCertsTab-delete" i18n-content="delete_certificate"
          disabled></button>
      </td></tr>
    </table>
  </div>

  <div id="emailCertsTab" class="subpages-tab-contents">
    <table class="certificate-tree-table">
      <tr><td>
        <span i18n-content="emailCertsTabDescription"></span>
      </td></tr>
      <tr><td>
        <tree id="emailCertsTab-tree" class="certificate-tree"></tree>
      </td></tr>
      <tr><td>
        <button id="emailCertsTab-view" i18n-content="view_certificate"
          disabled></button>
        <!--  We don't really care about email certificates, so not much point
        bothering to implement these...
        <button id="emailCertsTab-edit" i18n-content="edit_certificate"
          disabled></button>
        <button id="emailCertsTab-import" i18n-content="import_certificate"
          ></button>
        -->
        <button id="emailCertsTab-export" i18n-content="export_certificate"
          disabled></button>
        <button id="emailCertsTab-delete" i18n-content="delete_certificate"
          disabled></button>
      </td></tr>
    </table>
  </div>

  <div id="serverCertsTab" class="subpages-tab-contents">
    <table class="certificate-tree-table">
      <tr><td>
        <span i18n-content="serverCertsTabDescription"></span>
      </td></tr>
      <tr><td>
        <tree id="serverCertsTab-tree" class="certificate-tree"></tree>
      </td></tr>
      <tr><td>
        <button id="serverCertsTab-view" i18n-content="view_certificate"
          disabled></button>
        <!-- TODO(mattm):
        <button id="serverCertsTab-edit" i18n-content="edit_certificate"
          disabled></button>
        <button id="serverCertsTab-import" i18n-content="import_certificate"
          ></button>
        -->
        <button id="serverCertsTab-export" i18n-content="export_certificate"
          disabled></button>
        <button id="serverCertsTab-delete" i18n-content="delete_certificate"
          disabled></button>
      </td></tr>
    </table>
  </div>

  <div id="caCertsTab" class="subpages-tab-contents">
    <table class="certificate-tree-table">
      <tr><td>
        <span i18n-content="caCertsTabDescription"></span>
      </td></tr>
      <tr><td>
        <tree id="caCertsTab-tree" class="certificate-tree"></tree>
      </td></tr>
      <tr><td>
        <button id="caCertsTab-view" i18n-content="view_certificate"
          disabled></button>
        <button id="caCertsTab-edit" i18n-content="edit_certificate"
          disabled></button>
        <button id="caCertsTab-import" i18n-content="import_certificate"
          ></button>
        <button id="caCertsTab-export" i18n-content="export_certificate"
          disabled></button>
        <button id="caCertsTab-delete" i18n-content="delete_certificate"
          disabled></button>
      </td></tr>
    </table>
  </div>

  <div id="otherCertsTab" class="subpages-tab-contents">
    <table class="certificate-tree-table">
      <tr><td>
        <span i18n-content="unknownCertsTabDescription"></span>
      </td></tr>
      <tr><td>
        <tree id="otherCertsTab-tree" class="certificate-tree"></tree>
      </td></tr>
      <tr><td>
        <button id="otherCertsTab-view" i18n-content="view_certificate"
          disabled></button>
        <button id="otherCertsTab-export" i18n-content="export_certificate"
          disabled></button>
        <button id="otherCertsTab-delete" i18n-content="delete_certificate"
          disabled></button>
      </td></tr>
    </table>
  </div>

</div>