summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/feedback/html/default.html
blob: 6f3c459486ee01c9092967f0edbd863d8574a1ba (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
<!DOCTYPE HTML>
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="chrome://resources/css/apps/common.css"></link>
<link rel="stylesheet" href="chrome://resources/css/apps/topbutton_bar.css"></link>
<link rel="stylesheet" href="../css/feedback.css">

<script src="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/i18n_template_no_process.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="../js/take_screenshot.js"></script>
<script src="../js/topbar_handlers.js"></script>
<script src="../js/feedback.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
  <div id="title-bar" class="title-bar">
    <span id="page-title" i18n-content="page-title"></span>
    <span class="topbutton-bar">
      <button class="minimize-button" id="minimize-button" tabindex="-1">
      </button>
      <button class="close-button" id="close-button" tabindex="-1">
      </button>
    </span>
  </div>
  <div id="content-pane" class="content">
    <textarea id="description-text" aria-labelledby="title-bar"></textarea>
    <div id="page-url" class="text-field-container">
      <label id="page-url-label" i18n-content="page-url"></label>
      <input id="page-url-text" aria-labelledby="page-url-label" type="text">
    </div>
    <!-- User e-mail -->
    <div id="user-email" class="text-field-container">
      <label id="user-email-label" i18n-content="user-email"></label>
      <input id="user-email-text" aria-labelledby="user-email-label" type="text">
    </div>
    <!-- Attach a file -->
    <div id="attach-file-container" class="text-field-container">
      <label id="attach-file-label" i18n-content="attach-file-label"></label>
      <input id="attach-file" type="file" aria-labelledby="attach-file-label">
      <div id="custom-file-container" hidden>
        <label id="attached-filename-text"></label>
        <button id="remove-attached-file" class="remove-file-button"></button>
      </div>
      <div id="attach-error" class="attach-file-notification"
          i18n-content="attach-file-to-big" hidden></div>
    </div>
    <div id="attach-file-note" i18n-content="attach-file-note"></div>
    <!-- Screenshot -->
    <div id="screenshot-container" class="checkbox-field-container">
      <input id="screenshot-checkbox" type="checkbox" aria-labelledby="screenshot-label" checked>
      <label id="screenshot-label" i18n-content="screenshot"></label>
      <img id="screenshot-image" alt="screenshot">
    </div>
<if expr="pp_ifdef('chromeos')">
    <!-- System Information -->
    <div class="checkbox-field-container">
      <input id="sys-info-checkbox" type="checkbox" aria-labelledby="sys-info-label" checked>
      <label id="sys-info-label" i18n-values=".innerHTML:sys-info"></label>
      </span>
    </div>
    <!-- Performance Feedback -->
    <div id="performance-info-area" hidden>
      <input id="performance-info-checkbox" type="checkbox">
      <a id="performance-info-link" href="#" i18n-content="performance-trace">
      </a>
    </div>
</if>
    <!-- Privacy node -->
    <div id="privacy-note" i18n-values=".innerHTML:privacy-note"></div>
    <!-- Buttons -->
    <div class="buttons-pane">
      <button id="cancel-button" type="submit"
          class="white-button" i18n-content="cancel">
      </button>
      <button id="send-report-button" type="submit"
          class="blue-button" i18n-content="send-report">
      </button>
    </div>
  </div>
</body>
</html>