summaryrefslogtreecommitdiffstats
path: root/browser/components/reportbrokensite/content/reportBrokenSitePanel.inc.xhtml
blob: 73132d5f37d9d62e2562d72b9d7ccdf76e98ab68 (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
<!-- 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>