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 class="separator"> |
| 28 <span id="status-title" i18n-content="statusPaneTitle"></span> |
| 29 <div id="fetch-policies"> |
| 30 <button id="fetch-policies-button" i18n-content="fetchPoliciesText"> |
| 31 </button> |
| 32 </div> |
| 33 </div> |
| 34 <div id="status-pane"> |
| 35 <fieldset class="status-box"> |
| 36 <legend i18n-content="devicePoliciesBoxTitle"></legend> |
| 37 <ul> |
| 38 <li i18n-content="enrollmentDomainText"></li> |
| 39 <li i18n-content="lastFetchedText"></li> |
| 40 <li i18n-content="fetchIntervalText"></li> |
| 41 <li i18n-content="serverStatusText"></li> |
| 42 </ul> |
| 43 </fieldset> |
| 44 <fieldset class="status-box"> |
| 45 <legend i18n-content="userPoliciesBoxTitle"></legend> |
| 46 <ul> |
| 47 <li i18n-content="enrollmentDomainText"></li> |
| 48 <li i18n-content="lastFetchedText"></li> |
| 49 <li i18n-content="fetchIntervalText"></li> |
| 50 <li i18n-content="serverStatusText"></li> |
| 51 </ul> |
| 52 </fielset> |
| 53 </div> |
| 54 </section> |
| 55 <section id="policies-section"> |
| 56 <div id="policiesTemplate"> |
| 57 <div class="separator"> |
| 58 <span id="policies-title" i18n-content="policyTitle"></span> |
| 59 <div id="unsent-policies-control"> |
| 60 <div id="checkbox-and-label"> |
| 61 <input id="toggle-unsent-policies" type="checkbox"> |
| 62 <label for="toggle-unsent-policies" |
| 63 i18n-content="showUnsentPoliciesText"></label> |
| 64 </div> |
| 65 </div> |
| 66 <div id="search"> |
| 67 <input id="search-field" type="search" incremental |
| 68 placeholder="Filter policies by name"> |
| 69 </div> |
| 70 </div> |
| 71 <div> |
| 72 <div id="no-policies" jsdisplay="!anyPoliciesSet"> |
| 73 <div id="no-policies-text" i18n-content="noPoliciesSet"></div> |
| 74 </div> |
| 75 <div id="policies" |
| 76 jsvalues=".style.visibility: anyPoliciesSet ? 'visible': 'hidden'"
> |
| 77 <table id="policy-table"> |
| 78 <tr> |
| 79 <th i18n-content="appliesToTableHeader"></th> |
| 80 <th i18n-content="policyLevelTableHeader"></th> |
| 81 <th i18n-content="policyNameTableHeader"></th> |
| 82 <th i18n-content="policyValueTableHeader"></th> |
| 83 <th i18n-content="policyStatusTableHeader"></th> |
| 84 </tr> |
| 85 <tr jsselect="policies" |
| 86 jsvalues=".className: Policy.isPolicySet($this)? |
| 87 'policy-set': 'policy-unset'; |
| 88 .style.display: Policy.shouldDisplayPolicy($this) ? |
| 89 'table-row': 'none'"> |
| 90 <td> |
| 91 <span class="policy-type" jscontent="sourceType"></span> |
| 92 </td> |
| 93 <td> |
| 94 <span class="policy-level" jscontent="level"></span> |
| 95 </td> |
| 96 <td> |
| 97 <span class="policy-name" jscontent="name"></span> |
| 98 </td> |
| 99 <td> |
| 100 <span class="policy-value" jscontent="value"></span> |
| 101 </td> |
| 102 <td> |
| 103 <span class="policy-status" jscontent="status"></span> |
| 104 </td> |
| 105 </tr> |
| 106 </table> |
| 107 </div> |
| 108 </div> |
| 109 </div> |
| 110 </section> |
| 111 </div> |
| 112 </body> |
| 113 </html> |
OLD | NEW |