blob: 8f839557466d9c3968005df305eea2366822dc0e [file] [log] [blame]
<!doctype html>
<html i18n-values="dir:textdirection;lang:language">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<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/data.js"></script>
<script src="../js/take_screenshot.js"></script>
<script src="../js/topbar_handlers.js"></script>
<script src="../js/feedback.js"></script>
</head>
<body>
<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"
i18n-values="aria-label:minimize-btn-label">
</button>
<button class="close-button" id="close-button" tabindex="-1"
i18n-values="aria-label:close-btn-label">
</button>
</span>
</div>
<div id="srt-prompt" class="content">
<img src="../../../../../components/resources/sadtab.svg" class="srt-image">
<p i18n-content="srtPromptBody" class="srt-body"></p>
<div class="buttons-pane top-buttons">
<button id="srt-decline-button" class="white-button"
i18n-content="srtPromptDeclineButton">
</button>
<button id="srt-accept-button" class="blue-button"
i18n-content="srtPromptAcceptButton">
</button>
</div>
</div>
<div id="content-pane" class="content">
<textarea id="description-text" aria-labelledby="page-title"></textarea>
<div>
<p id="additional-info-label" i18n-content="additionalInfo"><p>
</div>
<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" hidden>
<label id="user-email-label" i18n-content="user-email"></label>
<select id="user-email-drop-down" aria-labelledby="user-email-label">
<option id="anonymous-user-option" value="anonymous_user"
i18n-content="anonymous-user"></option>
</select>
</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">
<label id="screenshot-label" i18n-content="screenshot"></label>
<img id="screenshot-image">
</div>
<!-- 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>
<if expr="chromeos">
<!-- 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 note -->
<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>