Home | History | Annotate | Download | only in html
      1 <!DOCTYPE HTML>
      2 <html i18n-values="dir:textdirection;">
      3 <head>
      4 <meta charset="utf-8">
      5 <link rel="stylesheet" href="chrome://resources/css/apps/common.css"></link>
      6 <link rel="stylesheet" href="chrome://resources/css/apps/topbutton_bar.css"></link>
      7 <link rel="stylesheet" href="../css/feedback.css">
      8 
      9 <script src="chrome://resources/js/load_time_data.js"></script>
     10 <script src="chrome://resources/js/i18n_template_no_process.js"></script>
     11 <script src="chrome://resources/js/util.js"></script>
     12 <script src="../js/take_screenshot.js"></script>
     13 <script src="../js/topbar_handlers.js"></script>
     14 <script src="../js/feedback.js"></script>
     15 </head>
     16 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
     17   <div id="title-bar" class="title-bar">
     18     <span id="page-title" i18n-content="page-title"></span>
     19     <span class="topbutton-bar">
     20       <button class="minimize-button" id="minimize-button" tabindex="-1">
     21       </button>
     22       <button class="close-button" id="close-button" tabindex="-1">
     23       </button>
     24     </span>
     25   </div>
     26   <div id="content-pane" class="content">
     27     <textarea id="description-text" aria-labelledby="title-bar"></textarea>
     28     <div id="page-url" class="text-field-container">
     29       <label id="page-url-label" i18n-content="page-url"></label>
     30       <input id="page-url-text" aria-labelledby="page-url-label" type="text">
     31     </div>
     32     <!-- User e-mail -->
     33     <div id="user-email" class="text-field-container">
     34       <label id="user-email-label" i18n-content="user-email"></label>
     35       <input id="user-email-text" aria-labelledby="user-email-label" type="text">
     36     </div>
     37     <!-- Attach a file -->
     38     <div id="attach-file-container" class="text-field-container">
     39       <label id="attach-file-label" i18n-content="attach-file-label"></label>
     40       <input id="attach-file" type="file" aria-labelledby="attach-file-label">
     41       <div id="custom-file-container" hidden>
     42         <label id="attached-filename-text"></label>
     43         <button id="remove-attached-file" class="remove-file-button"></button>
     44       </div>
     45       <div id="attach-error" class="attach-file-notification"
     46           i18n-content="attach-file-to-big" hidden></div>
     47     </div>
     48     <div id="attach-file-note" i18n-content="attach-file-note"></div>
     49     <!-- Screenshot -->
     50     <div id="screenshot-container" class="checkbox-field-container">
     51       <input id="screenshot-checkbox" type="checkbox" aria-labelledby="screenshot-label" checked>
     52       <label id="screenshot-label" i18n-content="screenshot"></label>
     53       <img id="screenshot-image" alt="screenshot">
     54     </div>
     55 <if expr="pp_ifdef('chromeos')">
     56     <!-- System Information -->
     57     <div class="checkbox-field-container">
     58       <input id="sys-info-checkbox" type="checkbox" aria-labelledby="sys-info-label" checked>
     59       <label id="sys-info-label" i18n-values=".innerHTML:sys-info"></label>
     60       </span>
     61     </div>
     62     <!-- Performance Feedback -->
     63     <div id="performance-info-area" hidden>
     64       <input id="performance-info-checkbox" type="checkbox">
     65       <a id="performance-info-link" href="#" i18n-content="performance-trace">
     66       </a>
     67     </div>
     68 </if>
     69     <!-- Privacy node -->
     70     <div id="privacy-note" i18n-values=".innerHTML:privacy-note"></div>
     71     <!-- Buttons -->
     72     <div class="buttons-pane">
     73       <button id="cancel-button" type="submit"
     74           class="white-button" i18n-content="cancel">
     75       </button>
     76       <button id="send-report-button" type="submit"
     77           class="blue-button" i18n-content="send-report">
     78       </button>
     79     </div>
     80   </div>
     81 </body>
     82 </html>
     83