Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / resources / policy.html
blob5b8c4d317cc7c5c0634d4f0f131678cc7284989a
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="name-column">
103 <div class="name elide"></div>
104 </td>
105 <td class="value-column">
106 <div class="value-container">
107 <span class="value"></span>
108 <a is="action-link" class="toggle-expanded-value"></a>
109 </div>
110 </td>
111 <td class="status-column">
112 <div class="status elide"></div>
113 </td>
114 </tr>
115 <tr class="expanded-value-container">
116 <td class="expanded-value" colspan=5></td>
117 </tr>
118 </tbody>
119 </table>
120 </div>
121 </body>
123 <script src="chrome://policy/strings.js"></script>
124 <script src="chrome://resources/js/i18n_template.js"></script>
125 <script src="chrome://policy/policy.js"></script>
126 </html>