summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/certificate_manager.html
blob: 68ea65a9c02eb707c3c482974cd8b3fd987831b4 (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
<div id="certificateManagerPage" class="page" hidden>
  <h1 i18n-content="certificateManagerPage"></h1>
  <!-- Navigation tabs -->
  <div class="subpages-nav-tabs">
    <span id="personal-certs-nav-tab" class="tab"
        tab-contents="personalCertsTab">
      <span class="tab-label"
          i18n-content="personalCertsTabTitle"></span>
      <span class="active-tab-label"
          i18n-content="personalCertsTabTitle"></span>
    </span>
    <span id="server-certs-nav-tab" class="tab"
        tab-contents="serverCertsTab">
      <span class="tab-label"
          i18n-content="serverCertsTabTitle"></span>
      <span class="active-tab-label" i18n-content="serverCertsTabTitle"></span>
    </span>
    <span id="ca-certs-nav-tab" class="tab"
        tab-contents="caCertsTab">
      <span class="tab-label" i18n-content="caCertsTabTitle"></span>
      <span class="active-tab-label" i18n-content="caCertsTabTitle"></span>
    </span>
    <span id="other-certs-nav-tab" class="tab"
        tab-contents="otherCertsTab">
      <span class="tab-label"
          i18n-content="unknownCertsTabTitle"></span>
      <span class="active-tab-label" i18n-content="unknownCertsTabTitle"></span>
    </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"
            icon-visibility="parent"></tree>
      </td></tr>
      <tr><td>
        <button id="personalCertsTab-view" i18n-content="view_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>
        <if expr="pp_ifdef('chromeos')">
          <button id="personalCertsTab-import-and-bind"
              i18n-content="importAndBindCertificate" disabled></button>
        </if>
        <button id="personalCertsTab-backup" i18n-content="export_certificate"
            disabled></button>
        <button id="personalCertsTab-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"
            icon-visibility="parent"></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"
            icon-visibility="parent"></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"
            icon-visibility="parent"></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>