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