diff options
Diffstat (limited to 'browser/components/reportbrokensite/content/reportBrokenSitePanel.inc.xhtml')
-rw-r--r-- | browser/components/reportbrokensite/content/reportBrokenSitePanel.inc.xhtml | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/browser/components/reportbrokensite/content/reportBrokenSitePanel.inc.xhtml b/browser/components/reportbrokensite/content/reportBrokenSitePanel.inc.xhtml new file mode 100644 index 0000000000..73132d5f37 --- /dev/null +++ b/browser/components/reportbrokensite/content/reportBrokenSitePanel.inc.xhtml @@ -0,0 +1,128 @@ +<!-- 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/. --> + +<panelview id="report-broken-site-popup-mainView" + class="report-broken-site-view main-view PanelUI-subView" + role="dialog" + aria-describedby="report-broken-site-panel-intro" + data-l10n-id="report-broken-site-panel-header" + data-l10n-attrs="title" + mainview-with-header="true"> + <!-- The panel can be opened from the Help menubar, so with the current + - headerText implementation in PanelMultiView.sys.mjs the markup must + - be added manually. --> + <box class="panel-header"> + <html:h1> + <html:span data-l10n-id="report-broken-site-mainview-title"/> + </html:h1> + </box> + <toolbarseparator/> + <!-- This form is used purely in JS for validation. We hide it here + rather than nesting it in the vbox to keep our CSS simpler. --> + <html:form id="report-broken-site-panel-form"/> + <vbox id="report-broken-site-panel-container" + class="panel-subview-body"> + <html:p id="report-broken-site-panel-intro" + data-l10n-id="report-broken-site-panel-intro"/> + <label id="report-broken-site-popup-url-label" + control="report-broken-site-popup-url" + data-l10n-id="report-broken-site-panel-url"/> + <html:input id="report-broken-site-popup-url" + form="report-broken-site-panel-form" + allow-arrow-navigation="true" + type="url" required="required" aria-required="true" /> + <label id="report-broken-site-popup-invalid-url-msg" + class="invalid-message text-error" + role="alert" + data-l10n-id="report-broken-site-panel-invalid-url-label"/> + <label id="report-broken-site-popup-reason-label" + control="report-broken-site-popup-reason" + hidden="true" + data-l10n-attrs="aria-label" + data-l10n-id="report-broken-site-panel-reason-label"/> + <label id="report-broken-site-popup-reason-optional-label" + control="report-broken-site-popup-reason" + hidden="true" + data-l10n-attrs="aria-label" + data-l10n-id="report-broken-site-panel-reason-optional-label"/> + <html:select id="report-broken-site-popup-reason" + form="report-broken-site-panel-form"> + <html:option id="report-broken-site-popup-reason-choose" + value="" + hidden="true" + disabled="true" + selected="selected" + data-l10n-id="report-broken-site-panel-reason-choose"/> + <html:option id="report-broken-site-popup-reason-slow" + data-l10n-id="report-broken-site-panel-reason-slow"/> + <html:option id="report-broken-site-popup-reason-media" + data-l10n-id="report-broken-site-panel-reason-media"/> + <html:option id="report-broken-site-popup-reason-content" + data-l10n-id="report-broken-site-panel-reason-content"/> + <html:option id="report-broken-site-popup-reason-account" + data-l10n-id="report-broken-site-panel-reason-account"/> + <html:option id="report-broken-site-popup-reason-adblockers" + data-l10n-id="report-broken-site-panel-reason-adblockers"/> + <html:option id="report-broken-site-popup-reason-other" + data-l10n-id="report-broken-site-panel-reason-other"/> + </html:select> + <label id="report-broken-site-popup-missing-reason-msg" + class="invalid-message text-error" + role="alert" + data-l10n-id="report-broken-site-panel-missing-reason-label"/> + <label id="report-broken-site-popup-description-label" + control="report-broken-site-popup-description" + hidden="true" + data-l10n-id="report-broken-site-panel-description-label"/> + <label id="report-broken-site-popup-description-optional-label" + control="report-broken-site-popup-description" + hidden="true" + data-l10n-id="report-broken-site-panel-description-optional-label"/> + <html:textarea id="report-broken-site-popup-description" + form="report-broken-site-panel-form" + allow-arrow-navigation="true" + rows="8"></html:textarea> + <hbox> + <html:a id="report-broken-site-popup-send-more-info-link" + href="#" + data-l10n-id="report-broken-site-panel-send-more-info-link"/> + </hbox> + </vbox> + <html:moz-button-group class="panel-footer"> + <button id="report-broken-site-popup-cancel-button" + class="footer-button" + data-l10n-id="report-broken-site-panel-button-cancel"/> + <button id="report-broken-site-popup-send-button" + class="footer-button" + default="true" + data-l10n-id="report-broken-site-panel-button-send"/> + </html:moz-button-group> +</panelview> + +<panelview id="report-broken-site-popup-reportSentView" + class="report-broken-site-view sent-view PanelUI-subView" + role="dialog" + data-l10n-id="report-broken-site-panel-report-sent-header" + data-l10n-attrs="title" + aria-describedby="report-broken-site-panel-report-sent-text" + has-customized-header="true" + no-back-button="true"> + <box class="panel-header panel-header-with-additional-element"> + <image class="checkmark-icon additional-element-on-inline-start"></image> + <html:h1> + <html:span data-l10n-id="report-broken-site-panel-report-sent-label"/> + </html:h1> + </box> + <vbox class="panel-subview-body"> + <html:p id="report-broken-site-panel-report-sent-text" + data-l10n-id="report-broken-site-panel-report-sent-text" + class="subview-subheader"/> + </vbox> + <html:moz-button-group class="panel-footer"> + <button id="report-broken-site-popup-okay-button" + class="footer-button" + default="true" + data-l10n-id="report-broken-site-panel-button-okay"/> + </html:moz-button-group> +</panelview> |