| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE HTML> | |
| 2 <html i18n-values="dir:textdirection;"> | |
| 3 <head> | |
| 4 <meta charset="utf-8"/> | |
| 5 <title i18n-content="page-title"></title> | |
| 6 <!-- We want to keep our style in sync with the options page. --> | |
| 7 <link rel="stylesheet" href="chrome://resources/css/button.css"> | |
| 8 <link rel="stylesheet" href="chrome://resources/css/checkbox.css"> | |
| 9 <link rel="stylesheet" href="chrome://resources/css/select.css"> | |
| 10 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css"> | |
| 11 <link rel="stylesheet" href="bug_report.css"> | |
| 12 | |
| 13 <script src="chrome://resources/js/local_strings.js"></script> | |
| 14 <script src="chrome://resources/js/util.js"></script> | |
| 15 <script src="chrome://bugreport/bug_report.js"></script> | |
| 16 <script src="chrome://bugreport/strings.js"></script> | |
| 17 </head> | |
| 18 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | |
| 19 <div id="main-content"> | |
| 20 <div id="navbar-container"> | |
| 21 <h1 id="navbar-content-title" i18n-content="page-title"> | |
| 22 </h1> | |
| 23 </div> | |
| 24 <div id="mainview" class> | |
| 25 <!-- Even though we really don't need these many nested DIV's, we're staying | |
| 26 as close to the settings page layout as possible, re-using all our styles | |
| 27 from options_page.css --> | |
| 28 <div id="mainview-content"> | |
| 29 <div id="page-container"> | |
| 30 <div id="feedback-page" class="page"> | |
| 31 <h1 i18n-content="title"></h1> | |
| 32 <table id="main-table"> | |
| 33 <!-- Issue type dropdown --> | |
| 34 <tbody> | |
| 35 <tr> | |
| 36 <th id="issue-with" class="bug-report-label" | |
| 37 i18n-content="issue-with"></th> | |
| 38 </tr> | |
| 39 <tr> | |
| 40 <td> | |
| 41 <select id="issue-with-combo" class="bug-report-text"> | |
| 42 </select> | |
| 43 </td> | |
| 44 </tr> | |
| 45 <!-- Description --> | |
| 46 <tr> | |
| 47 <th id="description" colspan="2" class="bug-report-label" | |
| 48 i18n-content="description"></th> | |
| 49 </tr> | |
| 50 <tr> | |
| 51 <td colspan="2"> | |
| 52 <textarea id="description-text" rows="10" | |
| 53 class="bug-report-text"></textarea> | |
| 54 </td> | |
| 55 </tr> | |
| 56 <tr> | |
| 57 <td> | |
| 58 <table style="-webkit-border-vertical-spacing: 0px;"> | |
| 59 <!-- Page URL --> | |
| 60 <tr> | |
| 61 <td> | |
| 62 <table class="bug-report-table"> | |
| 63 <tr> | |
| 64 <td class="bug-report-fieldlabel"> | |
| 65 <label> | |
| 66 <input id="page-url-checkbox" type="checkbox" | |
| 67 value="pageurl" checked> | |
| 68 <span id="page-url-label" | |
| 69 i18n-content="page-url"></span> | |
| 70 </label> | |
| 71 </td> | |
| 72 <td> | |
| 73 <input id="page-url-text" class="bug-report-field" | |
| 74 maxlength="200"> | |
| 75 </td> | |
| 76 </tr> | |
| 77 </table> | |
| 78 </td> | |
| 79 </tr> | |
| 80 <if expr="pp_ifdef('chromeos')"> | |
| 81 <!-- User e-mail --> | |
| 82 <tr> | |
| 83 <td> | |
| 84 <table id="user-email-table" class="bug-report-table"> | |
| 85 <tr> | |
| 86 <td class="bug-report-fieldlabel"> | |
| 87 <label> | |
| 88 <input id="user-email-checkbox" type="checkbox" | |
| 89 checked> | |
| 90 <span id="user-email-label" | |
| 91 i18n-content="user-email"></span> | |
| 92 </label> | |
| 93 </td> | |
| 94 <td> | |
| 95 <label id="user-email-text" | |
| 96 class="bug-report-field"></label> | |
| 97 </td> | |
| 98 </tr> | |
| 99 </table> | |
| 100 </td> | |
| 101 </tr> | |
| 102 <!-- System Information --> | |
| 103 <tr> | |
| 104 <td> | |
| 105 <table class="bug-report-table"> | |
| 106 <tr> | |
| 107 <td class="bug-report-fieldlabel"> | |
| 108 <label> | |
| 109 <input id="sys-info-checkbox" type="checkbox" | |
| 110 checked> | |
| 111 <span id="sysinfo-label"> | |
| 112 <a id="sysinfo-url" href="#" | |
| 113 i18n-content="sysinfo"></a> | |
| 114 </span> | |
| 115 </label> | |
| 116 </td> | |
| 117 </tr> | |
| 118 </table> | |
| 119 </td> | |
| 120 </tr> | |
| 121 </if> | |
| 122 <!-- Screenshot --> | |
| 123 <tr> | |
| 124 <td> | |
| 125 <table class="bug-report-table"> | |
| 126 <tr> | |
| 127 <td class="bug-report-fieldlabel"> | |
| 128 <label> | |
| 129 <input id="screenshot-checkbox" type="checkbox"> | |
| 130 <span id="screenshot-label-current" | |
| 131 i18n-content="current-screenshot"></span> | |
| 132 </label> | |
| 133 <if expr="pp_ifdef('chromeos')"> | |
| 134 <span id="screenshot-label-saved" | |
| 135 style="display: none;" | |
| 136 i18n-content="saved-screenshot"> | |
| 137 </span> | |
| 138 <a id="screenshot-link-tosaved" href="#" | |
| 139 i18n-content="choose-different-screenshot"> | |
| 140 </a> | |
| 141 <a id="screenshot-link-tocurrent" href="#" | |
| 142 style="display: none;" | |
| 143 i18n-content="choose-original-screenshot"> | |
| 144 </a> | |
| 145 </if> | |
| 146 </td> | |
| 147 </tr> | |
| 148 </table> | |
| 149 </td> | |
| 150 </tr> | |
| 151 <tr> | |
| 152 <td> | |
| 153 <if expr="pp_ifdef('chromeos')"> | |
| 154 <div id="saved-screenshots" style="display: none;" | |
| 155 class="thumbnail-list"></div> | |
| 156 </if> | |
| 157 <div id="current-screenshots" class="thumbnail-list"> | |
| 158 </div> | |
| 159 </td> | |
| 160 </tr> | |
| 161 </table> | |
| 162 </td> | |
| 163 </tr> | |
| 164 <tr> | |
| 165 <td> | |
| 166 <div id="buttons-pane"> | |
| 167 <!-- Buttons --> | |
| 168 <input id="send-report-button" type="submit" | |
| 169 class="bug-report-button" | |
| 170 i18n-values="value:send-report"> | |
| 171 <input id="cancel-button" type="submit" | |
| 172 class="bug-report-button" i18n-values="value:cancel"> | |
| 173 </div> | |
| 174 <div id="privacy-note" i18n-values=".innerHTML:privacy-note"> | |
| 175 </div> | |
| 176 </td> | |
| 177 </tr> | |
| 178 </tbody> | |
| 179 </table> | |
| 180 </div> | |
| 181 </div> | |
| 182 </div> | |
| 183 </div> | |
| 184 </div> | |
| 185 <script src="chrome://resources/js/i18n_template.js"></script> | |
| 186 <script src="chrome://resources/js/i18n_process.js"></script> | |
| 187 </body> | |
| 188 </html> | |
| OLD | NEW |