| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title i18n-content="titleText"></title> | 5 <title i18n-content="titleText"></title> |
| 6 <link rel="stylesheet" href="chrome://power/power.css"> | 6 <link rel="stylesheet" href="chrome://power/power.css"> |
| 7 <script src="chrome://resources/js/load_time_data.js"></script> | 7 <script src="chrome://resources/js/load_time_data.js"></script> |
| 8 <script src="chrome://resources/js/util.js"></script> | 8 <script src="chrome://resources/js/util.js"></script> |
| 9 <script src="chrome://power/strings.js"></script> | 9 <script src="chrome://power/strings.js"></script> |
| 10 <script src="chrome://power/power.js"></script> | 10 <script src="chrome://power/power.js"></script> |
| 11 </head> | 11 </head> |
| 12 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 12 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
| 13 <div id="main-layout"> | 13 <table id="main-table"> |
| 14 <div id="battery-charge-section"> | 14 <tr class="section-row"> |
| 15 <h3 i18n-content="batteryChargePercentageHeader"></h3> | 15 <td class="title-cell"> |
| 16 <div class="plot-canvas-div"> | 16 <p i18n-content="batteryChargeSectionTitle" class="title-text"></p> |
| 17 <canvas id="battery-charge-percentage-canvas" width="600" height="200"> | 17 </td> |
| 18 </canvas> | 18 <td class="show-button-cell"> |
| 19 </div> | 19 <button id="battery-charge-show-button" class="show-button" |
| 20 i18n-content="showButton"> |
| 21 </button> |
| 22 </td> |
| 23 <td id="battery-charge-cell" class="plots-cell"> |
| 24 <div id="battery-charge-section" class="section-div"> |
| 25 <div class="plots-div" id="battery-charge-plots-div"></div> |
| 26 <button id="battery-charge-reload-button" class="reload-button" |
| 27 i18n-content="reloadButton"> |
| 28 </button> |
| 29 </div> |
| 30 </td> |
| 31 </tr> |
| 20 | 32 |
| 21 <h3 i18n-content="batteryDischargeRateHeader"></h3> | 33 <tr class="section-row"> |
| 22 <p i18n-content="negativeDischargeRateInfo"></p> | 34 <td class="title-cell"> |
| 23 <div class="plot-canvas-div"> | 35 <p i18n-content="cpuIdleSectionTitle" class="title-text"></p> |
| 24 <canvas id="battery-discharge-rate-canvas" width="600" height="200"> | 36 </td> |
| 25 </canvas> | 37 <td class="show-button-cell"> |
| 26 </div> | 38 <button id="cpu-idle-show-button" class="show-button" |
| 39 i18n-content="showButton"> |
| 40 </button> |
| 41 </td> |
| 42 <td id="cpu-idle-cell" class="plots-cell"> |
| 43 <div id="cpu-idle-section" class="section-div"> |
| 44 <div class="plots-div" id="cpu-idle-plots-div"></div> |
| 45 <button id="cpu-idle-reload-button" class="reload-button" |
| 46 i18n-content="reloadButton"> |
| 47 </button> |
| 48 </div> |
| 49 </td> |
| 50 </tr> |
| 27 | 51 |
| 28 <button id="battery-charge-reload-button" class="reload-button" | 52 <tr class="section-row"> |
| 29 i18n-content="reloadButton"> | 53 <td class="title-cell"> |
| 30 </button> | 54 <p i18n-content="cpuFreqSectionTitle" class="title-text"></p> |
| 31 </div> | 55 </td> |
| 32 | 56 <td class="show-button-cell"> |
| 33 <hr class="section-boundary"> | 57 <button id="cpu-freq-show-button" class="show-button" |
| 34 </div> | 58 i18n-content="showButton"> |
| 59 </button> |
| 60 </td> |
| 61 <td id="cpu-freq-cell" class="plots-cell"> |
| 62 <div id="cpu-freq-section" class="section-div"> |
| 63 <div class="plots-div" id="cpu-freq-plots-div"></div> |
| 64 <button id="cpu-freq-reload-button" class="reload-button" |
| 65 i18n-content="reloadButton"> |
| 66 </button> |
| 67 </div> |
| 68 </td> |
| 69 </tr> |
| 70 </table> |
| 35 <script src="chrome://resources/js/i18n_template2.js"></script> | 71 <script src="chrome://resources/js/i18n_template2.js"></script> |
| 36 </body> | 72 </body> |
| 37 </html> | 73 </html> |
| OLD | NEW |