Home | History | Annotate | Download | only in resources
      1 <!DOCTYPE HTML>
      2 <html i18n-values="dir:textdirection;">
      3 <head>
      4 <meta charset="utf-8">
      5 <title i18n-content="page-title"></title>
      6 <link rel="stylesheet" href="chrome://resources/css/widgets.css">
      7 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
      8 <link rel="stylesheet" href="feedback.css">
      9 
     10 <script src="chrome://resources/js/cr.js"></script>
     11 <script src="chrome://resources/js/load_time_data.js"></script>
     12 <script src="chrome://resources/js/util.js"></script>
     13 <script src="chrome://resources/js/cr/ui.js"></script>
     14 <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
     15 <script src="chrome://feedback/feedback.js"></script>
     16 <script src="chrome://feedback/strings.js"></script>
     17 </head>
     18 <body id="feedback-page"
     19     i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
     20   <h1 id="title" i18n-content="title"></h1>
     21   <h1 id="launcher-title" i18n-content="launcher-title"></h1>
     22   <div id="content">
     23     <span id="description" i18n-content="description"></span>
     24     <span id="launcher-description" i18n-content="launcher-description"></span>
     25     <textarea id="description-text" rows="10"></textarea>
     26     <div id="page-url" class="input-text-container checkbox">
     27       <label>
     28         <input id="page-url-checkbox" type="checkbox"
     29             value="pageurl" checked>
     30         <span id="page-url-label" i18n-content="page-url"></span>
     31       </label>
     32       <input id="page-url-text">
     33     </div>
     34     <!-- User e-mail -->
     35     <div id="user-email" class="input-text-container checkbox">
     36       <label>
     37         <input id="user-email-checkbox" type="checkbox">
     38         <span id="user-email-label" i18n-content="user-email"></span>
     39       </label>
     40       <input id="user-email-text">
     41     </div>
     42 <if expr="pp_ifdef('chromeos')">
     43     <!-- Attach a file -->
     44     <!-- Normal -->
     45     <div id="attach-file-container" class="input-text-container checkbox">
     46       <label>
     47         <input id="attach-file-checkbox" type="checkbox">
     48         <span i18n-content="attach-file-label"></span>
     49       </label>
     50       <input id="attach-file" type="file">
     51       <div id="attach-error" class="attach-file-notification"
     52           i18n-content="attach-file-to-big" hidden></div>
     53       <div id="reading-file" class="attach-file-notification"
     54           i18n-content="reading-file" hidden></div>
     55     </div>
     56     <!-- Custom -->
     57     <div id="attach-file-custom-container" class="input-text-container checkbox"
     58       hidden>
     59       <label>
     60         <input id="attach-file-custom-checkbox" type="checkbox" checked>
     61         <span i18n-content="attach-file-label"></span>
     62       </label>
     63       <span id="attach-file-custom-name" ></span>
     64     </div>
     65     <div id="attach-file-note" i18n-values=".innerHTML:attach-file-note"></div>
     66 
     67     <!-- System Information -->
     68     <div class="checkbox">
     69       <label>
     70         <input id="sys-info-checkbox" type="checkbox" checked>
     71         <span id="sysinfo-label">
     72           <a id="sysinfo-url" href="#" i18n-content="sysinfo"></a>
     73         </span>
     74       </label>
     75     </div>
     76 
     77     <!-- Performance Feedback -->
     78     <div class="checkbox" id="performance-info-area" hidden>
     79       <label>
     80         <input id="performance-info-checkbox" type="checkbox">
     81         <span id="performance-info-label" i18n-content="performance-trace">
     82         </span>
     83       </label>
     84     </div>
     85 </if>
     86     <!-- Screenshot -->
     87     <div id="screenshot-row" hidden>
     88       <div class="checkbox">
     89         <label>
     90           <input id="screenshot-checkbox" type="checkbox">
     91           <span id="screenshot-label-current"
     92               i18n-content="current-screenshot"></span>
     93 <if expr="pp_ifdef('chromeos')">
     94           <span id="screenshot-label-saved"
     95               i18n-content="saved-screenshot" hidden></span>
     96         </label>
     97         <a id="screenshot-link-tosaved" href="#"
     98             i18n-content="choose-different-screenshot" hidden>
     99         </a>
    100         <a id="screenshot-link-tocurrent" href="#"
    101             i18n-content="choose-original-screenshot" hidden>
    102         </a>
    103 </if>
    104       </div>
    105 <if expr="pp_ifdef('chromeos')">
    106       <div id="saved-screenshots" class="thumbnail-list" hidden></div>
    107 </if>
    108       <div id="current-screenshots" class="thumbnail-list"></div>
    109     </div>
    110     <div id="privacy-note" i18n-values=".innerHTML:privacy-note"></div>
    111     <!-- Buttons -->
    112     <div id="buttons-pane">
    113       <input id="send-report-button" type="submit"
    114           class="feedback-button" i18n-values="value:send-report">
    115       <input id="cancel-button" type="submit"
    116           class="feedback-button" i18n-values="value:cancel">
    117     </div>
    118   </div>
    119   <script src="chrome://resources/js/i18n_template2.js"></script>
    120 </body>
    121 </html>
    122