blob: d548824890380bc1abac115673d263ba1b0146d1 [file] [log] [blame]
<!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>