Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / policy.html
blobe8878d42d331e59e3d8eb257b91848cc607bc78b
1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <title i18n-content="title"></title>
8 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
9 <link rel="stylesheet" href="uber/uber_shared.css">
10 <link rel="stylesheet" href="chrome://policy/policy.css">
12 <script src="chrome://resources/js/action_link.js"></script>
13 <script src="chrome://resources/js/cr.js"></script>
14 <script src="chrome://resources/js/cr/ui.js"></script>
15 <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
16 <script src="chrome://resources/js/load_time_data.js"></script>
17 <script src="chrome://resources/js/util.js"></script>
18 <script src="chrome://policy/uber_utils.js"></script>
19 </head>
21 <body class="uber-frame">
22 <div id="filter-overlay" class="page">
23 <header>
24 <input id="filter" class="search-field-container" type="search"
25 i18n-values="placeholder:filterPlaceholder;
26 aria-label:filterPlaceholder" incremental>
27 </input>
28 </header>
29 </div>
30 <div class="page">
31 <header>
32 <h1 i18n-content="title"></h1>
33 </header>
34 <section class="reload-show-unset-section">
35 <div class="reload-policies-button">
36 <button id="reload-policies" i18n-content="reloadPolicies"></button>
37 </div>
38 <div id="show-unset-container" class="show-unset-checkbox">
39 <label>
40 <input id="show-unset" type="checkbox"></input>
41 <span i18n-content="showUnset"></span>
42 </label>
43 </div>
44 </section>
45 <section id="status-section" class="status-box-section" hidden>
46 <h3 i18n-content="status"></h3>
47 <div id="status-box-container"></div>
48 </section>
49 <section id="main-section" class="empty">
50 <!-- This is where policy tables get dynamically added. -->
51 </section>
52 </div>
53 <div hidden>
54 <fieldset id="status-box-template">
55 <legend class="legend"></legend>
56 <div class="status-entry" hidden>
57 <div class="label" i18n-content="labelDomain"></div>
58 <div class="domain"></div>
59 </div>
60 <div class="status-entry" hidden>
61 <div class="label" i18n-content="labelUsername"></div>
62 <div class="username"></div>
63 </div>
64 <div class="status-entry">
65 <div class="label" i18n-content="labelClientId"></div>
66 <div class="client-id"></div>
67 </div>
68 <div class="status-entry" hidden>
69 <div class="label" i18n-content="labelAssetId"></div>
70 <div class="asset-id"></div>
71 </div>
72 <div class="status-entry" hidden>
73 <div class="label" i18n-content="labelLocation"></div>
74 <div class="location"></div>
75 </div>
76 <div class="status-entry" hidden>
77 <div class="label" i18n-content="labelDirectoryApiId"></div>
78 <div class="directory-api-id"></div>
79 </div>
80 <div class="status-entry">
81 <div class="label" i18n-content="labelTimeSinceLastRefresh"></div>
82 <div class="time-since-last-refresh"></div>
83 </div>
84 <div class="status-entry">
85 <div class="label" i18n-content="labelRefreshInterval"></div>
86 <div class="refresh-interval"></div>
87 </div>
88 <div class="status-entry">
89 <div class="label" i18n-content="labelStatus"></div>
90 <div class="status"></div>
91 </div>
92 </fieldset>
93 <table>
94 <tbody id="policy-template">
95 <tr>
96 <td class="scope-column">
97 <div class="scope elide"></div>
98 </td>
99 <td class="level-column">
100 <div class="level elide"></div>
101 </td>
102 <td class="source-column">
103 <div class="source elide"></div>
104 </td>
105 <td class="name-column">
106 <div class="name elide"></div>
107 </td>
108 <td class="value-column">
109 <div class="value-container">
110 <span class="value"></span>
111 <a is="action-link" class="toggle-expanded-value"></a>
112 </div>
113 </td>
114 <td class="status-column">
115 <div class="status elide"></div>
116 </td>
117 </tr>
118 <tr class="expanded-value-container">
119 <td class="expanded-value" colspan=5></td>
120 </tr>
121 </tbody>
122 </table>
123 </div>
124 </body>
126 <script src="chrome://policy/strings.js"></script>
127 <script src="chrome://resources/js/i18n_template.js"></script>
128 <script src="chrome://policy/policy.js"></script>
129 </html>