| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html lang="en" dir="ltr"> | 2 <html lang="en" dir="ltr"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title>Offline Internals</title> | 5 <title>Offline Internals</title> |
| 6 <meta name="viewport" content="width=device-width"> | 6 <meta name="viewport" content="width=device-width"> |
| 7 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> | 7 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
| 8 <link rel="stylesheet" href="offline_internals.css"> | 8 <link rel="stylesheet" href="offline_internals.css"> |
| 9 | 9 |
| 10 <link rel="import" href="chrome://resources/html/cr.html"> | 10 <link rel="import" href="chrome://resources/html/cr.html"> |
| 11 <script src="chrome://resources/js/load_time_data.js"></script> | 11 <script src="chrome://resources/js/load_time_data.js"></script> |
| 12 <script src="chrome://resources/js/util.js"></script> | 12 <script src="chrome://resources/js/util.js"></script> |
| 13 <script src="strings.js"></script> | 13 <script src="strings.js"></script> |
| 14 <script src="offline_internals_browser_proxy.js"></script> | 14 <script src="offline_internals_browser_proxy.js"></script> |
| 15 <script src="offline_internals.js"></script> | 15 <script src="offline_internals.js"></script> |
| 16 </head> | 16 </head> |
| 17 <body> | 17 <body> |
| 18 <h1>Offline Internals</h1> | 18 <h1>Offline Internals</h1> |
| 19 <div> | 19 <div> |
| 20 <div id="current-status"></div> | 20 <div id="current-status"></div> |
| 21 <button id="refresh">Refresh page</button> | 21 <button id="refresh">Refresh page</button> |
| 22 <button id="download">Dump</button> | 22 <button id="download">Dump</button> |
| 23 </div> | 23 </div> |
| 24 | 24 |
| 25 <h2>Event Logs</h2> |
| 26 <div> |
| 27 <button id="refresh-logs">Refresh Logs</button> |
| 28 <div> |
| 29 Page Model Log: |
| 30 <button id="log-model-on">Enable</button> |
| 31 <button id="log-model-off">Disable</button> |
| 32 </div> |
| 33 <div> |
| 34 Request Queue Log: |
| 35 <button id="log-request-on">Enable</button> |
| 36 <button id="log-request-off">Disable</button> |
| 37 </div> |
| 38 <ul id="logs"></ul> |
| 39 </div> |
| 40 |
| 25 <h2>Stored Pages</h2> | 41 <h2>Stored Pages</h2> |
| 26 <div> | 42 <div> |
| 27 <button id="clear-all">Clear all</button> | 43 <button id="clear-all">Clear all</button> |
| 28 <button id="clear-selected">Clear selected</button> | 44 <button id="clear-selected">Clear selected</button> |
| 29 </div> | 45 </div> |
| 30 <table class="stored-pages-table"> | 46 <table class="stored-pages-table"> |
| 31 <thead> | 47 <thead> |
| 32 <tr> | 48 <tr> |
| 33 <th> </th> | 49 <th> </th> |
| 34 <th>URL</th> | 50 <th>URL</th> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 46 <tr> | 62 <tr> |
| 47 <th>URL</th> | 63 <th>URL</th> |
| 48 <th>Created Timestamp</th> | 64 <th>Created Timestamp</th> |
| 49 <th>Status</th> | 65 <th>Status</th> |
| 50 </tr> | 66 </tr> |
| 51 </thead> | 67 </thead> |
| 52 <tbody id="request-queue"> </tbody> | 68 <tbody id="request-queue"> </tbody> |
| 53 </table> | 69 </table> |
| 54 </body> | 70 </body> |
| 55 </html> | 71 </html> |
| OLD | NEW |