OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML> |
| 2 <html i18n-values="dir:textdirection"> |
| 3 <head> |
| 4 <meta charset="utf-8"> |
| 5 <title i18n-content="policyTitle"></title> |
| 6 <link rel="stylesheet" href="chrome://resources/css/button.css"> |
| 7 <link rel="stylesheet" href="policy.css"> |
| 8 <script src="chrome://policy/strings.js"></script> |
| 9 <script src="chrome://resources/js/cr.js"></script> |
| 10 <script src="chrome://resources/js/cr/ui.js"></script> |
| 11 <script src="chrome://resources/js/local_strings.js"></script> |
| 12 <script src="chrome://resources/js/i18n_template.js"></script> |
| 13 <script src="chrome://resources/js/i18n_process.js"></script> |
| 14 <script src="chrome://resources/js/jstemplate_compiled.js"></script> |
| 15 <script src="chrome://resources/js/util.js"></script> |
| 16 <script src="policy.js"></script> |
| 17 </head> |
| 18 <body i18n-values=".style.fontFamily:fontfamily;"> |
| 19 <div class="header"> |
| 20 <h1 id="about-policy-title" i18n-content="policyTitle"></h1> |
| 21 </div> |
| 22 <div id="main-content"> |
| 23 <section id="description-section"> |
| 24 <p i18n-content="aboutPolicyDescription"></p> |
| 25 </section> |
| 26 <section id="status-section"> |
| 27 <div id="status-separator"> |
| 28 <table class="separator-table"> |
| 29 <tbody> |
| 30 <tr> |
| 31 <td id="status-title" i18n-content="statusPaneTitle"></td> |
| 32 <td id="fetch-policies-button"> |
| 33 <button i18n-content="fetchPoliciesText"></button> |
| 34 </td> |
| 35 </tr> |
| 36 </tbody> |
| 37 </table> |
| 38 </div> |
| 39 <div id="status-pane"> |
| 40 <fieldset class="status-box"> |
| 41 <legend i18n-content="devicePoliciesBoxTitle"></legend> |
| 42 <ul> |
| 43 <li i18n-content="enrollmentDomainText"></li> |
| 44 <li i18n-content="lastFetchedText"></li> |
| 45 <li i18n-content="fetchIntervalText"></li> |
| 46 <li i18n-content="serverStatusText"></li> |
| 47 </ul> |
| 48 </fieldset> |
| 49 <fieldset class="status-box"> |
| 50 <legend i18n-content="userPoliciesBoxTitle"></legend> |
| 51 <ul> |
| 52 <li i18n-content="enrollmentDomainText"></li> |
| 53 <li i18n-content="lastFetchedText"></li> |
| 54 <li i18n-content="fetchIntervalText"></li> |
| 55 <li i18n-content="serverStatusText"></li> |
| 56 </ul> |
| 57 </fielset> |
| 58 </div> |
| 59 </section> |
| 60 <section id="policies-section"> |
| 61 <div id="policiesTemplate"> |
| 62 <div id="policies-separator"> |
| 63 <table class="separator-table"> |
| 64 <tbody> |
| 65 <tr> |
| 66 <td id="policies-title" i18n-content="policyTitle"></td> |
| 67 <td id="unsent-policies"> |
| 68 <input id="toggle-unsent-policies" type="checkbox"> |
| 69 <span i18n-content="showUnsentPoliciesText"></span> |
| 70 </td> |
| 71 <td id="search"> |
| 72 <input id="search-field" type="search" incremental |
| 73 placeholder="Filter policies by name"> |
| 74 </td> |
| 75 </tr> |
| 76 </tbody> |
| 77 </table> |
| 78 </div> |
| 79 |
| 80 <div> |
| 81 <div id="no-policies" jsdisplay="policies.length === 0"> |
| 82 <div i18n-content="noPoliciesSet">NO_POLICIES_RECEIVED</div> |
| 83 </div> |
| 84 |
| 85 <div jsdiplay="policies.length > 0"> |
| 86 <div id="policies"> |
| 87 <table id="policy-table"> |
| 88 <tr> |
| 89 <th i18n-content="appliesToTableHeader"></th> |
| 90 <th i18n-content="policyLevelTableHeader"></th> |
| 91 <th i18n-content="policyNameTableHeader"></th> |
| 92 <th i18n-content="policyValueTableHeader"></th> |
| 93 <th i18n-content="policyStatusTableHeader"></th> |
| 94 </tr> |
| 95 <tr jsselect="policies" jsvalues=".className:isPolicySet($this)? |
| 96 'policy-set' : 'policy-unset'; |
| 97 .style.display:shouldDisplayPolicy($this) ? |
| 98 'table-row' : 'none'"> |
| 99 <td> |
| 100 <span class="policy-type" jscontent="source_type"></span> |
| 101 </td> |
| 102 <td> |
| 103 <span class="policy-level" jscontent="level"></span> |
| 104 </td> |
| 105 <td> |
| 106 <span class="policy-name" jscontent="name"></span> |
| 107 </td> |
| 108 <td> |
| 109 <span class="policy-value" jscontent="value"></span> |
| 110 </td> |
| 111 <td> |
| 112 <span class="policy-status" jscontent="status"></span> |
| 113 </td> |
| 114 </tr> |
| 115 </table> |
| 116 </div> |
| 117 </div> |
| 118 </div> |
| 119 </div> |
| 120 </section> |
| 121 </div> |
| 122 </body> |
| 123 </html> |
OLD | NEW |