diff options
author | Matt A. Tobin <email@mattatobin.com> | 2021-11-14 01:30:12 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2021-11-14 01:30:12 -0500 |
commit | 43fa0a71c814e902165782680f2f9705e3c234c9 (patch) | |
tree | 0ab3c66e8432febc00c18c036706c7ff43c11799 /components/cookie/content/cookieAcceptDialog.xul | |
parent | 2fccdffac3075ee72087f9ee153204b02c7d931a (diff) | |
download | aura-central-43fa0a71c814e902165782680f2f9705e3c234c9.tar.gz |
Issue %3005 - Move toolkit/components to components/
Diffstat (limited to 'components/cookie/content/cookieAcceptDialog.xul')
-rw-r--r-- | components/cookie/content/cookieAcceptDialog.xul | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/components/cookie/content/cookieAcceptDialog.xul b/components/cookie/content/cookieAcceptDialog.xul new file mode 100644 index 000000000..99fd92c0c --- /dev/null +++ b/components/cookie/content/cookieAcceptDialog.xul @@ -0,0 +1,118 @@ +<?xml version="1.0"?> + +<!-- 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/. --> + +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> + +<!DOCTYPE dialog SYSTEM "chrome://cookie/locale/cookieAcceptDialog.dtd"> + +<!-- use a overlay te be able to put the accept/deny buttons not on the bottom --> +<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?> + +<!-- use buttons="disclosure" to hide ok/cancel buttons. Those are added manually later --> +<dialog id="cookieAcceptDialog" + acceptLabel="&button.allow.label;" + acceptKey="&button.allow.accesskey;" + extra1Label="&button.session.label;" + extra1Key="&button.session.accesskey;" + cancelLabel="&button.deny.label;" + cancelKey="&button.deny.accesskey;" + onload="onload();" + ondialogaccept="return doOKButton();" + title="&dialog.title;" + buttons="disclosure" + aria-describedby="dialog-header" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + + <script src="cookieAcceptDialog.js" type="application/javascript"/> + <stringbundle id="cookieBundle" + src="chrome://cookie/locale/cookieAcceptDialog.properties"/> + + <vbox> + <hbox> + <hbox align="start"> + <image id="infoicon" class="spaced alert-icon"/> + </hbox> + + <vbox flex="1"> + <!-- text --> + <vbox id="dialogtextbox"> + <description id="dialog-header" class="header"/> + </vbox> + + <hbox id="checkboxContainer"> + <checkbox id="persistDomainAcceptance" + label="&dialog.remember.label;" + accesskey="&dialog.remember.accesskey;" + persist="checked"/> + </hbox> + </vbox> + + </hbox> + + <hbox> + <button id="disclosureButton" dlgtype="disclosure" class="exit-dialog" + oncommand="showhideinfo();"/> + <spacer flex="1"/> + <hbox id="okCancelButtonsRight"/> + </hbox> + + <vbox id="infobox" hidden="true" persist="hidden"> + <separator class="groove"/> + <grid flex="1"> + <columns> + <column/> + <column flex="1"/> + </columns> + <rows> + + <row align="center"> + <hbox align="center" pack="end"> + <label value="&props.name.label;" control="ifl_name"/> + </hbox> + <textbox id="ifl_name" readonly="true" class="plain"/> + </row> + + <row align="center"> + <hbox align="center" pack="end"> + <label value="&props.value.label;" control="ifl_value"/> + </hbox> + <textbox id="ifl_value" readonly="true" class="plain"/> + </row> + + <row align="center"> + <hbox align="center" pack="end"> + <label id="ifl_isDomain" value="&props.domain.label;" control="ifl_host"/> + </hbox> + <textbox id="ifl_host" readonly="true" class="plain"/> + </row> + + <row align="center"> + <hbox align="center" pack="end"> + <label value="&props.path.label;" control="ifl_path"/> + </hbox> + <textbox id="ifl_path" readonly="true" class="plain"/> + </row> + + <row align="center"> + <hbox align="center" pack="end"> + <label value="&props.secure.label;" control="ifl_isSecure"/> + </hbox> + <textbox id="ifl_isSecure" readonly="true" class="plain"/> + </row> + + <row align="center"> + <hbox align="center" pack="end"> + <label value="&props.expires.label;" control="ifl_expires"/> + </hbox> + <textbox id="ifl_expires" readonly="true" class="plain"/> + </row> + + </rows> + </grid> + </vbox> + </vbox> +</dialog> + |