summaryrefslogtreecommitdiffstats
path: root/browser/components/controlcenter/content/permissionPanel.inc.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/controlcenter/content/permissionPanel.inc.xhtml')
-rw-r--r--browser/components/controlcenter/content/permissionPanel.inc.xhtml55
1 files changed, 55 insertions, 0 deletions
diff --git a/browser/components/controlcenter/content/permissionPanel.inc.xhtml b/browser/components/controlcenter/content/permissionPanel.inc.xhtml
new file mode 100644
index 0000000000..b28aa0762b
--- /dev/null
+++ b/browser/components/controlcenter/content/permissionPanel.inc.xhtml
@@ -0,0 +1,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>