summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/feedback.html
blob: fb949f84a9eb91d935cee64927c8a5c7c5432c3c (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
<!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/load_time_data.js"></script>
<script src="chrome://resources/js/util.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 i18n-content="title"></h1>
  <div id="content">
    <span id="description" colspan="2" i18n-content="description"></span>
    <textarea id="description-text" rows="10"></textarea>
    <div id="page-url" class="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>
<if expr="pp_ifdef('chromeos')">
    <!-- User e-mail -->
    <div id="user-email-table">
      <div class="checkbox">
        <label>
          <input id="user-email-checkbox" type="checkbox" checked>
          <span id="user-email-label" i18n-content="user-email"></span>
        </label>
        <span id="user-email-text"></span>
      </div>
    </div>
    <!-- System Information -->
    <div class="feedback-fieldlabel 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>
</if>
    <!-- Screenshot -->
    <div id="screenshot-row">
      <div class="feedback-fieldlabel 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">
        </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 id="privacy-note" i18n-values=".innerHTML:privacy-note"></div>
    <div id="buttons-pane">
      <!-- Buttons -->
      <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>