summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/feedback.html
blob: d548824890380bc1abac115673d263ba1b0146d1 (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
<!DOCTYPE HTML>
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
<title i18n-content="page-title"></title>
<link rel="stylesheet" href="chrome://resources/css/widgets.css">
<link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
<link rel="stylesheet" href="feedback.css">

<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://resources/js/cr/ui.js"></script>
<script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
<script src="chrome://feedback/feedback.js"></script>
<script src="chrome://feedback/strings.js"></script>
</head>
<body id="feedback-page"
    i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
  <h1 id="title" i18n-content="title"></h1>
  <h1 id="launcher-title" i18n-content="launcher-title"></h1>
  <div id="content">
    <span id="description" i18n-content="description"></span>
    <span id="launcher-description" i18n-content="launcher-description"></span>
    <textarea id="description-text" rows="10"></textarea>
    <div id="page-url" class="input-text-container checkbox">
      <label>
        <input id="page-url-checkbox" type="checkbox"
            value="pageurl" checked>
        <span id="page-url-label" i18n-content="page-url"></span>
      </label>
      <input id="page-url-text">
    </div>
    <!-- User e-mail -->
    <div id="user-email" class="input-text-container checkbox">
      <label>
        <input id="user-email-checkbox" type="checkbox">
        <span id="user-email-label" i18n-content="user-email"></span>
      </label>
      <input id="user-email-text">
    </div>
<if expr="pp_ifdef('chromeos')">
    <!-- Attach a file -->
    <!-- Normal -->
    <div id="attach-file-container" class="input-text-container checkbox">
      <label>
        <input id="attach-file-checkbox" type="checkbox">
        <span i18n-content="attach-file-label"></span>
      </label>
      <input id="attach-file" type="file">
      <div id="attach-error" class="attach-file-notification"
          i18n-content="attach-file-to-big" hidden></div>
      <div id="reading-file" class="attach-file-notification"
          i18n-content="reading-file" hidden></div>
    </div>
    <!-- Custom -->
    <div id="attach-file-custom-container" class="input-text-container checkbox"
      hidden>
      <label>
        <input id="attach-file-custom-checkbox" type="checkbox" checked>
        <span i18n-content="attach-file-label"></span>
      </label>
      <span id="attach-file-custom-name" ></span>
    </div>
    <div id="attach-file-note" i18n-values=".innerHTML:attach-file-note"></div>

    <!-- System Information -->
    <div class="checkbox">
      <label>
        <input id="sys-info-checkbox" type="checkbox" checked>
        <span id="sysinfo-label">
          <a id="sysinfo-url" href="#" i18n-content="sysinfo"></a>
        </span>
      </label>
    </div>

    <!-- Performance Feedback -->
    <div class="checkbox" id="performance-info-area" hidden>
      <label>
        <input id="performance-info-checkbox" type="checkbox">
        <span id="performance-info-label" i18n-content="performance-trace">
        </span>
      </label>
    </div>
</if>
    <!-- Screenshot -->
    <div id="screenshot-row" hidden>
      <div class="checkbox">
        <label>
          <input id="screenshot-checkbox" type="checkbox">
          <span id="screenshot-label-current"
              i18n-content="current-screenshot"></span>
<if expr="pp_ifdef('chromeos')">
          <span id="screenshot-label-saved"
              i18n-content="saved-screenshot" hidden></span>
        </label>
        <a id="screenshot-link-tosaved" href="#"
            i18n-content="choose-different-screenshot" hidden>
        </a>
        <a id="screenshot-link-tocurrent" href="#"
            i18n-content="choose-original-screenshot" hidden>
        </a>
</if>
      </div>
<if expr="pp_ifdef('chromeos')">
      <div id="saved-screenshots" class="thumbnail-list" hidden></div>
</if>
      <div id="current-screenshots" class="thumbnail-list"></div>
    </div>
    <div id="privacy-note" i18n-values=".innerHTML:privacy-note"></div>
    <!-- Buttons -->
    <div id="buttons-pane">
      <input id="send-report-button" type="submit"
          class="feedback-button" i18n-values="value:send-report">
      <input id="cancel-button" type="submit"
          class="feedback-button" i18n-values="value:cancel">
    </div>
  </div>
  <script src="chrome://resources/js/i18n_template2.js"></script>
</body>
</html>