summaryrefslogtreecommitdiffstats
path: root/browser/components/controlcenter/content/permissionPanel.inc.xhtml
blob: b28aa0762b0eeaf8f15e83a6727ada105c1be775 (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
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<html:template id="template-permission-popup">
<panel id="permission-popup"
       class="panel-no-padding"
       type="arrow"
       role="alertdialog"
       noautofocus="true"
       aria-labelledby="permission-popup-mainView-panel-header-span"
       onpopupshown="gPermissionPanel.onPopupShown(event);"
       onpopuphidden="gPermissionPanel.onPopupHidden(event);"
       orient="vertical">
  <panelmultiview id="permission-popup-multiView"
                  mainViewId="permission-popup-mainView">
    <panelview id="permission-popup-mainView"
               role="document"
               mainview-with-header="true">
      <!-- The panel header text value changes dynamically by browser-sitePermissionPanel.js,
         - that's why the panel header box needs to remain hardcoded in the markup.
         - instead of being handled by PanelMultiView.sys.mjs. -->
      <box id="permission-popup-mainView-panel-header" class="panel-header">
        <html:h1>
          <html:span id="permission-popup-mainView-panel-header-span"/>
        </html:h1>
      </box>
      <toolbarseparator></toolbarseparator>
      <hbox class="permission-popup-section">
        <vbox id="permission-popup-permissions-content" flex="1" role="group">
          <vbox id="permission-popup-permission-list">
            <vbox id="permission-popup-permission-list-default-anchor" class="permission-popup-permission-list-anchor"/>
            <vbox class="permission-popup-permission-list-anchor" anchorfor="3rdPartyStorage">
              <vbox id="permission-popup-storage-access-permission-list-header">
                <hbox align="center" role="group">
                  <image class="permission-popup-permission-icon storage-access-icon"/>
                  <label data-l10n-id="identity-permissions-storage-access-header" class="permission-popup-permission-header-label"/>
                </hbox>
                <description id="permission-popup-storage-access-permission-list-hint" data-l10n-id="identity-permissions-storage-access-hint"></description>
                <hbox>
                  <html:a is="moz-support-link"
                          id="permission-popup-storage-access-permission-learn-more"
                          data-l10n-id="identity-permissions-storage-access-learn-more"
                          support-page="site-information-third-party-access" />
                </hbox>
              </vbox>
            </vbox>
          </vbox>
          <description id="permission-popup-permission-reload-hint" data-l10n-id="identity-permissions-reload-hint"></description>
        </vbox>
      </hbox>
    </panelview>
  </panelmultiview>
</panel>
</html:template>