| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2015 The Chromium Authors. All rights reserved. | 2 Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <!DOCTYPE html> | 6 <!DOCTYPE html> |
| 7 <html> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
| 10 <title>Supervised User Internals</title> | 10 <title>Supervised User Internals</title> |
| 11 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> | 11 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
| 12 <link rel="stylesheet" href="chrome://resources/css/list.css"> | 12 <link rel="stylesheet" href="chrome://resources/css/list.css"> |
| 13 <link rel="stylesheet" href="supervised_user_internals.css"> | 13 <link rel="stylesheet" href="supervised_user_internals.css"> |
| 14 <script src="chrome://resources/js/cr.js"></script> | 14 <script src="chrome://resources/js/cr.js"></script> |
| 15 <script src="chrome://resources/js/load_time_data.js"></script> | 15 <script src="chrome://resources/js/load_time_data.js"></script> |
| 16 <script src="chrome://resources/js/util.js"></script> | 16 <script src="chrome://resources/js/util.js"></script> |
| 17 </head> | 17 </head> |
| 18 | 18 |
| 19 <body> | 19 <body> |
| 20 <div id='info'> | 20 <div id='info'> |
| 21 <div class="section" jsselect="sections"> | 21 <div id='basic-info' class="section" jsselect="sections"> |
| 22 <h2 jscontent="title"></h2> | 22 <h2 jscontent="title"></h2> |
| 23 <table class="section-details"> | 23 <table class="section-details"> |
| 24 <tr jsselect="data" | 24 <tr jsselect="data" |
| 25 jsvalues="class:$this.is_valid ? '' : 'uninitialized'" | 25 jsvalues="class:$this.is_valid ? '' : 'uninitialized'" |
| 26 jseval='chrome.supervised_user_internals.highlightIfChanged( | 26 jseval='chrome.supervised_user_internals.highlightIfChanged( |
| 27 this, this.children[1].innerText, stat_value)'> | 27 this, this.children[1].innerText, stat_value)'> |
| 28 <td class="detail" jscontent="stat_name" width=50%></td> | 28 <td class="detail" jscontent="stat_name" width=50%></td> |
| 29 <td class="value" jscontent="stat_value" width=50%></td> | 29 <td class="value" jscontent="stat_value" width=50%></td> |
| 30 </tr> | 30 </tr> |
| 31 </table> | 31 </table> |
| 32 </div> | 32 </div> |
| 33 | 33 |
| 34 <div class="section" jsskip="true"> | 34 <div class="section" jsskip="true"> |
| 35 <h2>Try a URL</h2> | 35 <h2>Try a URL</h2> |
| 36 <form id="try-url"> | 36 <form id="try-url"> |
| 37 <input id="try-url-input" type="text"> | 37 <input id="try-url-input" type="text"> |
| 38 </form> | 38 </form> |
| 39 <table class="section-details"> | 39 <table class="section-details"> |
| 40 <tr> | 40 <tr> |
| 41 <td class="detail">Result</td> | 41 <td class="detail">Result</td> |
| 42 <td id="try-url-result" class="value"></td> | 42 <td id="try-url-result" class="value"></td> |
| 43 </tr> | 43 </tr> |
| 44 </table> | 44 </table> |
| 45 </div> | 45 </div> |
| 46 | 46 |
| 47 <div id='user-settings' class="section"> |
| 48 <h2>Supervised User Settings</h2> |
| 49 <table class="section-details"> |
| 50 <tr jsselect="settings"> |
| 51 <td jscontent="key"></td> |
| 52 <td><pre jscontent="value"></pre></td> |
| 53 </tr> |
| 54 </table> |
| 55 </div> |
| 56 |
| 47 <div class="section" id="filtering-results-container-wrapper" jsskip="true"> | 57 <div class="section" id="filtering-results-container-wrapper" jsskip="true"> |
| 48 <h2>Filtering Results</h2> | 58 <h2>Filtering Results</h2> |
| 49 <div id="filtering-results-container"> | 59 <div id="filtering-results-container"> |
| 50 <div class="filtering-results-entry" jsselect="results"> | 60 <div class="filtering-results-entry" jsselect="results"> |
| 51 <div class="url" jscontent="url"></div> | 61 <div class="url" jscontent="url"></div> |
| 52 <span class="result" jscontent="result"></span> | 62 <span class="result" jscontent="result"></span> |
| 53 <span class="reason" jscontent="reason"></span> | 63 <span class="reason" jscontent="reason"></span> |
| 54 </div> | 64 </div> |
| 55 </div> | 65 </div> |
| 56 </div> | 66 </div> |
| 57 </div> | 67 </div> |
| 58 | 68 |
| 59 <script src="chrome://resources/js/jstemplate_compiled.js"></script> | 69 <script src="chrome://resources/js/jstemplate_compiled.js"></script> |
| 60 <script src="supervised_user_internals.js"></script> | 70 <script src="supervised_user_internals.js"></script> |
| 61 </body> | 71 </body> |
| 62 </html> | 72 </html> |
| OLD | NEW |